[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: dd0cf0c02b18e90022e9ec828b7f9ad2282cd5b3
This commit is contained in:
Alexey Katsman
2025-10-14 19:24:05 +00:00
committed by intellij-monorepo-bot
parent d511ce0919
commit cc191a617f
54 changed files with 886 additions and 418 deletions

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

View File

@@ -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"/>