Skip to content
Closed
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,9 @@ jobs:
strategy:
fail-fast: false
matrix: # https://docs.djangoproject.com/en/stable/faq/install/#what-python-version-can-i-use-with-django
django-version: ["3.2", "4.2", "5.0", "5.1", "5.2rc1"]
django-version: ["4.2", "5.0", "5.1", "5.2rc1"]
Copy link
Contributor

@cclauss cclauss Mar 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@auvipy Are you OK with dropping Python 3.8 and Django v3.2 support?

Would this fail if we had "5.2" instead of "5.2rc1"?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the moment yes.

python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', 'pypy-3.10']
exclude:
- django-version: "3.2"
python-version: "3.11"
- django-version: "3.2"
python-version: "3.12"
- django-version: "3.2"
python-version: "3.13"
- django-version: "4.2"
python-version: "3.13"
- django-version: "5.0"
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2
build:
os: ubuntu-20.04
tools:
python: "3.8"
python: "3.12"
sphinx:
configuration: docs/conf.py
python:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.ruff]
target-version = "py38"
target-version = "py39"

lint.select = [
"A", # flake8-builtins
Expand Down
7 changes: 3 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,18 @@
License :: OSI Approved :: BSD License
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3.13
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
Framework :: Django
Framework :: Django :: 3.2
Framework :: Django :: 4.1
Framework :: Django :: 4.2
Framework :: Django :: 5.0
Framework :: Django :: 5.1
Framework :: Django :: 5.2
Operating System :: OS Independent
Topic :: Communications
Topic :: System :: Distributed Computing
Expand Down Expand Up @@ -116,7 +115,7 @@ def reqs(*f):
url=meta['homepage'],
platforms=['any'],
license='BSD',
python_requires='>=3.8',
python_requires='>=3.9',
install_requires=reqs('default.txt') + reqs('runtime.txt'),
classifiers=classifiers,
entry_points={
Expand Down
27 changes: 13 additions & 14 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,28 @@

[gh-actions]
python =
3.8: py38, apicheck, linkcheck
3.9: py39, flake8, pydocstyle, cov
3.9: py39, flake8, pydocstyle, cov, apicheck, linkcheck
3.10: py310
3.11: py311
3.12: py312
3.13: py313
pypy-3.10: pypy3

[gh-actions:env]
DJANGO =
3.2: django32
4.1: django41
4.2: django42
5.0: django50
5.1: django51
5.2rc1: django52

[tox]
envlist =
py38-django{32,42}
py39-django{32,42}
py310-django{32,42,50,51}
py311-django{42,50,51}
py312-django{42,50,51}
pypy3-django{32,42,50,51}
py39-django{42}
py310-django{42,50,51,52}
py311-django{42,50,51,52}
py312-django{42,50,51,52}
py313-django{51,52}
pypy3-django{42,50,51,52}
flake8
apicheck
linkcheck
Expand All @@ -39,11 +38,11 @@ deps=

cov: -r{toxinidir}/requirements/test-django.txt

django32: Django ~= 3.2
django41: Django ~= 4.1
django42: Django ~= 4.2
django50: Django ~= 5.0
django51: Django ~= 5.1rc1
django51: Django ~= 5.1
django52: Django ~= 5.2rc1

linkcheck,apicheck: -r{toxinidir}/requirements/docs.txt
flake8,pydocstyle: -r{toxinidir}/requirements/pkgutils.txt
Expand All @@ -55,12 +54,12 @@ commands =


[testenv:apicheck]
basepython = python3.8
basepython = python3.9
commands =
sphinx-build -W -b apicheck -d {envtmpdir}/doctrees docs docs/_build/apicheck

[testenv:linkcheck]
basepython = python3.8
basepython = python3.9
commands =
sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees docs docs/_build/linkcheck

Expand Down