[python] (IJPL-205889) (BAZEL-2462) don't call getOrCreateAdditionalData for non-python sdks

+ add requirePythonSdk() verification for the Sdk extension functions, these methods are not designed to be called for non-python sdks and now will throw IllegalArgumentException.

also corrects dependency tree:
+ move PythonSdkUtil to the python.sdk module, remove dependency on psi.impl
+ create PySkeletonUtil for skeleton utils and leave it in the psi.impl

[python] (IJPL-205889) (BAZEL-2462) don't call getOrCreateAdditionalData for non-python sdks

+ add requirePythonSdk() verification for the Sdk extension functions, these methods are not designed to be called for non-python sdks and now will throw IllegalArgumentException

also corrects dependency tree:
+ move PythonSdkUtil to the python.sdk module, remove dependency on psi.impl
+ create PySkeletonUtil for skeleton utils and leave it in the psi.impl

GitOrigin-RevId: 20d958c5e15cc4e05545b2e61b126b5e015696ed
This commit is contained in:
Vitaly Legchilkin
2025-10-10 18:17:28 +00:00
committed by intellij-monorepo-bot
parent d071383211
commit 84934e9e9e
166 changed files with 838 additions and 656 deletions
@@ -691,7 +691,6 @@
<extensionPoint qualifiedName="com.jetbrains.python.console.runnerFactory"
interface="com.jetbrains.python.console.PythonConsoleRunnerFactory"
dynamic="true"/>
<extensionPoint qualifiedName="Pythonid.remoteSdkValidator" interface="com.jetbrains.python.sdk.PyRemoteSdkValidator" dynamic="true"/>
<extensionPoint qualifiedName="Pythonid.pyTestFixtureExtension"
interface="com.jetbrains.python.testing.pyTestFixtures.PyTestFixtureExtension" dynamic="true"/>
<extensionPoint qualifiedName="Pythonid.pyTestConfigurationSelector"