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: only consider package links for sdist and bdist_wheels #5767

Merged
merged 2 commits into from
Sep 7, 2022

Conversation

finswimmer
Copy link
Member

@finswimmer finswimmer commented Jun 4, 2022

Only follow and lock links for packages of type sdist or bdist_wheel in PyPi repository.

Closes: #3649
Closes: #4903

(This is a port of #3656.)

Copy link
Member

@neersighted neersighted left a comment

Choose a reason for hiding this comment

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

LGTM, but I'd like to see at least one or two regression tests validating this behavior in both find_links_for_package and _get_release_info -- assuming that we can mock those without things getting too tangled.

@finswimmer
Copy link
Member Author

LGTM, but I'd like to see at least one or two regression tests validating this behavior in both find_links_for_package and _get_release_info -- assuming that we can mock those without things getting too tangled.

Done.

@neersighted neersighted added the impact/changelog Requires a changelog entry label Sep 7, 2022
@neersighted neersighted merged commit a38abcf into python-poetry:master Sep 7, 2022
poetry-bot bot pushed a commit that referenced this pull request Sep 7, 2022
Only follow and lock links for packages of type `sdist` or `bdist_wheel`
in PyPi repository.

Closes: #3649
Closes: #4903

(This is a port of #3656.)

(cherry picked from commit a38abcf)
neersighted pushed a commit that referenced this pull request Sep 7, 2022
Only follow and lock links for packages of type `sdist` or `bdist_wheel`
in PyPi repository.

Closes: #3649
Closes: #4903

(This is a port of #3656.)

(cherry picked from commit a38abcf)
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
impact/backport Requires backport to stable branch impact/changelog Requires a changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can not install 'stylus': EnvCommandError poetry unable to install hbmqtt
2 participants