uv/crates/puffin/tests
Zanie Blue ea4ab29bad
Prefer target Python version over current version for builds (#1040)
Extends #1029 
Closes https://github.com/astral-sh/puffin/issues/1038

Instead of always using the current Python version for builds when a
target version is provided, we will do our best to use a compatible
Python version for builds.

Removes behavior where Python versions without patch versions were
always assumed to be the latest known patch version (previously
discussed in https://github.com/astral-sh/puffin/pull/534). While this
was convenient for resolutions which include packages which require
minimum patch versions e.g. `requires-python=">=3.7.4"`, it conflicts
with the idea that the target Python version you provide is the
_minimum_ compatible version. Additionally, it complicates interpreter
lookup as we cannot tell if the user has asked for that specific patch
version or not.
2024-01-24 11:12:02 -06:00
..
common Avoid encoding current version in test output (#988) 2024-01-19 01:50:23 +00:00
add.rs Rename `puffin-cli` crate to `puffin` (#976) 2024-01-18 19:02:52 -05:00
pip_compile.rs Prefer target Python version over current version for builds (#1040) 2024-01-24 11:12:02 -06:00
pip_compile_scenarios.rs Prefer target Python version over current version for builds (#1040) 2024-01-24 11:12:02 -06:00
pip_install.rs Add `--refresh` behavior to the cache (#1057) 2024-01-23 18:30:26 -05:00
pip_install_scenarios.rs No python prefix in packse scenarios (#1066) 2024-01-24 11:22:48 +00:00
pip_sync.rs Add `--refresh` behavior to the cache (#1057) 2024-01-23 18:30:26 -05:00
pip_uninstall.rs Improve `requirements-txt` error formatting (#1026) 2024-01-22 13:42:17 +00:00
remove.rs Rename `puffin-cli` crate to `puffin` (#976) 2024-01-18 19:02:52 -05:00
venv.rs Improve display of Python versions (#1029) 2024-01-22 18:46:18 +00:00