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

Docker / Test on ubuntu-latest CI failes due to numpy conflict #624

Closed
NoureldinYosri opened this issue Sep 22, 2023 · 0 comments · Fixed by #628
Closed

Docker / Test on ubuntu-latest CI failes due to numpy conflict #624

NoureldinYosri opened this issue Sep 22, 2023 · 0 comments · Fixed by #628

Comments

@NoureldinYosri
Copy link
Collaborator

by the time

RUN pip3 install --prefer-binary cirq-core --force
gets executed a numpy version is installed by pybind11 at
RUN apt-get install -y python3-dev python3-pybind11 python3-pytest python3-pip

The --force doesn't help because this is a conflict between a pip backage (for cirq) and a system package.

Example https://github.com/quantumlib/qsim/actions/runs/5914985909/job/16076067832?pr=621

NoureldinYosri added a commit that referenced this issue Oct 18, 2023
fixes #624
the docker CI failes due to a mismatch between system packages scientific libraries (e.g. numpy) installed by `python3-pybind11` and those required by Cirq. Fix by allowing Cirq to override those packages' versions. This is the same as we had before with the `--force` flag which doesn't seem to work anymore, instead I'm using `a virtualenv

---

fixes #625
these were broken due to an update to the LLVM library which broke the compilation step https://bugs.llvm.org/show_bug.cgi?id=27310. Fix is to upgrade libc-bin.

---

fixed #627 internally
This was referenced Oct 18, 2023
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 a pull request may close this issue.

1 participant