Open penguinpee opened 4 months ago
Hi @penguinpee I will discuss with the team. That being said the error does not appear on our scheduled test workflows as we are using pytest 7.4.3.
Hi @penguinpee after discussion with the team, we will update to pytest 8 in the future. I will post a deadline here when we have one.
Thanks! Should I have any news with regards to that issue, I'll post an update here.
This appears to be an issue in pytest trying to instantiat abstract classes: pytest-dev/pytest#12275
It will be fixed in release 8.3.0.
Wonderful. Let's see!
The workaround using conftest.py
, mentioned in the ticket, works.
What happened?
Fedora is preparing to upgrade
pytest
to 8.x (currently 8.2.0). When running tests with that version ofpytest
, three test cannot be collected and fail withTypeError
.I used the approach below (using an empty directory) since I encountered issues with test collection previously. In this case, however, it didn't make a difference. Step 1 to 3 can be omitted, yielding the same result.
Steps to Reproduce
Traceback
Operating System
Linux
Python Executable
Python
Python Version
3.12
Package Versions
Python 3.12.3 pytest 8.2.0 hdmf 3.13.0 h5py 3.11.0 jsonschema 4.19.1 numpy 1.26.4 pandas 2.2.1 ruamel-yaml 0.18.5 scipy 1.11.3
We are using the packages available from the Fedora repositories. Listed are the dependencies for HDMF.