Skip to content
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

Support Python 3.13 #1484

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Support Python 3.13 #1484

wants to merge 1 commit into from

Conversation

alecandido
Copy link
Member

@alecandido alecandido commented Oct 10, 2024

Since py3.13 has been finally published (on Monday), I tried out of curiosity whether it was possible to upgrade our version constraint to use that.

We do not directly rely on Python internals, and py3.x versions are backward compatible (in principle). So, there is no reason for Qibo not to support it, for as long as our dependencies support that.

So, it was just a matter of running poetry lock, and... it seems working.

Now, we still need to solve the Qibojit problem (that in the meanwhile became also a Qibotn one, and soon Qiboml as well).

I expected this to be blocked by TensorFlow once again. And it should, since they are not distributing wheels for py3.13 yet (and they apparently won't before next year tensorflow/tensorflow#62003 (comment)), but apparently they didn't care declaring it
https://github.com/tensorflow/tensorflow/blob/a2fadc33162b16989eb10a541d112e6b9fffa0e1/tensorflow/tools/pip_package/setup.py#L412
and Poetry is not examining the wheel compatibility, so we already got a valid lockfile anyhow.

While going through Qibojit and the rest of it (following the much beloved procedure in #1231 (comment)) further problems may arise. But, at this point, I will have a try soon, also to track the present blockers.

@alecandido
Copy link
Member Author

The CI is of course failing, since I had to disable qibojit and qibotn to lock. Re-enabling them is the missing part to complete this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant