Skip to content

Commit fa4f5b0

Browse files
authored
Add more version constraints (#1574)
For some reason, poetry will run the solver at least twice if python version are above 3.6, each with a different constraint for urllib3. This add a significant slowdown on our end in some project.
1 parent b3bd629 commit fa4f5b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def get_file_text(file_name):
3939
license="BSD",
4040
install_requires=[
4141
'urllib3>=1.25.7; python_version<="3.4"',
42-
'urllib3>=1.26.9; python_version>="3.5"',
42+
'urllib3>=1.26.9; python_version=="3.5"',
4343
'urllib3>=1.26.11; python_version >="3.6"',
4444
"certifi",
4545
],

0 commit comments

Comments
 (0)