Skip to content
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

Fix assertion error when determining installation order. #10867

Merged
merged 4 commits into from
Feb 3, 2022
Merged

Fix assertion error when determining installation order. #10867

merged 4 commits into from
Feb 3, 2022

Conversation

mauritsvanrees
Copy link
Contributor

Fixes #10851

Copy link
Member

@pradyunsg pradyunsg left a comment

Choose a reason for hiding this comment

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

This needs a test that ensure that things work even when there's a cycle + restricting one of the nodes in the cycle.

@mauritsvanrees
Copy link
Contributor Author

This needs a test that ensure that things work even when there's a cycle + restricting one of the nodes in the cycle.

I have now added two extra test cases for this.

news/10851.bugfix.rst Outdated Show resolved Hide resolved
@pradyunsg pradyunsg merged commit ff8dbb4 into pypa:main Feb 3, 2022
@mauritsvanrees mauritsvanrees deleted the maurits-topoligical-weights-requirements-only-issue-10851 branch February 3, 2022 09:37
@pradyunsg
Copy link
Member

Thanks @mauritsvanrees! This is in 22.0.3.

@mauritsvanrees
Copy link
Contributor Author

Great! Thanks for the reviews @pradyunsg and @uranusjr !

humitos added a commit to readthedocs/readthedocs.org that referenced this pull request Feb 3, 2022
It seems the problem with pip was solved in
pypa/pip#10867 and 22.0.3 version was released with this
fix.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

22.0: assert len(weights) == expected_node_count AssertionError
3 participants