Skip to content

Commit 418e83a

Browse files
committed
Install typing_extensions for Python versions < 3.11
Fix invalid sphinx-argparse version on Python 3.9
1 parent 3169670 commit 418e83a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎setup.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"yarl>=1.6,<2.0",
88
"backoff>=1.11.1,<3.0",
99
"anyio>=3.0,<5",
10+
"typing_extensions>=4.0.0; python_version<'3.11'",
1011
]
1112

1213
console_scripts = [
@@ -32,7 +33,8 @@
3233
"sphinx>=7.0.0,<8;python_version<='3.9'",
3334
"sphinx>=8.1.0,<9;python_version>'3.9'",
3435
"sphinx_rtd_theme>=3.0.2,<4",
35-
"sphinx-argparse==0.5.2",
36+
"sphinx-argparse==0.5.2; python_version>='3.10'",
37+
"sphinx-argparse==0.4.0; python_version<'3.10'",
3638
"types-aiofiles",
3739
"types-requests",
3840
] + tests_requires

0 commit comments

Comments
 (0)