From b8131c9d1e0aef2f37d94fcec669ff5fc680b54d Mon Sep 17 00:00:00 2001 From: Alexey Katsman Date: Thu, 23 Oct 2025 18:04:19 +0200 Subject: [PATCH] fixup! [python] PY-84973 Create venv implicitly for welcome project (cherry picked from commit 48f308cabac4e0da9337ef0cda43ecbaf2e8896e) IJ-MR-179754 GitOrigin-RevId: ce5760a8e5b13aa59a1fea0d0e528f5196dadba3 --- .../pycharm/community/ide/impl/PythonSdkConfigurator.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/ide/impl/src/com/intellij/pycharm/community/ide/impl/PythonSdkConfigurator.kt b/python/ide/impl/src/com/intellij/pycharm/community/ide/impl/PythonSdkConfigurator.kt index 903a525b4144..8699571b56ae 100644 --- a/python/ide/impl/src/com/intellij/pycharm/community/ide/impl/PythonSdkConfigurator.kt +++ b/python/ide/impl/src/com/intellij/pycharm/community/ide/impl/PythonSdkConfigurator.kt @@ -59,6 +59,9 @@ class PythonSdkConfigurator : DirectoryProjectConfigurator { /* * DataSpell skips SDK setup on new project creation, so we need to use auto-detection there. At the same time, with PyCharm we * first open a project and only then persist SDK from the dialog. So at this step we'll have null SDK for new projects. + * + * Please note, this is a dirty hack and shouldn't be used like this. We expect this whole configurator to be dropped soon, that's + * why we're not investing time in doing it properly using ide customizations. */ if (sdk != null || (isProjectCreatedWithWizard && !PlatformUtils.isDataSpell())) { return