elifesciences / decision-letter-parser

Parse docx file containing decision letter and author response content and produce output in other formats
MIT License
0 stars 0 forks source link

Changes to tests for Python 3.8 #137

Closed gnott closed 2 years ago

gnott commented 2 years ago

Re issue https://github.com/elifesciences/issues/issues/7490

In Python 3.8 and newer, the XML tag attributes are output in a different order. In this PR, the test fixtures are updated to reflect what Python 3.8 produces. For pre-Python3.8, the test fixtures are altered to what it used to produce.

The support for running tests in pre-Python3.8 will not be actively updated going forward, so it may become harder to run tests in older versions of Python as this library is enhanced later.

gnott commented 2 years ago

Also updated the version of pylint in requirements.txt because it was causing problems, and the newest elifetools library is used.

A new version of this library of 0.11.0 is set to mark the changes in this PR.