venv.EnvBuilder.ensure_directories
returns incorrect inc_path
value
#127724
Labels
stdlib
Python modules in the Lib dir
topic-venv
Related to the venv module
type-bug
An unexpected behavior, bug, or error
Bug report
Bug description:
I noticed this when looking at the
venv
code:cpython/Lib/venv/__init__.py
Lines 102 to 109 in 79b7cab
As the name suggests,
installed_base
andinstalled_platbase
should be pointing to the base installation, not the virtual environment.Note: The
include
directory being shared between all environments in a Python installation is a known issue.CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
The text was updated successfully, but these errors were encountered: