Skip to content

Commit

Permalink
[CI] Fix incompatible Python version with symengine (#131)
Browse files Browse the repository at this point in the history
* Use ['quartz'] instead of find_packages()

* Remove symengine

* Fix qiskit and z3 versions

* Revert directory change in setup.py

* Try qiskit 0.25.0

* qiskit 0.44.0 and cython 3.0.0

* qiskit 0.42.0

* Revert change on requirements.txt

* Use qiskit 0.42.1

* python 3.11

* Any version in 3.11

* Remove constrains on cython and qiskit?
  • Loading branch information
xumingkuan authored Oct 5, 2023
1 parent 0c4afdb commit dd21bb6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ channels:
- conda-forge
dependencies:
- pip
- python
- python>=3.11,<3.12
- openmp
- pip:
- cython>=3.0a1
- cython>=3.0.0
- pybind11>=2.6.2
- z3-solver
- qiskit
- z3-solver>=4.8.12.0
- qiskit>=0.42.1
2 changes: 1 addition & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def config_cython():
description="Quartz: Superoptimization of Quantum Circuits",
zip_safe=False,
install_requires=[],
packages=find_packages(),
packages=['quartz'], # find_packages()
url='https://github.com/quantum-compiler/quartz',
ext_modules=config_cython(),
)

0 comments on commit dd21bb6

Please sign in to comment.