Skip to content

Commit 839ed8f

Browse files
authored
Merge pull request #423 from fernando-mc/master
Fix conflict with standard library for typing dependency
2 parents 844c18c + ec442a6 commit 839ed8f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

requirements.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55

66
# Requirements
77
requests>=2.21,<3.0
8-
typing>=3.6,<4.0
8+
9+
# Typing is included in the Python standard library as of 3.5
10+
# See - https://docs.python.org/3/library/typing.html
11+
typing>=3.6,<4.0; python_version < '3.5'
912

1013
# Dev requirements
1114
-r requirements/requirements-testing.txt

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ include_package_data = True
3434
packages = find:
3535
install_requires =
3636
requests>=2.21,<3.0
37-
typing>=3.6,<4.0
37+
typing>=3.6,<4.0;python_version<"3.5"
3838
python_requires = >=2.7, !=3.0.*, !=3.1.*', !=3.2.*, !=3.3.*'
3939

4040
[options.packages.find]

0 commit comments

Comments
 (0)