containerbuildsystem / cachi2

GNU General Public License v3.0
7 stars 25 forks source link

allow downloading yanked sdists for pip dependencies #506

Closed slimreaper35 closed 4 months ago

slimreaper35 commented 5 months ago

Maintainers will complete the following section

Note: if the contribution is external (not from an organization member), the CI pipeline will not run automatically. After verifying that the CI is safe to run:

slimreaper35 commented 5 months ago

This is just a small update on @ben-alkov recent pull request. It was "hidden" deep in the backlog.

ben-alkov commented 5 months ago

The original story is a little weird, because I have definitely seen pip refuse to install anything at all if the only matching download has been yanked.

It's possible that the deps in question weren't pinned, though (e.g. '==' or '==='), which seems to be prereq according to the applicable PEP.

ben-alkov commented 5 months ago

@slimreaper35; Overall, LGTM, but I feel like we should have a little more warning info for end-users.

ben-alkov commented 4 months ago

LGTM, but do we want to have integration test coverage for this too?

Yes