-
Notifications
You must be signed in to change notification settings - Fork 2
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
Python upgrade 39 discussion #427
Conversation
Most of the issues seem to be with astropy, which is incompatible with the installed numpy version. Most recent astropy versions only allow python>=3.10, so maybe we need to fix this by limiting numpy manually. |
Pull Request Test Coverage Report for Build 9617177796Details
💛 - Coveralls |
Pull Request Test Coverage Report for Build 9617176957Details
💛 - Coveralls |
Pull Request Test Coverage Report for Build 9618859347Details
💛 - Coveralls |
To me, currently the only issue seems to be dask for versions > 2023.12.0. The introduced a new method for computing there, "Query Planning", which breaks for some of our functions. See dask/dask#10995 for a discussion, and the changelog to 2023.3.0. |
I'll make a separate PR into this one to update type annotations to python 3.9 |
I changed the target branch to v1_feature_branch, because I would suggest to only bring in these changes together with all the other breaking changes we are collecting for v1 |
Pull Request Test Coverage Report for Build 9626531063Details
💛 - Coveralls |
Dask issues still present in higher python versions. Here's tests with 3.12. Not sure if it's the same issue: https://github.com/OpenCOMPES/sed/actions/runs/9626557198 |
That's this here: dask/dask#11035 Not sure how to fix, though, because going to a more recent dask version does not work at the moment... |
Pull Request Test Coverage Report for Build 9627802081Details
💛 - Coveralls |
f2cdd0f
to
030395c
Compare
Limiting the package to <3.12.3 and excludint 3.11.9 provides a temporary fix, but on the long run we need to look into this issue. |
Pull Request Test Coverage Report for Build 9627894556Details
💛 - Coveralls |
Thanks for the fix. Let's merge this for now and we can make a new issue/PR for fixing dask problems. |
Py39 update annotations
Pull Request Test Coverage Report for Build 9628968309Details
💛 - Coveralls |
Weird that it failed. Maybe it was the type annotations. |
Ah, that's poetry sometimes removing setup tools. We should add it to the requirements as quick fix. |
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.
Some fixes to add.
There are plenty of issues that come out when upgrading version since it also allows the other libraries to be updated.
Here we can discuss how to handle them.
Closes #368