Skip to content

Commit

Permalink
Update asv.conf.json to support recent changes (Qiskit/qiskit-metapac…
Browse files Browse the repository at this point in the history
…kage#1437)

This commit updates the asv configuration to support two recent changes
in the terra repo. The first is updating the supported python version
list to reflect the current versions supported by terra. Python 3.6 is
no longer supported and python 3.10 is now supported. Additionally,
after Qiskit#7658 merged setuptools-rust and Rust are now
being used to build compiled extensions. While cython is still being
used, it's use will be removed soon with Qiskit#7702. This
commit updates the build configuration to build the rust extension and
then build a wheel from it instead of building the cython extension.
  • Loading branch information
mtreinish authored and SamD-1998 committed Sep 7, 2023
1 parent 7b8ed57 commit dbe3998
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions asv.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
"return-code=any python -mpip uninstall -y qiskit-ignis"
],
"build_command": [
"pip install -U Cython",
"python setup.py build",
"pip install -U Cython setuptools-rust",
"python setup.py build_rust --release",
"PIP_NO_BUILD_ISOLATION=false python -mpip wheel --no-deps --no-index -w {build_cache_dir} {build_dir}"
],

Expand Down Expand Up @@ -67,7 +67,7 @@

// The Pythons you'd like to test against. If not provided, defaults
// to the current version of Python used to run `asv`.
"pythons": ["3.6", "3.7", "3.8", "3.9"],
"pythons": ["3.7", "3.8", "3.9", "3.10"],

// The list of conda channel names to be searched for benchmark
// dependency packages in the specified order
Expand Down

0 comments on commit dbe3998

Please sign in to comment.