Skip to content

Commit 2f86331

Browse files
add legacy-cgi to setup.py (#133)
* add legacy-cgi to setup.py * change ubuntu version from latest to 22.04 in the unit testing workflow * install legacy-cgi only when python version >=3.10
1 parent 99f3379 commit 2f86331

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/unit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
test:
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-22.04
1414
strategy:
1515
matrix:
1616
python: [3.7, 3.8, 3.9, '3.10', '3.11']

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"ruamel.yaml>=0.17.7",
2727
"six>=1.15.0",
2828
"urllib3>=1.26.2,<2",
29+
"legacy-cgi>=2.6.2; python_version>='3.10'",
2930
],
3031
classifiers=[
3132
"Programming Language :: Python :: 3",

0 commit comments

Comments
 (0)