-
Notifications
You must be signed in to change notification settings - Fork 8
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
Drop Python 3.9 support #377
base: main
Are you sure you want to change the base?
Conversation
99df2a8
to
0de2dee
Compare
personally I think we drop 3.9 we add 3.13... |
It would be nice (and was my original intent) to add 3.13 when we drop 3.9, but it depends in what sense we support 3.13. PyTorch won't fully support it for MacOS/Windows until at least PyTorch 2.6, so we wouldn't be able to fully support it yet in that sense. I also need to finally decide on a solution for matgl (M3GNet) to be able to move on from PyTorch 2.2, otherwise we definitely can't. |
Anyone running 3.13 must also run PyTorch 2.6+ so I'm not sure that's a problem as that's with their environment and should be effectively handled by pip and PyTorch's |
I think about this slightly different to most dependency resolution issues, in that I'd like our tests to run 3.13 if we support it, whereas for other things that pip/uv resolves, that isn't something we need to worry about. Since testing on MacOS isn't merged yet (#334), and that has its own Python matrix anyway (I imagine Windows will be similar), this isn't necessarily a problem, but |
And how does |
I can't test 3.13 very easily yet, as there isn't a PyTorch version compatible with my Mac yet, but there shouldn't be a resolution with Independently from us (I think I included it first, otherwise it wouldn't have been necessary), they set an upper limit on PyTorch: https://github.com/materialsvirtuallab/matgl/blob/main/pyproject.toml#L56, which will never be compatible with 3.13. The problem is that they rely on In theory we can now create conflicting groups with Would there be any objections to that (@alinelena)? |
It seems like the latest version of MACE is also no longer compatible with 3.9: ACEsuit/mace#699, in a way that |
This reverts commit fe6e6d9.
856551f
to
1b05862
Compare
Resolves #374
As I mention in the issue, we should think carefully about when we want to merge this, but I wanted to check it's also a viable solution to our CI problems, and these changes shouldn't clash too much with ongoing work that may be merged before this.
ruff
from __future__ import annotations
, which relied on a fix only available for Python 3.10+Note: if merged after #376, those changes can be reverted.