Skip to content

Commit 8bfe5df

Browse files
facutuescahugovk
andauthored
Add support for Python 3.12 (#1254)
Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent d7e9dd4 commit 8bfe5df

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
- {VERSION: "3.9", TOXENV: "py39"}
1616
- {VERSION: "3.10", TOXENV: "py310"}
1717
- {VERSION: "3.11", TOXENV: "py311"}
18+
- {VERSION: "3.12-dev", TOXENV: "py312"}
1819
- {VERSION: "pypy-3.8", TOXENV: "pypy3"}
1920
- {VERSION: "pypy-3.9", TOXENV: "pypy3"}
2021
- {VERSION: "3.11", TOXENV: "py311-useWheel", OS: "windows-2022" }
@@ -24,6 +25,7 @@ jobs:
2425
- {VERSION: "3.9", TOXENV: "py39-cryptographyMain"}
2526
- {VERSION: "3.10", TOXENV: "py310-cryptographyMain"}
2627
- {VERSION: "3.11", TOXENV: "py311-cryptographyMain"}
28+
- {VERSION: "3.12-dev", TOXENV: "py312-cryptographyMain"}
2729
- {VERSION: "pypy-3.8", TOXENV: "pypy3-cryptographyMain"}
2830
- {VERSION: "pypy-3.9", TOXENV: "pypy3-cryptographyMain"}
2931
# -cryptographyMinimum
@@ -32,6 +34,7 @@ jobs:
3234
- {VERSION: "3.9", TOXENV: "py39-cryptographyMinimum"}
3335
- {VERSION: "3.10", TOXENV: "py310-cryptographyMinimum"}
3436
- {VERSION: "3.11", TOXENV: "py311-cryptographyMinimum"}
37+
- {VERSION: "3.12-dev", TOXENV: "py312-cryptographyMinimum"}
3538
- {VERSION: "pypy-3.8", TOXENV: "pypy3-cryptographyMinimum"}
3639
# Cryptography wheels
3740
- {VERSION: "3.9", TOXENV: "py39-cryptographyMinimum-useWheel"}

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ def find_meta(meta):
8282
"Programming Language :: Python :: 3.9",
8383
"Programming Language :: Python :: 3.10",
8484
"Programming Language :: Python :: 3.11",
85+
"Programming Language :: Python :: 3.12",
8586
"Programming Language :: Python :: Implementation :: CPython",
8687
"Programming Language :: Python :: Implementation :: PyPy",
8788
"Topic :: Security :: Cryptography",

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{py,py3,37,38,39,310,311}{,-cryptographyMinimum}{,-useWheel}{,-randomorder},py311-twistedTrunk,check-manifest,lint,py311-mypy,docs,coverage-report
2+
envlist = py{py3,37,38,39,310,311,312}{,-cryptographyMinimum}{,-useWheel}{,-randomorder},py311-twistedTrunk,check-manifest,lint,py311-mypy,docs,coverage-report
33

44
[testenv]
55
allowlist_externals =

0 commit comments

Comments
 (0)