prefix-dev / rip

Solve and install Python packages quickly with rip (pip in Rust)
https://prefix.dev
BSD 3-Clause "New" or "Revised" License
643 stars 21 forks source link

fix: don't strip auth from url #240

Closed Kelwing closed 2 months ago

Kelwing commented 4 months ago

Getting the URL from the response extensions instead of simply using the input URL strips authentication data from the URL. Doing this not only prevents downloading artifacts from a private registry using basic auth, but also causes caching errors when removing a given lock because of the way cache keys are calculated.