mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-05-24 17:53:43 +00:00
Add support for Python 3.14; drop support for Python 3.8 and 3.9
This commit is contained in:
parent
f0bd0cb9a0
commit
3594bb9e7f
4 changed files with 11 additions and 10 deletions
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
|
@ -16,16 +16,16 @@ jobs:
|
||||||
max-parallel: 5
|
max-parallel: 5
|
||||||
matrix:
|
matrix:
|
||||||
python-version: [
|
python-version: [
|
||||||
'3.9',
|
|
||||||
'3.10',
|
'3.10',
|
||||||
'3.11',
|
'3.11',
|
||||||
'3.12',
|
'3.12',
|
||||||
'3.13',
|
'3.13',
|
||||||
|
'3.14',
|
||||||
]
|
]
|
||||||
|
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:14-alpine
|
image: postgres:15-alpine
|
||||||
env:
|
env:
|
||||||
POSTGRES_USER: ${{ env.POSTGRES_USER }}
|
POSTGRES_USER: ${{ env.POSTGRES_USER }}
|
||||||
POSTGRES_PASSWORD: ${{ env.POSTGRES_PASSWORD }}
|
POSTGRES_PASSWORD: ${{ env.POSTGRES_PASSWORD }}
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,10 @@ Changelog
|
||||||
To be released
|
To be released
|
||||||
------------------
|
------------------
|
||||||
- Add support for `Python 3.13` (GH-#628)
|
- Add support for `Python 3.13` (GH-#628)
|
||||||
|
- Add support for `Python 3.14`
|
||||||
- Add formal support for `Django 5.2` (GH-#641)
|
- Add formal support for `Django 5.2` (GH-#641)
|
||||||
- Drop support for older versions than `Django 4.2`
|
- 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)
|
5.0.0 (2024-09-01)
|
||||||
------------------
|
------------------
|
||||||
|
|
|
||||||
6
setup.py
6
setup.py
|
|
@ -29,8 +29,8 @@ setup(
|
||||||
maintainer='JazzBand',
|
maintainer='JazzBand',
|
||||||
url='https://github.com/jazzband/django-model-utils',
|
url='https://github.com/jazzband/django-model-utils',
|
||||||
packages=find_packages(exclude=['tests*']),
|
packages=find_packages(exclude=['tests*']),
|
||||||
python_requires=">=3.9",
|
python_requires=">=3.10",
|
||||||
install_requires=['Django>=3.2'],
|
install_requires=['Django>=4.2'],
|
||||||
classifiers=[
|
classifiers=[
|
||||||
'Development Status :: 5 - Production/Stable',
|
'Development Status :: 5 - Production/Stable',
|
||||||
'Environment :: Web Environment',
|
'Environment :: Web Environment',
|
||||||
|
|
@ -39,11 +39,11 @@ setup(
|
||||||
'Operating System :: OS Independent',
|
'Operating System :: OS Independent',
|
||||||
'Programming Language :: Python',
|
'Programming Language :: Python',
|
||||||
'Programming Language :: Python :: 3',
|
'Programming Language :: Python :: 3',
|
||||||
'Programming Language :: Python :: 3.9',
|
|
||||||
'Programming Language :: Python :: 3.10',
|
'Programming Language :: Python :: 3.10',
|
||||||
'Programming Language :: Python :: 3.11',
|
'Programming Language :: Python :: 3.11',
|
||||||
'Programming Language :: Python :: 3.12',
|
'Programming Language :: Python :: 3.12',
|
||||||
'Programming Language :: Python :: 3.13',
|
'Programming Language :: Python :: 3.13',
|
||||||
|
'Programming Language :: Python :: 3.14',
|
||||||
'Framework :: Django',
|
'Framework :: Django',
|
||||||
'Framework :: Django :: 4.2',
|
'Framework :: Django :: 4.2',
|
||||||
'Framework :: Django :: 5.0',
|
'Framework :: Django :: 5.0',
|
||||||
|
|
|
||||||
8
tox.ini
8
tox.ini
|
|
@ -1,21 +1,21 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist =
|
envlist =
|
||||||
py{38,39,310,311}-dj{42}
|
py{38,39,310,311}-dj{42}
|
||||||
py{310,311,312}-dj{50}
|
py{310,311,312}-dj{50,51}
|
||||||
py{310,311,312}-dj{51}
|
|
||||||
py{310,311,312,313}-dj{51,52}
|
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
|
flake8
|
||||||
isort
|
isort
|
||||||
mypy
|
mypy
|
||||||
|
|
||||||
[gh-actions]
|
[gh-actions]
|
||||||
python =
|
python =
|
||||||
3.9: py39
|
|
||||||
3.10: py310, flake8, isort, mypy
|
3.10: py310, flake8, isort, mypy
|
||||||
3.11: py311
|
3.11: py311
|
||||||
3.12: py312
|
3.12: py312
|
||||||
3.13: py313
|
3.13: py313
|
||||||
|
3.14: py314
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
deps =
|
deps =
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue