mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 21:35:00 +00:00
Fix system site packages detection default (#11956)
See https://docs.python.org/3/library/site.html and
a549f43938/Lib/site.py (L614-L639)
:
The default is for system site packages is true, they have to be
disabled by setting the key to something that is not true.
This commit is contained in:
parent
b7f98f1ff2
commit
a169dbeabe
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ impl PyVenvConfiguration {
|
|||
let mut uv = false;
|
||||
let mut relocatable = false;
|
||||
let mut seed = false;
|
||||
let mut include_system_side_packages = false;
|
||||
let mut include_system_side_packages = true;
|
||||
|
||||
// Per https://snarky.ca/how-virtual-environments-work/, the `pyvenv.cfg` file is not a
|
||||
// valid INI file, and is instead expected to be parsed by partitioning each line on the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue