Skip to content

Commit

Permalink
other qiskit.__qiskit_version__ packages have their own __version__
Browse files Browse the repository at this point in the history
  • Loading branch information
1ucian0 committed Jul 13, 2023
1 parent d0d8588 commit a846ffe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions qiskit/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

# pylint: disable=no-name-in-module,broad-except,cyclic-import

"""Contains the terra version."""
"""Contains Qiskit (terra) version."""

import os
import subprocess
Expand Down Expand Up @@ -96,7 +96,9 @@ def __init__(self):
warnings.warn(
"qiskit.__qiskit_version__ is deprecated since "
"Qiskit Terra 0.25.0, and will be removed 3 months or more later. "
"Instead, you should use qiskit.__version__.",
"Instead, you should use qiskit.__version__. The other packages listed in "
"former qiskit.__qiskit_version__ have their own __version__ module level dunder, "
"as standard in PEP 8.",
category=DeprecationWarning,
)
self._version_dict = {
Expand Down

0 comments on commit a846ffe

Please sign in to comment.