Skip to content

Commit 35896c6

Browse files
committed
Allow lxml 3.5 in setup.py and tox
After a short discussion on IRC about "is XML a terrible mistake?" it appears that there is a new version of lxml 3.5 that is compatible with this project. In fact, I'm quite sure any version of lxml < 4.x will work fine. Also, tox results show me that Python 2.7 with any version of lxml works fine too. What a wonderfull world? Thank you @mrjmad for the request! ;-)
1 parent 33f8aa6 commit 35896c6

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def read(*parts):
3131
]
3232

3333
setup(name='xmlunittest',
34-
version='0.3.1',
34+
version='0.3.2',
3535
description='Library using lxml and unittest for unit testing XML.',
3636
long_description=read('README.rst'),
3737
author='Florian Strzelecki',
@@ -40,5 +40,5 @@ def read(*parts):
4040
url='http://python-xmlunittest.readthedocs.org/en/latest/',
4141
py_modules=['xmlunittest'],
4242
test_suite="test",
43-
install_requires=['lxml>=2.3,<=3.4.4'],
43+
install_requires=['lxml>=2.3,<4.0.0'],
4444
classifiers=classifiers)

tox.ini

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
[tox]
2-
envlist = py27, py34
2+
envlist = py27-lxml{30,34,3x}, py34-lxml{30,34,3x}
33

44
[testenv]
55

66
commands =
77
py.test test.py
88

99
deps =
10-
lxml==3.0
11-
pytest==2.6.4
10+
lxml30: lxml>=3.0,<3.1
11+
lxml34: lxml>=3.4,<3.5
12+
lxml3x: lxml<4.0
13+
pytest

0 commit comments

Comments
 (0)