-
Notifications
You must be signed in to change notification settings - Fork 3
Python 3.13 & numpy 2.0 support #470
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
|
Well, not very useful since banana doesn't work in 3.13 so the actual errors are hidden... |
8ee3214 to
243d3b0
Compare
|
wait what Why would poetry lock work in my computer but fail to install here? |
The old good question :P |
|
We should also address #438 here |
|
Similar story as in NNPDF/banana#78: it wants |
|
I don't know how come locally the code found a path to get an What worries / annoys me a bit is that the solution to both this problem and banana's was to run |
but this sounds like a poetry bug, no? |
|
I guess? But I don't know whether it is intentional (e.g., versions already in the lockfile take precedence). I don't know enough about poetry to say it is a bug. |
felixhekhorn
left a comment
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.
should we postpone the fix for tar to later?
I think the tar fix is more a curiosity than anything elsee at this point. Question, is the master branch ready for a 0.15.2 release or should I back port this to the commit from 0.15.1 so that other things merged to master are not included? (the importance is a bit academic, tensorflow/pytorch only work for python 3.13 in their developement versions so I still need to install those two by hand, might as well do so with eko, but I don't mind backporting this, it should be painless) |
felixhekhorn
left a comment
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.
Please add a Changelog entry
I think we are ready. The release procedure is now similar to PineAPPL, but still manual and not automated: 0) merge 1) Adjust the Changelog (make a new version there) 2) make that commit the new version |
|
I think it is better if you do the changelog. RE the version file, I've reverted it back. imho there's no perfect solution, but what we do in NNPDF/nnpdf is to create a fake thinking about this perhaps it would be better if pre-commit would ensure that it gets back to 0.0.0? I wonder whether there's a ready made hook for that... |
|
Could this be merged before master drifts away? |
Rerun `poetry lock`
it wasn't that complicated 5fbe230 😇
I'll do as soon as the unit tests have passed |
The only changes necessary for numpy 2 were to change from
np.<type>_tonp.<type><size>everything else (meaning, the tests) seem to work ootb. I can evolve fits and benchmarks seem to do ok.