Skip to content

Installing qsimcirq~=0.14.0 on Python Docker image tagged 3.10-alpine failed #567

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

Closed
rht opened this issue Oct 22, 2022 · 7 comments
Closed
Assignees

Comments

@rht
Copy link

rht commented Oct 22, 2022

ERROR: Could not find a version that satisfies the requirement qsimcirq~=0.14.0 (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4.dev202006030832, 0.1.0, 0.2.0, 0.3.0, 0.3.1, 0.4.1, 0.5.0, 0.5.1, 0.6.0, 0.7.0, 0.7.1, 0.8.0, 0.9.0, 0.9.2, 0.9.5, 0.10.0.dev20210623)
ERROR: No matching distribution found for qsimcirq~=0.14.0

I suppose this is because the more recent wheels don't support Alpine's musl?

@rht
Copy link
Author

rht commented Oct 22, 2022

@rht
Copy link
Author

rht commented Oct 22, 2022

Based on reading the thread above, it looks like this issue can't be resolved?

@95-martin-orion
Copy link
Collaborator

This looks similar to #537, which tells me your guess about musl is likely correct. I vaguely remember running up against the manylinux vs. musllinux issue there.

@pavoljuhas, could you investigate whether it is possible to add a musl wheel to our release?

@pavoljuhas
Copy link
Collaborator

The cibuildwheel which we use should be in theory capable of producing musllinux wheels. To be worth the effort, we need to make sure that qsimcirq dependencies can be installed on a musl-based system as well.

@rht - can you please check if you can install all packages from qsim requirements.txt?

$ pip install -r requirements.txt

@rht
Copy link
Author

rht commented Oct 24, 2022

I tested on

absl-py
cirq-core~=1.0
numpy~=1.16
pybind11
typing_extensions

and found out that Numpy doesn't support musl yet: numpy/numpy#20089. There were 19 test errors when they tested the musllinux wheel.

@pavoljuhas
Copy link
Collaborator

I suppose this is a no go at this time. Feel free to reopen when numpy wheels are available for musllinux.

@rht
Copy link
Author

rht commented Oct 25, 2022

OK, thank you. I will let you guys know once that Numpy issue is closed and the wheel has made it into a release.

@rht rht closed this as completed Oct 25, 2022
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

No branches or pull requests

3 participants