Skip to content

Commit

Permalink
Drop support for Django < 4.2, python < 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
protoroto committed Jan 15, 2025
1 parent 3cbf2bb commit d272951
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion changes/64.bugfix
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Fix docs build
Fix docs build, drop support for Django < 4.2 and python < 3.10
7 changes: 1 addition & 6 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down
5 changes: 1 addition & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit d272951

Please sign in to comment.