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

Change assertion in topological sorting #9055

Merged
merged 3 commits into from
Oct 27, 2020

Conversation

pradyunsg
Copy link
Member

Fixes #9031

@pradyunsg pradyunsg added kind: workaround Is a workaround for a problem type: bugfix skip news Does not need a NEWS file entry (eg: trivial changes) labels Oct 26, 2020
@pradyunsg
Copy link
Member Author

I don't think this needs a NEWS entry, since it's merely updating an assertion. Holler if you disagree. :)

@pradyunsg
Copy link
Member Author

pradyunsg commented Oct 26, 2020

And this is why we have CI and linters, because OF COURSE I forgot to update the type annotation. :)

@pfmoore
Copy link
Member

pfmoore commented Oct 26, 2020

... and it's why whenever I approve something there's an implied "as long as the tests all pass" 🙂

@pradyunsg
Copy link
Member Author

Oh look, past-me wrote easy to reason about tests. I see this as a win.

@pradyunsg
Copy link
Member Author

Awesome. We're golden here.

@pradyunsg pradyunsg added this to the 20.3 milestone Oct 26, 2020
@pradyunsg pradyunsg merged commit f5ac343 into pypa:master Oct 27, 2020
@pradyunsg pradyunsg deleted the modify-assertion-in-topological-sort branch October 27, 2020 14:03
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind: workaround Is a workaround for a problem skip news Does not need a NEWS file entry (eg: trivial changes)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2020 resolver: get_topological_weights AssertionError
3 participants