Closed alexdunnjpl closed 2 years ago
Two unit tests fail. This is (probably) the result of a new pandas release, requiring a later version of openpyxl than the pinned openpyxl version.
pandas
openpyxl
Steps to reproduce the behavior:
Run the following or delete ./.tox in an existing repo and run tox. This bug will not present unless the tox environment is rebuilt.
./.tox
tox
cd /tmp git clone https://github.com/NASA-PDS/doi-service.git cd doi-service python3 -m venv venv source venv/bin/activate pip install --editable '.[dev]' # cp path/to/populated/pds_doi_service.ini ./ export CI=true; tox # CI=true suppresses some tests which will fail without some specific, unrelated config dependencies populated
Unit tests pass
Failures are as follows
=========================== short test summary info ============================ FAILED src/pds_doi_service/core/actions/test/reserve_test.py::ReserveActionTestCase::test_reserve_xlsx_and_submit FAILED src/pds_doi_service/core/input/test/input_util_test.py::InputUtilTestCase::test_read_xls =========== 2 failed, 83 passed, 15 skipped, 145 warnings in 11.85s ============
resulting from
E ImportError: Pandas requires version '3.0.7' or newer of 'openpyxl' (version '3.0.3' currently installed).
Fixed in #367
@jordanpadams would you like me to pin all pip dependencies to prevent something similar happening with others?
pip
š Describe the bug
Two unit tests fail. This is (probably) the result of a new
pandas
release, requiring a later version ofopenpyxl
than the pinnedopenpyxl
version.š To Reproduce
Steps to reproduce the behavior:
Run the following or delete
./.tox
in an existing repo and runtox
. This bug will not present unless the tox environment is rebuilt.šµļø Expected behavior
Unit tests pass
š©ŗ Test Data / Additional context
Failures are as follows
resulting from