Skip to content

Commit

Permalink
Merge pull request #3918 from rennerocha/fix-lxml-py34
Browse files Browse the repository at this point in the history
Added constrain on lxml version to avoid error when using Python 3.4 (#3912)
  • Loading branch information
dangra committed Jul 31, 2019
2 parents 1a289c1 + 5c916be commit c5b8cc4
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 c5b8cc4

Please sign in to comment.