forked from Qiskit/qiskit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
__qiskit_version__ deprecation (Qiskit#10242)
* __qiskit_version__ deprecation * reno * reno feature * PackageNotFoundError * revert stacklevel=2 * revert change in test * remove OrderedDict * other qiskit.__qiskit_version__ packages have their own __version__ * wording in the reno * lint * Update qiskit/tools/jupyter/version_table.py Co-authored-by: Matthew Treinish <[email protected]> * Update qiskit/tools/jupyter/version_table.py * Restore removed version checks --------- Co-authored-by: Matthew Treinish <[email protected]>
- Loading branch information
Showing
3 changed files
with
39 additions
and
14 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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
features: | ||
- | | ||
The magic ``%qiskit_version_table`` from ``qiskit.tools.jupyter`` now includes all | ||
imported modules with ``'qiskit`` in their name. | ||
deprecations: | ||
- | | ||
The dictionary ``qiskit.__qiskit_version__`` is deprecated, as Qiskit is define with a single package (``qiskit-terra``). | ||
In the future, ``qiskit.__version__`` will be the single point to query the Qiskit release, as a standard string. |