The Github test workflows use the latest version of pytest, which is leading to collection errors if 9.1.0 is used:
PS C:\Users\ddb29996\python-RAT> pytest tests
=============================================== test session starts ===============================================
platform win32 -- Python 3.10.12, pytest-9.1.0, pluggy-1.5.0
rootdir: C:\Users\ddb29996\python-RAT
configfile: pyproject.toml
plugins: anyio-4.1.0, Faker-37.11.0, cov-7.1.0
collected 1044 items / 1 error
===================================================== ERRORS ======================================================
_____________________________________ ERROR collecting tests/test_plotting.py _____________________________________
tests/test_plotting.py::test_figure_axis_formatting: duplicate parametrization of 'fig'
============================================= short test summary info =============================================
ERROR tests/test_plotting.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
================================================ 1 error in 2.90s =================================================
PS C:\Users\ddb29996\python-RAT>
This seems to be an ongoing error with Pytest which other repos have reported (e.g. scipy) and it is probably best to exclude 9.1.0 from the toml file while this is sorted out.
More info here:
scikit-build/scikit-build-core#1329
pytest-dev/pytest#13974
The Github test workflows use the latest version of
pytest, which is leading to collection errors if 9.1.0 is used:This seems to be an ongoing error with Pytest which other repos have reported (e.g. scipy) and it is probably best to exclude 9.1.0 from the toml file while this is sorted out.
More info here:
scikit-build/scikit-build-core#1329
pytest-dev/pytest#13974