astral-sh/uv

`pip compile --upgrade` behavior with yanked packages

Open

#3644 aperta il 17 mag 2024

Vedi su GitHub
 (7 commenti) (0 reazioni) (0 assegnatari)Rust (3111 fork)batch import
help wanted

Metriche repository

Star
 (84.934 star)
Metriche merge PR
 (Merge medio 7g 16h) (259 PR mergiate in 30 g)

Descrizione

Prompted at https://github.com/astral-sh/uv/issues/3602#issuecomment-2115761269

When a yanked package is pinned in a lockfile and pip compile --upgrade is used and there is no new version of the package in the input range, should we

  1. Downgrade to the unyanked version
  2. Error that a yanked version is being used
  3. Warn that a yanked version is being used
  4. Silently continue to use the yanked version

Note the yanked package is not pinned in the input requirements.

Guida contributor