Skip to content

Commit

Permalink
added support for Python 3.12 (#697)
Browse files Browse the repository at this point in the history
  • Loading branch information
beliaev-maksim authored Dec 15, 2023
1 parent 4fa24b7 commit 7706191
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
requests-version: ['"requests>=2.0,<3.0"']
urllib3-version: ['"urllib3<2"', '"urllib3>=2,<3.0"']

Expand Down
6 changes: 6 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
0.25.0
------

* Added support for Python 3.12


0.24.1
------

Expand Down
2 changes: 1 addition & 1 deletion responses/tests/test_recorder.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
try:
import tomli as _toml
except ImportError:
# python 3.11
# python 3.11+
import tomllib as _toml # type: ignore[no-redef]


Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ def run_tests(self):
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development",
],
)
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py38,py39,py310,py311,mypy,precom
envlist = py38,py39,py310,py311,py312,mypy,precom

[pytest]
filterwarnings =
Expand Down

0 comments on commit 7706191

Please sign in to comment.