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

set numpy version constraint only in dev #1871

Merged
merged 3 commits into from
Jul 12, 2023

Conversation

hhorii
Copy link
Collaborator

@hhorii hhorii commented Jul 11, 2023

Summary

Set lower version of numpy than 1.25 only in development

Details and comments

Qiskit-Aer itself does not have constraint about numpy versions currently.

@hhorii hhorii added Changelog: None PRs that don't have an associated changelog entry. stable-backport-potential The issue or PR might be minimal and/or import enough to backport to stable labels Jul 11, 2023
Comment on lines 1 to 4
numpy<1.25
stestr>=2.5.0
cmake!=3.17.1,!=3.17.0
conan<2.0.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this is just a CI constraint, it'd be more normal to put numpy<1.25 or numpy==1.24.4 into constraints.txt rather than requirements-dev.txt.

@hhorii hhorii force-pushed the pin_numpy_version_only_dev branch from e849b84 to 4936673 Compare July 12, 2023 00:33
@hhorii hhorii merged commit b4e393c into Qiskit:main Jul 12, 2023
34 checks passed
hhorii added a commit to hhorii/qiskit-aer that referenced this pull request Jul 12, 2023
* add numpy version constraint only in dev

* set numpy version constraint in contraints.txt
hhorii added a commit that referenced this pull request Jul 12, 2023
* bump version strings and prepare for release

* Remove `AerCircuit` from result of `backend.run()` (#1845)

* take AerCircuit from _metadata in experiment result

* add reno

* Fix rST formatting

---------

Co-authored-by: Jake Lishman <[email protected]>

* pin numpy version lower than 1.25 (#1859)

* Fix param positions for circuits with conditionals (#1851)

* fix parameter indexing issues.

* fix issues in parameterization of global phase

* add reno

* fix lint

* fix release note

* fix a bug to call _convert_circuit_binds

* add test

* Support save_statevector for QuantumCircuit from QASM3 string (#1846)

* Support save_statevector for QuantumCircuit from QASM3 string

* add qiskit_qasm3_import to requirements-dev.txt

* simplify default_qubits()

* fix lint error

* skip qasm3 circuit test in 3.7

* New GPU binaries with cuQuantum support (#1854)

* New GPU binaries with cuQuantum support

* format setup.py

* remove testpipy settings

* Update setup.py to use numpy with version lower than 1.25

* changed package names, qiskit-aer-gpu for CUDA12, and qiskit-aer-gpu-cu11 for 11

* format setup.py

* Update README.md

Co-authored-by: Matthew Treinish <[email protected]>

* Update releasenotes/notes/renew_gpu_binaries-2cf3eba0853b8407.yaml

Co-authored-by: Matthew Treinish <[email protected]>

* update release note

---------

Co-authored-by: Hiroshi Horii <[email protected]>
Co-authored-by: Matthew Treinish <[email protected]>

* bump up python version from 3.7 to 3.8 to run cibuildwheel (#1867)

* bump up python version from 3.7 to 3.8 to run cibuildwheel

* bump up all python version in deploy workflow

* add reno

* set numpy version constraint only in dev (#1871)

* add numpy version constraint only in dev

* set numpy version constraint in contraints.txt

* bump up version in docs

---------

Co-authored-by: Jake Lishman <[email protected]>
Co-authored-by: Jun Doi <[email protected]>
Co-authored-by: Matthew Treinish <[email protected]>
hhorii added a commit to hhorii/qiskit-aer that referenced this pull request Aug 9, 2023
* add numpy version constraint only in dev

* set numpy version constraint in contraints.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: None PRs that don't have an associated changelog entry. stable-backport-potential The issue or PR might be minimal and/or import enough to backport to stable
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants