-
-
Notifications
You must be signed in to change notification settings - Fork 2k
EXP: Debug devdeps failure with PytestUnraisableExceptionWarning #14460
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
Conversation
throwing exception
|
Thank you for your contribution to Astropy! 🌌 This checklist is meant to remind the package maintainers who will review this pull request of some common things to look for.
|
|
👋 Thank you for your draft pull request! Do you know that you can use |
|
Is it related to this? 🤷♀️ |
|
Hmm could the failure only happen in Python 3.11.2 + numpy-dev combo? |
|
I cannot reproduce this with Python 3.11.0 from conda and numpy nightly wheel. The log in CI says it is using Python 3.11.2. |
|
Last green devdeps: https://github.com/astropy/astropy/actions/runs/4247771490/jobs/7386198567 (before all the asdf deprecations getting in the way) Now with this failure: https://github.com/astropy/astropy/actions/runs/4265444197/jobs/7424786551 |
|
The diff can be seen in https://github.com/numpy/numpy/compare/51ecf8401..3f142646c but that is too many changes. The nightlies appear to be a week apart according to https://anaconda.org/scipy-wheels-nightly/numpy/files . |
|
Almost certainly numpy/numpy#22924 given the "RuntimeError: Internal error, tried to fetch clear function for the user dtype '�' without fields or subarray (legacy support)", which was introduced there... |
|
Our failure looks due to Indeed, the latter seems to be the real problem. in a separate So, it clearly is something that happens only at clean-up time. |
|
Minimal example to reproduce: |
|
Digging deeper, I think this may be the dtype causing a problem This leads to a pure numpy example - see numpy/numpy#23277 |
|
Fixed upstream. CI is green on main now. Thanks, all! |
|
Great! |
Description
https://github.com/astropy/astropy/actions/runs/4265444197/jobs/7424786551