Skip to content

Commit f9fa3e1

Browse files
committed
Add support for Python 3.16
1 parent 35ec6a7 commit f9fa3e1

3 files changed

Lines changed: 11 additions & 5 deletions

File tree

‎.github/workflows/test.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
python-version:
1818
- "pypy3.12"
1919
- "pypy3.11"
20+
- "3.16t"
21+
- "3.16"
2022
- "3.15t"
2123
- "3.15"
2224
- "3.14t"

‎pyproject.toml‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ classifiers = [
2828
"Programming Language :: Python :: 3.13",
2929
"Programming Language :: Python :: 3.14",
3030
"Programming Language :: Python :: 3.15",
31+
"Programming Language :: Python :: 3.16",
3132
"Programming Language :: Python :: Implementation :: CPython",
3233
"Programming Language :: Python :: Implementation :: PyPy",
3334
"Topic :: Text Processing",
@@ -101,7 +102,7 @@ lint.pydocstyle.convention = "google"
101102
lint.future-annotations = true
102103

103104
[tool.pyproject-fmt]
104-
max_supported_python = "3.15"
105+
max_supported_python = "3.16"
105106

106107
[tool.mypy]
107108
strict = true
@@ -110,8 +111,11 @@ num_workers = 4
110111
show_error_codes = true
111112

112113
[tool.pytest]
113-
addopts = [ "--color=yes" ]
114-
filterwarnings = [ "error" ]
114+
filterwarnings = [
115+
"error",
116+
# pytest-codspeed 5.0.4 supports up to 3.15
117+
"ignore:Python 3.16 is not officially supported by pytest-codspeed:RuntimeWarning",
118+
]
115119
minversion = "9.0"
116120
testpaths = [ "tests" ]
117121

‎tox.ini‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ env_list =
66
lint
77
mypy
88
py{py3}
9-
py{311-315}
10-
py{314-315}t
9+
py{311-316}
10+
py{314-316}t
1111

1212
[testenv]
1313
package = editable

0 commit comments

Comments
 (0)