Skip to content

Pin networkx in constraints#3276

Merged
kdk merged 1 commit into
Qiskit:masterfrom
mtreinish:pin-networkx
Oct 17, 2019
Merged

Pin networkx in constraints#3276
kdk merged 1 commit into
Qiskit:masterfrom
mtreinish:pin-networkx

Conversation

@mtreinish
Copy link
Copy Markdown
Member

Summary

With the recent release of networkx 2.4 several deprecated APIs were
removed. This broke the visualization dependency nxpd. A fix is in
progress [1] to address this. But in the meantime to get tests working
again we need to make sure we do not install networkx 2.4 for testing.
This commit does this by pinning the version we use in our testing in
the constraints file to 2.3. This will unblock our development while we
wait for a new nxpd release.

Details and comments

[1] chebee7i/nxpd#15

With the recent release of networkx 2.4 several deprecated APIs were
removed. This broke the visualization dependency nxpd. A fix is in
progress [1] to address this. But in the meantime to get tests working
again we need to make sure we do not install networkx 2.4 for testing.
This commit does this by pinning the version we use in our testing in
the constraints file to 2.3. This will unblock our development while we
wait for a new nxpd release.

[1] chebee7i/nxpd#15
Copy link
Copy Markdown
Member

@kdk kdk left a comment

Choose a reason for hiding this comment

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

Looks good, we should also update contributing_to_qiskit.rst to include the constraints file.

@kdk kdk merged commit 38b03f4 into Qiskit:master Oct 17, 2019
@mtreinish mtreinish deleted the pin-networkx branch October 17, 2019 14:42
mtreinish added a commit to mtreinish/qiskit-core that referenced this pull request Oct 28, 2019
With the recent release of networkx 2.4 several deprecated APIs were
removed. This broke the visualization dependency nxpd. A fix is in
progress [1] to address this. But in the meantime to get tests working
again we need to make sure we do not install networkx 2.4 for testing.
This commit does this by pinning the version we use in our testing in
the constraints file to 2.3. This will unblock our development while we
wait for a new nxpd release.

[1] chebee7i/nxpd#15

(cherry picked from commit 38b03f4)
kdk pushed a commit that referenced this pull request Oct 28, 2019
With the recent release of networkx 2.4 several deprecated APIs were
removed. This broke the visualization dependency nxpd. A fix is in
progress [1] to address this. But in the meantime to get tests working
again we need to make sure we do not install networkx 2.4 for testing.
This commit does this by pinning the version we use in our testing in
the constraints file to 2.3. This will unblock our development while we
wait for a new nxpd release.

[1] chebee7i/nxpd#15

(cherry picked from commit 38b03f4)
faisaldebouni pushed a commit to faisaldebouni/qiskit-terra that referenced this pull request Aug 5, 2020
With the recent release of networkx 2.4 several deprecated APIs were
removed. This broke the visualization dependency nxpd. A fix is in
progress [1] to address this. But in the meantime to get tests working
again we need to make sure we do not install networkx 2.4 for testing.
This commit does this by pinning the version we use in our testing in
the constraints file to 2.3. This will unblock our development while we
wait for a new nxpd release.

[1] chebee7i/nxpd#15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants