You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm eager to reproduce this if I can. I cloned scriv and ran python -m tox -e quality and it passed, without any output suggesting the scriv command ran.
I ran without tox as pylint src/scriv tests docs setup.py after installing pylint_pytest, and with pytest 7.4.2, and the files linted, although they threw lots of errors like:
Once I can reproduce, I'm happy to bisect the pylint or astroid changes that could be to blame. I wonder if knowing your installed version of pytest would help. Any other tips for reproducing would be appreciated. Thanks.
This is also a nice reproducer. I have been having a similar issue in a proprietary code that threw more or less the same cannot-enumerate-pytest-fixtures error.
Funny thing is that, pytest alone is able to figure the issue out (no variant of pytest --fixtures --collect-only ... reveals any issue, nor does it fail pytest).
To be honest, I have been blocking v2 behind tl;dr this issue and pytest v8 😶🌫️ (my time being limited, and no progress in figuring out the logic behind this 😕)
ANY help is more than welcome 🙏 (from people that know how module discovery works? pytest internals?)
Fixes#67 as a stop-gap measure
(and luckily gives me fuel to debug the dreaded `cannot-enumerate-pytest-fixtures` issue:
#68)
Signed-off-by: Stavros Ntentos <[email protected]>
Fixes#67 as a stop-gap measure
(and luckily gives me fuel to debug the dreaded `cannot-enumerate-pytest-fixtures` issue:
#68)
Signed-off-by: Stavros Ntentos <[email protected]>
I'm eager to reproduce this if I can. I cloned scriv and ran
python -m tox -e quality
and it passed, without any output suggesting the scriv command ran.I ran without tox as
pylint src/scriv tests docs setup.py
after installingpylint_pytest
, and with pytest 7.4.2, and the files linted, although they threw lots of errors like:Once I can reproduce, I'm happy to bisect the pylint or astroid changes that could be to blame. I wonder if knowing your installed version of pytest would help. Any other tips for reproducing would be appreciated. Thanks.
Originally posted by @jacobtylerwalls in #67 (comment)
The text was updated successfully, but these errors were encountered: