Add support for Python 3.14; drop support for Python 3.8 and 3.9

This commit is contained in:
Benedikt Willi 2025-12-15 14:46:04 +00:00
parent f0bd0cb9a0
commit 3594bb9e7f
4 changed files with 11 additions and 10 deletions

View file

@ -16,16 +16,16 @@ jobs:
max-parallel: 5
matrix:
python-version: [
'3.9',
'3.10',
'3.11',
'3.12',
'3.13',
'3.14',
]
services:
postgres:
image: postgres:14-alpine
image: postgres:15-alpine
env:
POSTGRES_USER: ${{ env.POSTGRES_USER }}
POSTGRES_PASSWORD: ${{ env.POSTGRES_PASSWORD }}

View file

@ -4,9 +4,10 @@ Changelog
To be released
------------------
- Add support for `Python 3.13` (GH-#628)
- Add support for `Python 3.14`
- Add formal support for `Django 5.2` (GH-#641)
- Drop support for older versions than `Django 4.2`
- Drop support for `Python 3.8`
- Drop support for `Python 3.8` and `Python 3.9`
5.0.0 (2024-09-01)
------------------

View file

@ -29,8 +29,8 @@ setup(
maintainer='JazzBand',
url='https://github.com/jazzband/django-model-utils',
packages=find_packages(exclude=['tests*']),
python_requires=">=3.9",
install_requires=['Django>=3.2'],
python_requires=">=3.10",
install_requires=['Django>=4.2'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
@ -39,11 +39,11 @@ setup(
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'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 :: 3.14',
'Framework :: Django',
'Framework :: Django :: 4.2',
'Framework :: Django :: 5.0',

View file

@ -1,21 +1,21 @@
[tox]
envlist =
py{38,39,310,311}-dj{42}
py{310,311,312}-dj{50}
py{310,311,312}-dj{51}
py{310,311,312}-dj{50,51}
py{310,311,312,313}-dj{51,52}
py{310,311,312,313}-dj{main}
py{314}-dj{52}
py{312,313,314}-dj{main}
flake8
isort
mypy
[gh-actions]
python =
3.9: py39
3.10: py310, flake8, isort, mypy
3.11: py311
3.12: py312
3.13: py313
3.14: py314
[testenv]
deps =