fixup! [python] PY-84973 Create venv implicitly for welcome project

(cherry picked from commit 48f308cabac4e0da9337ef0cda43ecbaf2e8896e)

IJ-MR-179754

GitOrigin-RevId: ce5760a8e5b13aa59a1fea0d0e528f5196dadba3
This commit is contained in:
Alexey Katsman
2025-10-24 15:24:13 +00:00
committed by intellij-monorepo-bot
parent 791364c9d1
commit b8131c9d1e
@@ -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