Skip to content

Updated Python/Django minimal versions #516

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 14, 2025
Merged
Show file tree
Hide file tree
Changes from all 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
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ jobs:
strategy:
matrix:
python-version:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
Expand Down
20 changes: 0 additions & 20 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,23 +55,3 @@ deprecation warnings appear and can be addressed. See changelog for details.
**2018-08-24 - 2.1**: Django 1.11 - 2.1

**2017-12-30 - 2.0**: Django 1.11 - 2.0

All deprecated code has been removed in this release. See changelog for details.

**2017-11-22 - 1.6**: Django 1.8 - 1.11

All deprecated code will be removed in the next release. Please run your project's tests using `python -Wd` so that
deprecation warnings appear and can be addressed.

**2017-05-26 - 1.5**: Django 1.8 - 1.11

**2017-01-03 - 1.4**: Django 1.8 - 1.10

**2016-05-06 - 1.3**: Django 1.7 - 1.9

**2015-11-27 - 1.2**: Django 1.5 - 1.9

**2014-12-10 - 1.1**: Django 1.5 - 1.7

**2013-07-29 - 1.0**: Django 1.5 - 1.6

8 changes: 4 additions & 4 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ Modifications to existing flavors:

Other changes:

- Dropped support for Python 3.6 and 3.7.
- Dropped support for Django 4.0.
- Added support for Python 3.12.
- Added support for Django 5.0.
- Dropped support for Python < 3.9.
- Dropped support for Django < 4.2.
- Added support for Python 3.12 and 3.13.
- Added support for Django 5.0, 5.1, and 5.2.


4.0 (2023-04-22)
Expand Down
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,27 +119,27 @@ def find_package_data(where='.', package='',
packages=find_packages(exclude=['tests', 'tests.*']),
package_data=find_package_data(),
install_requires=[
'django>=3.2',
'django>=4.2',
'python-stdnum>=1.6',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'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',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'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',
'Topic :: Internet :: WWW/HTTP',
],
zip_safe=False,
Expand Down
18 changes: 7 additions & 11 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,30 @@
args_are_paths = false
envlist =
docs,prospector
{py38,py39,py310,pypy39}-django-3.2
{py38,py39,py310,py311,pypy39}-django-4.1
{py38,py39,py310,py311,pypy39}-django-4.2
{py310,py311,py312}-django-5.0
{py310,py311,py312,py313}-django-5.1
{py310,py311,py312,py313}-django-main
{py39,py312}-django-4.2
{py310,py312}-django-5.0
{py310,py313}-django-5.1
{py310,py313}-django-5.2
{py312,py313}-django-main

[testenv]
basepython =
py38: python3.8
py39: python3.9
py310: python3.10
py311: python3.11
py312: python3.12
py313: python3.13
pypy39: pypy3.9
usedevelop = true
pip_pre = true
commands =
python --version
python -m pip show Django
invoke test {posargs}
deps =
django-3.2: Django>=3.2,<3.3
django-4.1: Django>=4.1,<4.2
django-4.2: Django>=4.2,<4.3
django-4.2: Django>=4.2,<5.0
django-5.0: Django>=5.0,<5.1
django-5.1: Django>=5.1,<5.2
django-5.2: Django>=5.2,<6.0
django-main: https://github.com/django/django/archive/main.tar.gz
-r{toxinidir}/tests/requirements.txt

Expand Down