Skip to content

Commit e57a91c

Browse files
Merge pull request Pylons#467 from luhn/legacy-cgi
Add Python 3.13 support using `legacy-cgi`
2 parents c5a80e5 + afdbbcc commit e57a91c

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.github/workflows/ci-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
- "3.10"
2222
- "3.11"
2323
- "3.12"
24+
- "3.13"
2425
- "pypy-3.9"
2526
- "pypy-3.10"
2627
os:

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@
5353
packages=find_packages("src", exclude=["tests"]),
5454
package_dir={"": "src"},
5555
python_requires=">=3.8",
56+
install_requires=[
57+
"legacy-cgi>=2.6; python_version>='3.13'",
58+
],
5659
zip_safe=True,
5760
extras_require={"testing": testing_extras, "docs": docs_extras},
5861
)

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
envlist =
33
lint,
4-
py38,py39,py310,py311,py312,pypy39,pypy310,
4+
py38,py39,py310,py311,py312,py313,pypy39,pypy310,
55
coverage,
66
docs,
77
isolated_build = True

0 commit comments

Comments
 (0)