uv/scripts
Zanie Blue 4026710189
Add scenario tests for `pip-compile` (#1011)
e.g. for scenarios that test resolution _without_ installation.

This refactors the `update` script to generate scenario test files for
`pip compile` _and_ `pip install`. We don't overlap scenarios to save
time. We only generate `pip compile` test cases for scenarios we cannot
represent with `pip install` e.g. a `--python-version` override.

The _one_ scenario I added happened to reveal a bug in our resolver
where we were incorrectly filtering versions by the installed version
when wheels were available. Per the comment at
https://github.com/astral-sh/puffin/issues/883#issuecomment-1890773112,
we should _only_ need to check for a compatible installed Python version
when using a different _target_ Python version if we need to build a
source distribution.
53bce68400
resolves this by removing the excessive constraints — the correct Python
version incompatibilities are applied elsewhere.
2024-01-21 17:47:42 -06:00
..
bench Add an incremental resolution benchmark (#954) 2024-01-18 18:18:37 +00:00
benchmarks Rename `puffin-cli` crate to `puffin` (#976) 2024-01-18 19:02:52 -05:00
compare_with_pip Update compare_with_pip.py (#828) 2024-01-08 09:46:30 +00:00
editable-installs Refresh `BuildDispatch` when running pip install with `--reinstall` (#933) 2024-01-15 18:56:18 +00:00
popular_packages Finish install-many with pypi 10k most dependents (#732) 2023-12-27 09:42:51 -05:00
requirements Move Puffin subcommands to a pip namespace (#921) 2024-01-15 16:36:45 +00:00
scenarios Add scenario tests for `pip-compile` (#1011) 2024-01-21 17:47:42 -06:00
wheels Implement `--find-links` as flat indexes (directories in pip-compile) (#912) 2024-01-15 02:04:10 +00:00