-
Notifications
You must be signed in to change notification settings - Fork 271
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
ERROR frontends/cholla/tests/test_outputs.py when running test on installed package #4190
Comments
Off the top of my head I don't know where this error may be coming from. A possibility is that our wheels erroneously include some byte code ( |
I also note that up to now, we never seemed to have a reason to run tests specifically as part of the build/release workflow. This seems like a good one. |
@neutrinoceros left-over bytecode is most probably not the case, as the failure is observed in both PyPI package and self-created package. For the latter, I am quite sure that we didn't artificially include bytecode (there are specific checks for that in our workflow). |
I confirm that there are no left over byte code in the source dist on PyPI |
I seems that the problem is that I note that, after this is resolved, there are other problems with running tests the way you showed. AFAICT they are caused by how pytest discovers its configuration file (we rely on it discovering |
I can confirm that adding empty |
Bug report
Bug summary
On Debian, we regularly run the CI tests with the installed package. The idea behind this is to ensure the package still works when the environment changes. This worked fine for yt 4.0.5, but started to fail with 4.1.0.
Code for reproduction
python3 -m pytest --pyargs yt
Actual outcome
Expected outcome
I'd expect that all tests pass
Version Information
This originally happens with yt installed as a Debian package, but it can be reproduced with a installation via pip.
The full log (incl. all package versions) is attached: yt-test-log-4.1.1.txt
The text was updated successfully, but these errors were encountered: