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

[CI] Fix incompatible Python version with symengine #131

Merged
merged 12 commits into from
Oct 5, 2023
Merged

Conversation

xumingkuan
Copy link
Collaborator

@xumingkuan xumingkuan commented Oct 5, 2023

Previously env.yml automatically chose the latest Qiskit version. On Oct 4, 2023, Qiskit-terra released v0.25.2.1 (Qiskit v0.44.0), which required symengine < 0.10. While symengine v0.10 fixed a bug in #110, previous CI used symengine v0.9.2, and the line symengine < 0.10 existed in Qiskit-terra since March, so this is probably not the exact reason why CI failed.

After several tries, fixing Python to any minor version of 3.11 (i.e., < 3.12) seems to solve this issue. It seems that symengine does not support Python 3.12 yet (symengine/symengine-wheels#11, Qiskit/qiskit#10887).

@xumingkuan xumingkuan changed the title Use ['quartz'] instead of find_packages() [CI] Fix incompatible qiskit version with symengine Oct 5, 2023
@xumingkuan xumingkuan changed the title [CI] Fix incompatible qiskit version with symengine [CI] Fix incompatible Python version with symengine Oct 5, 2023
@xumingkuan xumingkuan marked this pull request as ready for review October 5, 2023 20:29
@xumingkuan xumingkuan merged commit dd21bb6 into master Oct 5, 2023
2 checks passed
@xumingkuan xumingkuan deleted the fix-ci branch October 5, 2023 20:29
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