-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ska3-core to use pytest < 8.0.0 #1294
Comments
We might want to remove the >= 8 version from the test channel as I don't think we want it even in test environments at this point. |
pytest-dev/pytest#12311 might help though I don't think it should have been walking the file tree. |
The behavior of setting the rootdir from the Instead, there is a |
You lost me a bit at |
Brain fail, that comment is updated. |
My test consisted of putting |
It looks to me like with pytest 8.3.4 the test collection is no longer failing on |
I think the change in pytest 12311 might be fixing the original error, but only by ignoring permission errors. I still think we don't want it walking the entire filesystem tree, but I might be mistaken about what is actually happening in this case. The original intent with |
See sot/testr#52. |
During the release of 2024.1, there was a problem with pytest version
8.0.0
and later. It was decided to downgrade the pytest version for now.The problem stemmed from passing the
-c
option to pytest.The following succeeds:
whereas this fails
We believe that the behavior has to do with pytest setting the root to the location of
pytest.ini
. We have not check further why it fails in one case and not the other.The original error is pasted below:
The text was updated successfully, but these errors were encountered: