Closed anilbey closed 5 months ago
Thanks for this report! I sense this is disruptive so am looking into it ASAP.
In the meantime, it would be really awesome if you joined our new Discord. Communities can help prevent issues like as well as identify new helpful things to build for you.
So it appears that the path parameter to collect has now been removed in favour of a file_path
which uses the Pathlib type.
I'd like to fix this in a way that keeps support for Pytest 7 although simplest thing to do would be to support >8 going forward. Open to suggestions.
What about something that detects the major version of pytest?
@ManonMarchand thanks that's what I did -- it should work the same for pytest 6 and 7
Fixed in release v1.5.1
Thanks @alex-treebeard for the quick fix.
It appears pytest 8.1.0
is yanked.
https://pypi.org/project/pytest/8.1.0/
😄 I did feel like there was no warning about this change... we are ok though as far as I know, apart from the dev environment for nbmake being on 8.1
Hi,
I think an update is required in to be compatible with Pytest 8.1.0. Source (CI logs of a project): https://github.com/BlueBrain/BlueCelluLab/actions/runs/8138274377/job/22239014458?pr=142 The packages installed as well as the environment can be found on the CI logs.
Related discussion on pytest: https://github.com/pytest-dev/pytest/issues/12065#issuecomment-1976275219