Skip to content

Commit 5a10cdc

Browse files
authored
Add support for Python 3.12 (#11)
1 parent aed74b2 commit 5a10cdc

File tree

4 files changed

+24
-16
lines changed

4 files changed

+24
-16
lines changed

.github/workflows/lint_and_type_checks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
python-version: ["3.8", "3.9", "3.10", "3.11"]
12+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
1313

1414
steps:
1515
- name: Checkout repository

.github/workflows/unit_tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
matrix:
1111
os: [ubuntu-latest, windows-latest]
12-
python-version: ["3.8", "3.9", "3.10", "3.11"]
12+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
1313
runs-on: ${{ matrix.os }}
1414

1515
steps:

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## [1.0.4](../../releases/tag/v1.0.4) - Unreleased
44

5+
### Added
6+
7+
- Added support for Python 3.12
8+
59
### Internal changes
610

711
- Removed `pytest-randomly` Pytest plugin

pyproject.toml

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ classifiers = [
99
"Programming Language :: Python :: 3.9",
1010
"Programming Language :: Python :: 3.10",
1111
"Programming Language :: Python :: 3.11",
12+
"Programming Language :: Python :: 3.12",
1213
"Topic :: Software Development :: Libraries",
1314
]
1415
dependencies = []
@@ -22,30 +23,33 @@ version = "1.0.4"
2223

2324
[project.optional-dependencies]
2425
dev = [
25-
"autopep8 ~= 2.0.2",
26-
"build ~= 0.10.0",
27-
"flake8 ~= 6.0.0",
28-
"flake8-bugbear ~= 23.5.9",
29-
"flake8-commas ~= 2.1.0",
30-
"flake8-comprehensions ~= 3.12.0",
26+
"autopep8 ~= 2.0.4",
27+
"build ~= 1.0.3",
28+
"filelock ~= 3.12.4",
29+
"flake8 ~= 6.1.0",
30+
"flake8-bugbear ~= 23.9.16",
31+
"flake8-commas ~= 2.1.0; python_version < '3.12'",
32+
"flake8-comprehensions ~= 3.14.0",
3133
"flake8-datetimez ~= 20.10.0",
3234
"flake8-docstrings ~= 1.7.0",
3335
"flake8-encodings ~= 0.5.0",
34-
"flake8-isort ~= 6.0.0",
35-
"flake8-noqa ~= 1.3.1",
36+
"flake8-isort ~= 6.1.0",
37+
"flake8-noqa ~= 1.3.1; python_version < '3.12'",
3638
"flake8-pytest-style ~= 1.7.2",
37-
"flake8-quotes ~= 3.3.2",
38-
"flake8-simplify ~= 0.20.0",
39+
"flake8-quotes ~= 3.3.2; python_version < '3.12'",
40+
"flake8-simplify ~= 0.21.0",
3941
"flake8-unused-arguments ~= 0.0.13",
4042
"isort ~= 5.12.0",
41-
"mypy ~= 1.4.0",
43+
"mypy ~= 1.5.1",
4244
"pep8-naming ~= 0.13.3",
43-
"pre-commit ~= 3.3.2",
44-
"pytest ~= 7.3.1",
45+
"pre-commit ~= 3.4.0",
46+
"pydoc-markdown ~= 4.8.2",
47+
"pytest ~= 7.4.2",
4548
"pytest-asyncio ~= 0.21.0",
4649
"pytest-only ~= 2.0.0",
47-
"pytest-timeout ~= 2.1.0",
50+
"pytest-timeout ~= 2.2.0",
4851
"pytest-xdist ~= 3.3.1",
52+
"respx ~= 0.20.1",
4953
"twine ~= 4.0.2",
5054
]
5155

0 commit comments

Comments
 (0)