Make pyproject.toml
a selectable option when creating environments
#22010
Labels
area-environments
Features relating to handling interpreter environments
feature-request
Request for new features or functionality
needs PR
Ready to be worked on
Type: Bug
Behaviour
Expected vs. Actual
Expected: Leaving all dependency sources (
requirements.txt
,pyproject.toml
) unchecked should not build and install any dependencies from these files.Actual: Dependencies in
pyproject.toml
are built and installed during the creation of the virtual environment.Steps to reproduce:
.venv
type environment.requirements.txt
orpyproject.toml
files are selected for installing dependencies, e.g. hit Enter while keyboard focus is in the topmost edit box, without any of the checkboxes checked.Note that I had to run these steps twice to even get a working Python virtual environment, because installing the dependencies from
pyproject.toml
forced me to install some tools which I didn't have installed at the time (because I don't need them for what I want to do (edit and lint Python code)) before I could retry creating the virtual environment.Diagnostic data
python.languageServer
setting: DefaultOutput for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)User Settings
Extension version: 2023.17.12582041
VS Code version: Code - Insiders 1.83.0-insider (bccfade64adb249f57c8fcf03cba41609f76ce5c, 2023-09-15T05:35:16.508Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Remote OS version: Linux x64 5.15.90.1-microsoft-standard-WSL2
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: