Hi!
I package Spyder for Debian, and we are migrating to pytest 8.x. Spyder uses pytest-lazy-fixture for a handful of tests, but they have pinned pytest to 6.x. So to address https://github.com/spyder-ide/spyder/issues/21935 I tried using pytest-lazy-fixtures as a drop-in replacement for pytest-lazy-fixture, but it doesn't work (even though according to the documentation it probably should). Here's how to reproduce what I did. I'm working on a Debian testing machine with the relevant libraries installed, and I have pyenv installed. I roughly follow the script in spyder 5.4.4 called .github/scripts/install.sh and did the following (output not shown):
Hi! I package Spyder for Debian, and we are migrating to pytest 8.x. Spyder uses pytest-lazy-fixture for a handful of tests, but they have pinned pytest to 6.x. So to address https://github.com/spyder-ide/spyder/issues/21935 I tried using pytest-lazy-fixtures as a drop-in replacement for pytest-lazy-fixture, but it doesn't work (even though according to the documentation it probably should). Here's how to reproduce what I did. I'm working on a Debian testing machine with the relevant libraries installed, and I have pyenv installed. I roughly follow the script in spyder 5.4.4 called
.github/scripts/install.sh
and did the following (output not shown):Now we can run pytest on the one test file which uses pytest-lazy-fixture:
We now edit this file to use pytest-lazy-fixtures instead: here is the diff:
and we update the installed packages:
and try again:
Any ideas why pytest-lazy-fixtures might be failing in this situation?