uv/.github/workflows
Charlie Marsh 9e41f73e41
Respect non-`sysconfig`-based system Pythons (#2193)
## Summary

`pip` uses `sysconfig` for Python 3.10 and later by default; however, it
falls back to `distutils` for earlier Python versions, and distros can
actually tell `pip` to continue falling back to `distutils` via the
`_PIP_USE_SYSCONFIG` variable.

By _always_ using `sysconfig`, we're doing the wrong then when
installing into some system Pythons, e.g., on Debian prior to Python
3.10.

This PR modifies our logic to mirror `pip` exactly, which is what's been
recommended to me as the right thing to do.

Closes https://github.com/astral-sh/uv/issues/2113.

## Test Plan

Most notably, the new Debian tests pass here (which fail on main:
https://github.com/astral-sh/uv/pull/2144).

I also added Pyston as a second stress-test.
2024-03-05 21:23:35 +00:00
..
build-binaries.yml Pin maturin version in CI for now (#2219) 2024-03-05 15:49:07 -05:00
build-docker.yml Rename to `uv` (#1302) 2024-02-15 11:19:46 -06:00
ci.yml Disable fail-fast during CI jobs (#1887) 2024-02-22 18:09:11 -05:00
publish-pypi.yml feat: bump actions/{download,upload}-artifact (#1947) 2024-02-25 20:09:04 -05:00
release.yml feat: bump actions/{download,upload}-artifact (#1947) 2024-02-25 20:09:04 -05:00
system-install.yml Respect non-`sysconfig`-based system Pythons (#2193) 2024-03-05 21:23:35 +00:00