-
Notifications
You must be signed in to change notification settings - Fork 24
Prevent duplicated package versions #110
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
Prevent duplicated package versions #110
Conversation
Any guidance on the failing checks? |
@bennati you need to regenerate the test outputs, the dependencies have been updated for the tests so for fixing tests in test_cli use this command:
for fixing tests in test_resolution, please compare the changes from the expected output. |
@bennati gentle ping! |
The function get_versions_for_package_from_repo might return duplicated package versions in case the specified version is present both as wheel and as sdist package. Duplicated entries cause the package resolution to take longer. The new behavior is that the package version is considered if the package is present as either whel or sdist package. Signed-off-by: Stefano Bennati <[email protected]>
The new dependency tree corresponds to the one generate by pip download --verbose X where X is flask~=2.1.2 and autobahn==22.3.2 respectively. Signed-off-by: Stefano Bennati <[email protected]>
09625b6
to
9383d32
Compare
@bennati Thanks! I think the other failures are not yours. But some weird instability. |
Signed-off-by: Tushar Goel <[email protected]>
@bennati thank you, I have pushed one minor commit on your branch to update the tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
The function get_versions_for_package_from_repo might return duplicated package versions in case the specified version is present both as wheel and as sdist package.
Duplicated entries cause the package resolution to take longer. The new behavior is that the package version is considered if the package is present as either wheel or sdist package.
Signed-off-by: Stefano Bennati [email protected]