diff --git a/.builds/py312-alpine.yml b/.builds/py312+live-alpine.yml similarity index 100% rename from .builds/py312-alpine.yml rename to .builds/py312+live-alpine.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ce98f54..575c468 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -29,39 +29,12 @@ jobs: matrix: # 3.11 is tested via /.builds/alpine-py311.yml # TODO: move these oldest pythons to sr.ht job in docker - python: ["3.9", "3.10"] - name: postgres, python${{ matrix.python }} + name: postgres, python3.10 steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: ${{ matrix.python }} + python-version: "3.10" - run: pip install tox - run: sudo apt-get update && sudo apt-get install libpq-dev - run: tox -e py-postgres - mysql: - runs-on: ubuntu-latest - services: - mysql: - image: mariadb - env: - MARIADB_PASSWORD: mysql - MARIADB_ROOT_PASSWORD: mysql - options: >- - --health-cmd="healthcheck.sh --connect --innodb_initialized" - --health-interval=5s - --health-timeout=2s - --health-retries=3 - ports: - - 3306:3306 - strategy: - fail-fast: false - name: mysql - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 - with: - python-version: 3.9 - - run: pip install tox - - run: sudo apt-get update && sudo apt-get install libmysqlclient-dev - - run: tox -e py-mysql diff --git a/.readthedocs.yaml b/.readthedocs.yaml index f7c15d2..964652a 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -6,7 +6,7 @@ sphinx: build: os: "ubuntu-22.04" tools: - python: "3.9" + python: "3.10" python: install: diff --git a/docs/changelog.rst b/docs/changelog.rst index f05c553..045d811 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -13,13 +13,14 @@ Check the `latest tags`_ or `PyPI`_ for the latest stable release. Any breaking changes which require intervention will be mentioned here. -13.3.0 +14.0.0 ------ - ``setuptools>=77`` is required. Previous versions would often fail to properly parse the ``licence`` field. - Extend supported versions of ``django-renderpdf``, ``qrcode`` and ``cryptography``. +- Drop support for Python 3.9. 13.2.2 ------ diff --git a/docs/index.rst b/docs/index.rst index c2c61b4..0dbc185 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -62,7 +62,7 @@ Requisito Actualmente **django-afip** funciona con: * Django 3.0, 3.1 y 3.1 -* Python 3.9, 3.10, 3.11, 3.12 and 3.13 +* Python 3.10, 3.11, 3.12 and 3.13 * Posgres, Sqlite, MySql/MariaDB Te recomendamos usar Postgres. diff --git a/pyproject.toml b/pyproject.toml index af43376..e7d4b10 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ authors = [ ] description = "AFIP integration for django" readme = "README.rst" -requires-python = ">=3.9" +requires-python = ">=3.10" keywords = ["argentina", "afip", "wsdl"] license = "ISC" license-files = ["LICENCE"] @@ -20,7 +20,6 @@ classifiers = [ "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", @@ -32,7 +31,7 @@ classifiers = [ dependencies = [ "cryptography>=3.2,<47", "django>=4.2,<5.3", - "django_renderpdf>=3.0.0,<6.0.0", + "django_renderpdf>=6.0.0,<7.0.0", "lxml>=3.4.4", "pyopenssl>=16.2.0", "setuptools-git>=1.1", diff --git a/tox.ini b/tox.ini index b41f83b..92db000 100644 --- a/tox.ini +++ b/tox.ini @@ -67,5 +67,5 @@ skip_install = true [testenv:vermin] deps = vermin commands = - vermin -t=3.9- --backport zoneinfo --violations . + vermin -t=3.10- --backport zoneinfo --violations . skip_install = true