[python] PY-83881 Detect existing environments when creating SDK

Before the changes, there wasn't any mechanism to detect that
environment was already created (for example, .venv exists in the
project). In these situations, during SDK creation we could've created
another environment which was not expected by users.

With these changes, it's now possible to detect in the configurator that
environment already exists, and use it when creating SDK.


Merge-request: IJ-MR-177317
Merged-by: Alexey Katsman <alexey.katsman@jetbrains.com>

GitOrigin-RevId: a612a1069ca5275bedbcfa6af9377059dab7c072
This commit is contained in:
Alexey Katsman
2025-10-14 19:24:05 +00:00
committed by intellij-monorepo-bot
parent 12b01ad006
commit 59fa0db43c
54 changed files with 894 additions and 421 deletions
+3
View File
@@ -60,6 +60,9 @@
- name: $MAVEN_REPOSITORY$/completion/ml/python/features/ml-completion-prev-exprs-models/1/ml-completion-prev-exprs-models-1.jar
completion-ranking-python-with-full-line:
- name: $MAVEN_REPOSITORY$/org/jetbrains/intellij/deps/completion/completion-ranking-python-with-full-line/0/completion-ranking-python-with-full-line-0.jar
- name: lib/modules/intellij.python.community.impl.pipenv.jar
contentModules:
- name: intellij.python.community.impl.pipenv
- name: lib/modules/intellij.python.community.impl.poetry.jar
contentModules:
- name: intellij.python.community.impl.poetry
@@ -37,6 +37,7 @@ The Python plug-in provides smart editing for Python scripts. The feature set of
<module name="intellij.python.sdkConfigurator.backend"/>
<module name="intellij.python.sdkConfigurator.frontend"/>
<module name="intellij.python.community.impl.poetry" loading="required"/>
<module name="intellij.python.community.impl.pipenv" loading="required"/>
<module name="intellij.python.community.core.impl" loading="required"/>
<module name="intellij.python.community.helpersLocator" loading="required"/>
<module name="intellij.python.community" loading="required"/>