-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
py-numpy: add v2.0.0 #44735
base: develop
Are you sure you want to change the base?
py-numpy: add v2.0.0 #44735
Conversation
Extremely helpful! numpy/numpy#26191 |
This seems pretty happy so far, modulo the triggering issues in some pipelines.
Glad it's useful:) For any incompatibilities we encounter here, I'd be happy to extend the compat table. Most packages needed at least a few minor source-level changes. Most packages in that table also have ABI incompatibilities for wheels on PyPI - that's not going to matter for Spack, so it's very well possible that builds pass here even though they're marked as incompatible in numpy/numpy#26191. |
Any idea what's wrong with the remaining build errors (Linux, OneAPI)? h5py
petsc4py
scipy
|
The |
By default, Spack deletes the build directory (stage). If you use: spack install --keep-stage py-numpy@2.0.0 %oneapi it won't delete the build directory. You can then run: spack cd py-numpy@2.0.0 %oneapi to go to the build directory. Best source of documentation on this is probably https://spack-tutorial.readthedocs.io/en/latest/tutorial_packaging.html#debugging-package-builds. |
I meant in CI. There doesn't seem to be a good way to navigate from the failing jobs to the ones they depend on. It's the |
Ah sorry. I actually don't know how. @scottwittenburg @kwryankrattiger? We're trying to go from a failing build to its successful parent, but the successful parent is minimized because nothing changed in the last commit. Workaround: most recent commit that rebuilt numpy: https://gitlab.spack.io/spack/spack/-/jobs/11627167 |
That log is full of errors, it shouldn't be passing. Right at the top of the log is this:
And after that every single test is failing.
|
Okay. I'll mark it as incompatible for now and we can refine that version/compiler bounds if/when we learn more. |
I don't know if I understand the question. Just because something isn't rebuilt in that CI run, the binaries that it uses in downstream jobs will be whatever is in the build cache for that hash. Sometimes you have to look back in a PR to find the job that built that specific binary, or it was built previously on develop. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed the version sha256. Perused the rest and it LGTM.
54c4631
to
a52c0ae
Compare
I know we had this problem before, but I don't remember how we solved it. |
Hmm, this job doesn't have an outdated There were a few PRs that touched |
How would I test this on the command line? We can add a test to the Let's wait to see if my fix in #44967 magically helps for some unknown reason. |
Looks like it did:)
It's a matter of invoking |
a52c0ae
to
db3e817
Compare
https://github.com/numpy/numpy/releases/tag/v2.0.0
Excited to see how many packages break. We could pin the default version to v1, but I'd rather fix any dependency bugs that pop up instead.