Skip to content

Commit 3abc557

Browse files
nejchJohnVillalovos
authored andcommitted
chore(setup): depend on typing-extensions for 3.7 until EOL
1 parent 3057f45 commit 3abc557

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
requests==2.28.2
22
requests-toolbelt==0.10.1
3+
typing-extensions==4.5.0 ; python_version < "3.8"

setup.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ def get_version() -> str:
2828
license="LGPL-3.0-or-later",
2929
url="https://github.com/python-gitlab/python-gitlab",
3030
packages=find_packages(exclude=["docs*", "tests*"]),
31-
install_requires=["requests>=2.25.0", "requests-toolbelt>=0.10.1"],
31+
install_requires=[
32+
"requests>=2.25.0",
33+
"requests-toolbelt>=0.10.1",
34+
"typing-extensions>=4.0.0;python_version<'3.8'",
35+
],
3236
package_data={
3337
"gitlab": ["py.typed"],
3438
},

0 commit comments

Comments
 (0)