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

Can't install later than qsim 0.9.5 with python 3.10 #537

Closed
95-martin-orion opened this issue Jul 7, 2022 · 6 comments · Fixed by #538, #544 or #549
Closed

Can't install later than qsim 0.9.5 with python 3.10 #537

95-martin-orion opened this issue Jul 7, 2022 · 6 comments · Fixed by #538, #544 or #549
Assignees

Comments

@95-martin-orion
Copy link
Collaborator

On machines which only have python 3.10 installed, running pip install qsimcirq gets version 0.9.5 with the following error message for later versions: none of the wheel's tags (<wheel>) are compatible.

It is possible to work around this by installing an older python version (e.g. using pyenv), but ideally users shouldn't need to worry about their python version as long as they have at least python 3.7.

To fix this, we should add a python 3.10 wheel to the release.

@95-martin-orion 95-martin-orion self-assigned this Jul 7, 2022
@leofang
Copy link

leofang commented Jul 7, 2022

Thanks, Orion, we also hit this issue today 🙏

@95-martin-orion
Copy link
Collaborator Author

Reopening because the 0.13.1 release does not have python 3.10 wheels, despite being clearly logged in the workflow printout.

@95-martin-orion
Copy link
Collaborator Author

Aha! From the cibuildwheel changelogs:

v2.0.0
🌟 Added the ability to test building wheels on CPython 3.10!

So we need to bump our cibuildwheel version as well.

@95-martin-orion
Copy link
Collaborator Author

Back again, as advancing cibuildwheel still does not fix the issue.

@95-martin-orion
Copy link
Collaborator Author

It's possible that the setup-python version we use does not support python 3.10 (or at least doesn't install it by default). I'll try advancing that version as well.

@95-martin-orion
Copy link
Collaborator Author

This will be fully resolved (verified this time!) once #550 is merged and a new release is created.

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