Skip to content

Commit 3428e99

Browse files
committed
add support for Python 3.12 and add other libs
1 parent 3fbda62 commit 3428e99

File tree

6 files changed

+11
-9
lines changed

6 files changed

+11
-9
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [ ubuntu-latest ]
15-
python-version: [ "3.8", "3.9", "3.10", "3.11" ]
15+
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
1616
django-version: [ "3.2", "4.2" ]
1717
cryptography-version: [ "41.0" ]
1818

docs/source/quickstart_as_app.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ tested with what release (changes to previous versions in **bold**):
3232
=========== ============== ================== =================== ============= =====================
3333
django-ca Python Django cryptography Celery acme
3434
=========== ============== ================== =================== ============= =====================
35-
1.27 3.8 - 3.11 3.2, **4.2** **41** **5.3** **2.6.0**
35+
1.27 3.8 - **3.12** 3.2, **4.2** **41** **5.3** 2.6.0 - **2.7.0**
3636
1.26 3.8 - 3.11 3.2, 4.1 - 4.2 **40** - 41 **5.2** - 5.3 **2.5.0** - 2.6.0
3737
1.25 3.8 - 3.11 3.2, 4.1 - 4.2 37, 39 - **41** 5.1 - **5.3** **2.3.0** - **2.6.0**
3838
1.24 3.8 - 3.11 3.2, 4.1 - **4.2** 37, 39 - **40** 5.1 - 5.2 **2.2.0** - **2.5.0**

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ build-backend = "setuptools.build_meta"
77

88
[django-ca.release]
99
# https://devguide.python.org/versions/#versions
10-
python = ["3.8.17", "3.9.17", "3.10.12", "3.11.4"]
10+
python = ["3.8.18", "3.9.18", "3.10.13", "3.11.6", "3.12.0"]
1111
# https://www.djangoproject.com/download/
1212
django = ["3.2.20", "4.2.5"]
13-
cryptography = ["41.0.3"]
14-
acme = ["2.6.0"]
13+
cryptography = ["41.0.4"]
14+
acme = ["2.6.0", "2.7.0"]
1515

1616
# https://alpinelinux.org/releases/
1717
alpine = ["3.16", "3.17", "3.18"]
@@ -75,6 +75,7 @@ classifiers = [
7575
"Programming Language :: Python :: 3.9",
7676
"Programming Language :: Python :: 3.10",
7777
"Programming Language :: Python :: 3.11",
78+
"Programming Language :: Python :: 3.12",
7879
"Programming Language :: Python :: 3 :: Only",
7980
"Topic :: Security :: Cryptography",
8081
"Topic :: Security",

requirements/requirements-dev-common.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Jinja2==3.1.2
44
PyYAML==6.0.1
55
# Sphinx 7 requires Python>3.8, but we still support Python 3.8.
66
Sphinx<7
7-
coverage[toml]==7.3.1
7+
coverage[toml]==7.3.2
88
django-ninja==0.22.2
99
selenium==4.13.0
1010
semantic-version==2.10.0

requirements/requirements-mypy.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ types-mysqlclient==2.2.0.1
99
types-psycopg2==2.9.21.14
1010
types-pyOpenSSL==23.2.0.2
1111
types-pyRFC3339==1.1.1.5
12-
types-redis==4.6.0.5
13-
types-requests==2.31.0.7
12+
types-redis==4.6.0.7
13+
types-requests==2.31.0.8
1414
types-setuptools==68.2.0.0
1515
types-tabulate==0.9.0.3

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist = pylint,docs,lint,mypy,demo,dist-test
3-
py{38,39,310,311}-dj{3.2,4.2}-cg{41.0}-acme{2.6}
3+
py{38,39,310,311,312}-dj{3.2,4.2}-cg{41.0}-acme{2.6,2.7}
44

55
[testenv]
66
skipsdist = True
@@ -11,6 +11,7 @@ deps =
1111
dj4.2: Django~=4.2
1212
cg41.0: cryptography~=41.0
1313
acme2.6: acme~=2.6
14+
acme2.7: acme~=2.7
1415
setenv =
1516
COVERAGE_FILE = {envdir}/.coverage
1617
commands =

0 commit comments

Comments
 (0)