Skip to content

Commit

Permalink
Fix qiskit-aer/library/save-instructions/save_data.py (#2064)
Browse files Browse the repository at this point in the history
* fix qiskit-aer/library/save-instructions/save_data.py

* Remove unsupported qiskit-ibmq-provider from docs job

The tox docs job definition was previously installing the
qiskit-ibmq-provider which is no longer supported and the project is
orphaned. This commit fixes this by removing the unnecessary dependency.

* change build wheel

* test

* test

* Revert "change build wheel"

This reverts commit 23cdf3c.

* add use-pep517 to symengine

* add use-pep517 to symengine on Windows

* skip build test for Windows

* test

* test

* test

* test-skip windows and i686

---------

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
  • Loading branch information
doichanj and mtreinish authored Feb 28, 2024
1 parent 5991cf8 commit 74e4397
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ jobs:
uses: microsoft/setup-msbuild@v1.0.2
if: runner.os == 'Windows'
- name: Install deps
run: python -m pip install -U cibuildwheel==2.16.2
run: python -m pip install -U cibuildwheel==2.16.5
- name: Build Wheels
env:
AER_CMAKE_OPENMP_BUILD: 1
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ build-backend = "setuptools.build_meta"
[tool.cibuildwheel]
manylinux-x86_64-image = "manylinux2014"
manylinux-i686-image = "manylinux2014"
skip = "pp* cp36* cp37* *musllinux*"
test-skip = "cp310-win32 cp310-manylinux_i686 cp311-win32 cp311-manylinux_i686 cp312-win32 cp312-manylinux_i686"
skip = "pp* cp36* cp37* cp38* *musllinux*"
test-skip = "cp3*-win32 cp3*-manylinux_i686"
test-command = "python {project}/tools/verify_wheels.py"
# We need to use pre-built versions of Numpy and Scipy in the tests; they have a
# tendency to crash if they're installed from source by `pip install`, and since
Expand Down
2 changes: 1 addition & 1 deletion qiskit_aer/library/save_instructions/save_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def assemble(self):
instr.label = self._label
return instr

def inverse(self):
def inverse(self, annotated=False):
"""Special case. Return self."""
return copy.copy(self)

Expand Down
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ commands = black qiskit_aer test tools setup.py
deps =
-r requirements-dev.txt
build
qiskit-ibmq-provider
commands =
python -I -m build --wheel -C=--build-option=-j4
pip install --find-links={toxinidir}/dist qiskit_aer
Expand Down

0 comments on commit 74e4397

Please sign in to comment.