From d2729510322f098313a6bd79042e9963c0a5cb2a Mon Sep 17 00:00:00 2001 From: Leonardo Cavallucci Date: Wed, 15 Jan 2025 10:59:27 +0100 Subject: [PATCH] Drop support for Django < 4.2, python < 3.10 --- .github/workflows/test.yml | 4 ++-- changes/64.bugfix | 2 +- setup.cfg | 7 +------ tox.ini | 5 +---- 4 files changed, 5 insertions(+), 13 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2564b30..e53563f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,8 +8,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.11", "3.10", "3.9"] - django: [42, 41, 32] + python-version: ["3.11", "3.10"] + django: [42] steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} diff --git a/changes/64.bugfix b/changes/64.bugfix index d545ebe..7d45448 100644 --- a/changes/64.bugfix +++ b/changes/64.bugfix @@ -1 +1 @@ -Fix docs build +Fix docs build, drop support for Django < 4.2 and python < 3.10 diff --git a/setup.cfg b/setup.cfg index 7708aaa..b2d7a5f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -17,13 +17,8 @@ classifiers = Intended Audience :: Developers Natural Language :: English Framework :: Django - Framework :: Django :: 3.2 - Framework :: Django :: 4.0 - Framework :: Django :: 4.1 Framework :: Django :: 4.2 Programming Language :: Python :: 3 - Programming Language :: Python :: 3.8 - Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 @@ -35,7 +30,7 @@ install_requires = setup_requires = setuptools packages = app_enabler -python_requires = >=3.8 +python_requires = >=3.10 test_suite = pytest zip_safe = False diff --git a/tox.ini b/tox.ini index f50d2aa..596e77a 100644 --- a/tox.ini +++ b/tox.ini @@ -8,16 +8,13 @@ envlist = ruff pypi-description towncrier - py{311,310,39}-django{42,41,40,32} + py{311,310}-django{42} [testenv] alwayscopy = True commands = {env:COMMAND:python} -mpytest {posargs} {env:PYTEST_ARGS:""} deps = - django32: Django~=3.2.0 - django40: Django~=4.0.0 - django41: Django~=4.1.0 django42: Django~=4.2.0 -r{toxinidir}/requirements-test.txt passenv =