-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Remove leftover algorithm/opflow utils #11324
Conversation
One or more of the the following people are requested to review this:
|
Pull Request Test Coverage Report for Build 7016704061Warning: This coverage report may be inaccurate.We've detected an issue with your CI configuration that might affect the accuracy of this pull request's coverage report.
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wouldn't profess to know everything that Aqua brought in, but these removals look fine to me and seem to match with #11323.
* Utils in ``qiskit.utils.arithmetic.py`` | ||
* Utils in ``qiskit.utils.circuit_utils.py`` | ||
* Utils in ``qiskit.utils.entangler_map.py`` | ||
* Utils in ``qiskit.utils.name_unnamed_args.py`` | ||
|
||
These functions were used exclusively in the context of ``qiskit.algorithms`` and | ||
``qiskit.opflow``, and were deprecated in Qiskit 0.46, following the deprecations of | ||
``qiskit.algorithms`` and ``qiskit.opflow`` in Qiskit 0.45 and Qiskit Terra 0.24 | ||
respectively. | ||
|
||
The following utilities have also been removed: | ||
|
||
* Utils in ``qiskit.utils.validation.py`` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These references are a slightly weird mix of package syntax and filename syntax. I think dropping the .py
is what's meant?
With the removal of algorithms and opflow in Qiskit#11324, Qiskit#11111, and Qiskit#11086 several optional test dependencies are no longer used in the code base. This commit removes them from requirements-optional.txt as several have compatibility issues with Python 3.12 and are causing failures in the nightly builds. Since they're no longer used we shouldn't bother installing them anymore.
With the removal of algorithms and opflow in Qiskit#11324, Qiskit#11111, and Qiskit#11086 along with the removal of the BIPMapping transpiler pass in Qiskit#10526 several optional test dependencies are no longer used in the code base. This commit removes them from requirements-optional.txt as several have compatibility issues with Python 3.12 and are causing failures in the nightly builds. Since they're no longer used we shouldn't bother installing them anymore.
With the removal of algorithms and opflow in #11324, #11111, and #11086 along with the removal of the BIPMapping transpiler pass in #10526 several optional test dependencies are no longer used in the code base. This commit removes them from requirements-optional.txt as several have compatibility issues with Python 3.12 and are causing failures in the nightly builds. Since they're no longer used we shouldn't bother installing them anymore.
Summary
This PR removed the utils deprecated in #11323 .
Details and comments
Instead of adding a separate release note, I decided to edit the original algorithm utils removal one, as these should have been removed together in the first place, and I think it's less confusing to have all utils listed together instead of in two separate entries.