Skip to content

Upgrade lxml version / Fix Python > 2.7.10 #39

Description

@Starou

The recent work on porting the codebase to Python 3 shows that having the last version of lxml is not the reason for having the test suite to fails. The reason is the minor version of Python 2.7.

Python 2.7.10 : OK
Python 2.7.12 : 1 error :

======================================================================
FAIL: test_add_pages_from_idml_to_template (regressiontests.idml.IdmlTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/vagrant/tests/regressiontests/idml.py", line 3637, in test_add_pages_from_idml_to_template
    self.assertEqual(len(f.pages), 4)
AssertionError: 2 != 4

----------------------------------------------------------------------

Python 2.7.14: 2 errors.

So it is safe to relax the lxml version constraints.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions