-
Notifications
You must be signed in to change notification settings - Fork 268
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
CI fails due to broken packages in environment (setuptools issue) #2592
Comments
This has to be a change in pytest test collection logic. For some reason it thinks that |
Mmh, no, it's different. THe error message is misleading, it's actually the tests that imports all of ctapipe and checks if we have any traitlets defined that are missing the Fix here #2593 . Although I couldn't figure out why this is suddenly failing now... |
Turns out something must have changed in the Fixed by ignoring the file for doctest. |
I'm afraid only a part of the problem is solved.
|
full log for the reference can be found here: https://github.com/cta-observatory/ctapipe/actions/runs/10003501784/job/27650544386?pr=2594 |
I think the problem is that now DeprecationWarning is thrown for every broken package: and We convert DeprecationWarnings to errors, right? @maxnoe |
Yes, but we can ignore specific ones that we can do nothing about |
Ah, but this one is real and should be fixed. |
no, we need to be ready that KeyError will be thrown (not yet), it should be taken care in the lambda function you've introduced in #2593 |
Fix deprecation warning in provenance, fixes #2592
Me and Tjark had tests on our pull requests fail running with python 3.10 on different operating systems.
The relevant logs are here for the StatisticsExtractor PR and here for the VarianceExtractor PR.
In both cases the issue lies with setuptools not being found (see here)
The text was updated successfully, but these errors were encountered: