Skip to content

Commit ef6d073

Browse files
committed
Add upper bound < 5.0.0 to lxml for python 2.7
Support for python 2.7 was removed inhttps://pypi.org/project/lxml/5.1.0/. However there are no python 2.7 wheels for Windows for lxml >- 5.0.0.
1 parent c995e01 commit ef6d073

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

requirements-optional.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ chardet>=2.2.1
1010

1111
# lxml is supported with its own treebuilder ("lxml") and otherwise
1212
# uses the standard ElementTree support
13-
lxml>=3.4.0 ; platform_python_implementation == 'CPython'
13+
lxml>=3.4.0, <5.0.0 ; python_version < '3.0' and platform_python_implementation == 'CPython'
14+
lxml>=3.4.0 ; python_version >= '3.0' and platform_python_implementation == 'CPython'

0 commit comments

Comments
 (0)