Skip to content

Commit ce03fb8

Browse files
committed
Update supported Python and Django versions
Following #388, do another round of updates. Python 3.9 is EOL, while Python 3.14 is out and Django 6.0 is in beta.
1 parent 7e909b0 commit ce03fb8

File tree

4 files changed

+17
-13
lines changed

4 files changed

+17
-13
lines changed

.github/workflows/python-app.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,32 +20,32 @@ jobs:
2020
- '5.0'
2121
- '5.1'
2222
- '5.2'
23+
- '6.0'
2324
python_version:
24-
- '3.9'
2525
- '3.10'
2626
- '3.11'
2727
- '3.12'
2828
- '3.13'
29+
- '3.14'
2930
database: [ 'postgres' ]
3031
exclude:
3132
- django_version: '4.2'
3233
python_version: '3.13'
3334

34-
- django_version: '5.0'
35-
python_version: '3.9'
35+
- django_version: '4.2'
36+
python_version: '3.14'
3637

3738
- django_version: '5.0'
3839
python_version: '3.13'
3940

40-
- django_version: '5.1'
41-
python_version: '3.9'
42-
43-
- django_version: '5.2'
44-
python_version: '3.9'
41+
- django_version: '5.0'
42+
python_version: '3.14'
4543

44+
- django_version: '5.1'
45+
python_version: '3.14'
4646
include:
4747
- django_version: '4.2'
48-
python_version: '3.9'
48+
python_version: '3.10'
4949
database: 'sqlite'
5050
env:
5151
SPATIALITE_LIBRARY_PATH: 'mod_spatialite'

CHANGES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ CHANGELOG
77

88
- CSP: Don't test nonce for truthiness before inclusion #393
99
- Solve broken marker image paths in the admin panel #392
10+
- Support Django 6.0 and Python 3.14 (`#396 <https://github.com/makinacorpus/django-leaflet/pull/396>`__).
11+
- Drop support for Python 3.9 (`#396 <https://github.com/makinacorpus/django-leaflet/pull/396>`__).
1012

1113
0.32.0 (2025-05-14)
1214
-------------------

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
description="Use Leaflet in your django projects",
2424
long_description=long_descr,
2525
license='LPGL, see LICENSE file.',
26-
python_requires='>=3.9',
26+
python_requires='>=3.10',
2727
install_requires=requires,
2828
extras_require={
2929
'docs': ['sphinx', 'sphinx-autobuild'],
@@ -40,10 +40,10 @@
4040
'Framework :: Django',
4141
'Development Status :: 5 - Production/Stable',
4242
'Programming Language :: Python :: 3 :: Only',
43-
'Programming Language :: Python :: 3.9',
4443
'Programming Language :: Python :: 3.10',
4544
'Programming Language :: Python :: 3.11',
4645
'Programming Language :: Python :: 3.12',
4746
'Programming Language :: Python :: 3.13',
47+
'Programming Language :: Python :: 3.14',
4848
],
4949
)

tox.ini

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
[tox]
22
envlist =
3-
py{39,310,311,312}-django42
3+
py{310,311,312}-django42
44
py{310,311,312}-django50
55
py{310,311,312,313}-django51
6-
py{310,311,312,313}-django52
6+
py{310,311,312,313,314}-django52
7+
py{312,313,314}-django60
78
py{312,313}-djangomain
89

910
[testenv]
@@ -13,6 +14,7 @@ deps =
1314
django50: Django~=5.0
1415
django51: Django~=5.1
1516
django52: Django~=5.2.0a1
17+
django60: Django~=6.0a1
1618
djangomain: https://github.com/django/django/archive/main.tar.gz
1719
postgres: psycopg
1820
coverage

0 commit comments

Comments
 (0)