-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace qiskit-terra references with qiskit references (#1318)
This change brings qiskit-experiments in line with other packages like qiskit-ibm-provider and qiskit-aer and prepares for the deprecation of the qiskit-terra package. Detailed changes: * Replace qiskit-terra dependency with qiskit dependency - The effective minimum version of qiskit-terra is bumped up one minor version from 0.24 to 0.25 (linked to qiskit 0.44) as part of this change, but since qiskit 0.45 has already been released this should not be an impactful change for most users. * Simplify the code for logging the version of qiskit used. It should always use the Qiskit version as a string. Previously, it could sometimes use a dictionary with the Qiskit and Qiskit Experiments versions. * Remove workaround for `aquire_alignment` misspelling in old versions of terra (because it was commented referencing terra) * Replace qiskit-terra in requirements-dev.txt and tox.ini * Replace various references to "terra" in various code comments with "Qiskit" * Rename terra-main and docs-terra-main tox environments to qiskit-main and docs-qiskit-main * Rename GitHub workflow job terra-main-tests to qiskit-main-tests The only remaining references to "terra" in the codebase are in old release notes.
- Loading branch information
Showing
11 changed files
with
40 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Numpy 1.25 deprecated some behaviours that we used, and caused some | ||
# tests to flake. See https://github.com/Qiskit/qiskit-terra/issues/10305, | ||
# tests to flake. See https://github.com/Qiskit/qiskit/issues/10305, | ||
# remove pin when resolving that. | ||
numpy<1.25 | ||
numpy<1.25 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
releasenotes/notes/qiskit-dependency-3f6b8d71cc4d2c31.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
upgrade: | ||
- | | ||
The dependency on ``qiskit-terra`` was replaced with a dependency on | ||
``qiskit``. This change follows the move in upstream Qiskit to rename | ||
``qiskit-terra`` to ``qiskit``. The minimum required version was increased | ||
from 0.24 for ``qiskit-terra`` to 0.44 for ``qiskit`` (equivalent to | ||
`qiskit-terra`` 0.25). The maximum ``qiskit`` version was set to ``<1.0`` | ||
in anticipation of breaking changes in Qiskit 1.0. Closer to the Qiskit 1.0 | ||
release, a patch release of ``qiskit-experiments`` will remove this | ||
constraint and address any compatibility issues. For more information see | ||
the `Qiskit repository renaming plan | ||
<https://github.com/Qiskit/RFCs/blob/5793e78dc8e4d8d17f8ef7fad789c6c5ebd3a061/0011-repo-rename.md>`__ | ||
and the `Qiskit issue <https://github.com/Qiskit/qiskit/issues/11240>`__ | ||
for the renaming of the package. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
qiskit-terra>=0.45.0 | ||
qiskit>=0.45.0 | ||
black~=22.0 | ||
fixtures | ||
stestr | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters