Skip to content

Commit 7706191

Browse files
added support for Python 3.12 (#697)
1 parent 4fa24b7 commit 7706191

5 files changed

Lines changed: 10 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
strategy:
3232
fail-fast: false
3333
matrix:
34-
python-version: ['3.8', '3.9', '3.10', '3.11']
34+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
3535
requests-version: ['"requests>=2.0,<3.0"']
3636
urllib3-version: ['"urllib3<2"', '"urllib3>=2,<3.0"']
3737

CHANGES

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
0.25.0
2+
------
3+
4+
* Added support for Python 3.12
5+
6+
17
0.24.1
28
------
39

responses/tests/test_recorder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
try:
1313
import tomli as _toml
1414
except ImportError:
15-
# python 3.11
15+
# python 3.11+
1616
import tomllib as _toml # type: ignore[no-redef]
1717

1818

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ def run_tests(self):
9393
"Programming Language :: Python :: 3.9",
9494
"Programming Language :: Python :: 3.10",
9595
"Programming Language :: Python :: 3.11",
96+
"Programming Language :: Python :: 3.12",
9697
"Topic :: Software Development",
9798
],
9899
)

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py38,py39,py310,py311,mypy,precom
2+
envlist = py38,py39,py310,py311,py312,mypy,precom
33

44
[pytest]
55
filterwarnings =

0 commit comments

Comments
 (0)