pypa / pip

The Python package installer
https://pip.pypa.io/
MIT License
9.49k stars 3.01k forks source link

Use `--no-build-isolation` in tests to avoid using Internet #12787

Closed mgorny closed 2 months ago

mgorny commented 3 months ago

Add --no-build-isolation to the pip invocation in pip_editable_parts fixture and a few tests, to avoid downloading setuptools wheel from PyPI. This change makes it possible again to run the vast majority of pip tests (with the exception of 3 tests) offline.

Fixes #12786.

[I don't think this is an end user-facing change, so no news item]

ichard26 commented 3 months ago

Main CI is green now. Let's merge main in here and get this landed.

mgorny commented 2 months ago

Thanks!