Skip to content

Remove constraint on numpy version from tox.ini#1320

Merged
wshanks merged 3 commits into
qiskit-community:mainfrom
wshanks:numpy
Nov 29, 2023
Merged

Remove constraint on numpy version from tox.ini#1320
wshanks merged 3 commits into
qiskit-community:mainfrom
wshanks:numpy

Conversation

@wshanks
Copy link
Copy Markdown
Collaborator

@wshanks wshanks commented Nov 15, 2023

numpy 1.25 had deprecated some functions used by Qiskit. Since the tests are set to fail if deprecation warnings are emitted, the numpy version was pinned while Qiskit worked on addressing the deprecated usage. Now that Qiskit has addressed these issues, the version constraint can be removed.

@wshanks
Copy link
Copy Markdown
Collaborator Author

wshanks commented Nov 15, 2023

The motivation for this constraint was mostly removed in Qiskit main (Qiskit/qiskit#11020 and earlier) and might be addressed enough for the experiments tests at least. Maybe we want to wait and watch Qiskit/qiskit#11232 before merging this, but I thought we could at least have it open as a reminder.

@wshanks wshanks requested a review from coruscating November 15, 2023 20:32
@wshanks wshanks added the Changelog: None Do not include in changelog label Nov 16, 2023
Copy link
Copy Markdown
Collaborator

@coruscating coruscating left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems safe to merge, thanks. Do you want to add a short description for the PR?

@wshanks wshanks added this pull request to the merge queue Nov 29, 2023
Merged via the queue into qiskit-community:main with commit 5bec5d4 Nov 29, 2023
@wshanks wshanks deleted the numpy branch November 29, 2023 21:56
itoko pushed a commit to itoko/qiskit-experiments that referenced this pull request Dec 12, 2023
numpy 1.25 had deprecated some functions used by Qiskit. Since the tests
are set to fail if deprecation warnings are emitted, the numpy version
was pinned while Qiskit worked on addressing the deprecated usage. Now
that Qiskit has addressed these issues, the version constraint can be
removed.

Co-authored-by: Helena Zhang <Helena.Zhang@ibm.com>
nkanazawa1989 pushed a commit to nkanazawa1989/qiskit-experiments that referenced this pull request Jan 17, 2024
numpy 1.25 had deprecated some functions used by Qiskit. Since the tests
are set to fail if deprecation warnings are emitted, the numpy version
was pinned while Qiskit worked on addressing the deprecated usage. Now
that Qiskit has addressed these issues, the version constraint can be
removed.

Co-authored-by: Helena Zhang <Helena.Zhang@ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Changelog: None Do not include in changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants