Skip to content
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.

Fix migration guide and code msgs for aqua_globals #1566

Merged
merged 3 commits into from
Apr 4, 2021
Merged

Fix migration guide and code msgs for aqua_globals #1566

merged 3 commits into from
Apr 4, 2021

Conversation

jplewa
Copy link
Contributor

@jplewa jplewa commented Apr 2, 2021

Summary

The migration guide currently says to replace qiskit.aqua.aqua_globals with qiskit.utils.aqua_globals, however qiskit.utils.aqua_globals does not seem to exist. It would appear that qiskit.utils.algorithm_globals is the correct import.

Details and comments

I updated README.md with what I believe to be the correct import. Apologies if I'm wrong - it's sort of hard to make sense of all these changes at once, so do correct me if I'm missing something :)

@CLAassistant
Copy link

CLAassistant commented Apr 2, 2021

CLA assistant check
All committers have signed the CLA.

@woodsp-ibm
Copy link
Member

Thanks for the correction - it was moved and later renamed. Seems that last part we slipped on an did not update here too.

FYI: CI is failing because of a problem in a library we use, where something it depends on was recently updated and has caused a breakage

@manoelmarques
Copy link
Collaborator

Thanks for noticing and fixing this. I added to this PR places in the code where the deprecation msg is wrong.

@manoelmarques manoelmarques added the stable backport potential The bug might be minimal and/or import enough to be port to stable label Apr 3, 2021
@manoelmarques manoelmarques merged commit 5316124 into qiskit-community:master Apr 4, 2021
manoelmarques added a commit to manoelmarques/qiskit-aqua that referenced this pull request Apr 13, 2021
* Fix migration guide for aqua_globals

* Fix deprecation msg for aqua_globals

Co-authored-by: Manoel Marques <manoel.marques@ibm.com>
manoelmarques added a commit that referenced this pull request Apr 13, 2021
* Fix migration guide for aqua_globals

* Fix deprecation msg for aqua_globals

Co-authored-by: Manoel Marques <manoel.marques@ibm.com>

Co-authored-by: Julia Plewa <34098778+jplewa@users.noreply.github.com>
@manoelmarques manoelmarques changed the title Fix migration guide for aqua_globals Fix migration guide and code msgs for aqua_globals Apr 14, 2021
@manoelmarques manoelmarques added the Changelog: Bugfix Include in the Fixed section of the changelog label Apr 14, 2021
@jplewa jplewa deleted the fix-incorrect-migration-guide-for-aqua-globals branch December 17, 2021 19:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Changelog: Bugfix Include in the Fixed section of the changelog stable backport potential The bug might be minimal and/or import enough to be port to stable
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants