Skip to content

Commit

Permalink
Added constrain on lxml version based on Python version
Browse files Browse the repository at this point in the history
  • Loading branch information
rennerocha committed Jul 30, 2019
1 parent 1a289c1 commit 5c916be
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion requirements-py3.txt
@@ -1,5 +1,6 @@
Twisted>=17.9.0
lxml>=3.2.4
lxml;python_version!="3.4"
lxml<=4.3.5;python_version=="3.4"
pyOpenSSL>=0.13.1
cssselect>=0.9
queuelib>=1.1.1
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Expand Up @@ -69,7 +69,8 @@ def has_environment_marker_platform_impl_support():
'Twisted>=13.1.0,<=19.2.0;python_version=="3.4"',
'w3lib>=1.17.0',
'queuelib',
'lxml',
'lxml;python_version!="3.4"',
'lxml<=4.3.5;python_version=="3.4"',
'pyOpenSSL',
'cssselect>=0.9',
'six>=1.5.2',
Expand Down
3 changes: 1 addition & 2 deletions tests/constraints.txt
@@ -1,2 +1 @@
Twisted!=18.4.0
lxml!=4.2.2
Twisted!=18.4.0

0 comments on commit 5c916be

Please sign in to comment.