[python] PY-84398 get rid of embedded loading rules in PythonCore plugin, fix related issues

GitOrigin-RevId: 54f4bb333e0ca06a002a86c75f0bbc474863253e
This commit is contained in:
Vladimir.Koshelev
2025-09-26 15:15:29 +00:00
committed by intellij-monorepo-bot
parent 73fa5bfe55
commit ba393efaa7
35 changed files with 308 additions and 124 deletions
@@ -4,5 +4,6 @@
<module name="intellij.python.psi.impl"/>
<module name="intellij.python.sdk"/>
<module name="intellij.python.community.execService.python"/>
<module name="intellij.python.community.services.shared"/>
</dependencies>
</idea-plugin>
@@ -1,5 +1,6 @@
<idea-plugin package="com.intellij.python.community.services.shared">
<dependencies>
<module name="intellij.python.community.execService.python"/>
<module name="intellij.python.community"/>
<module name="intellij.python.psi.impl"/>
<module name="intellij.python.sdk"/>
@@ -5,5 +5,30 @@
<module name="intellij.python.sdk"/>
<module name="intellij.python.community.execService"/>
<module name="intellij.python.community.impl.venv"/>
<module name="intellij.python.community.services.shared"/>
<module name="intellij.python.community.services.internal.impl"/>
<module name="intellij.python.community.impl.installer"/>
</dependencies>
<extensions defaultExtensionNs="com.intellij">
<postStartupActivity implementation="com.intellij.python.community.services.systemPython.impl.SystemPythonInitialLoader"/>
</extensions>
<extensions defaultExtensionNs="Pythonid">
<systemPythonProvider implementation="com.intellij.python.community.services.systemPython.impl.providers.LegacySystemPythonProvider"/>
<systemPythonProvider implementation="com.intellij.python.community.services.systemPython.impl.providers.BrewSystemPythonProvider"
os="mac"/>
<systemPythonProvider implementation="com.intellij.python.community.services.systemPython.impl.providers.MacSystemPythonProvider"
os="mac"/>
<systemPythonProvider implementation="com.intellij.python.community.services.systemPython.impl.providers.WindowsSystemPythonProvider"
os="windows"/>
<systemPythonProvider implementation="com.intellij.python.community.services.systemPython.impl.providers.AsdfSystemPythonProvider"/>
<systemPythonProvider implementation="com.intellij.python.community.services.systemPython.impl.providers.PyenvSystemPythonProvider"/>
<systemPythonProvider implementation="com.intellij.python.community.services.systemPython.impl.providers.UnixSystemPythonProvider"
os="unix"/>
</extensions>
</idea-plugin>
@@ -2,7 +2,7 @@
<id>pycharm.systemPython.tests</id>
<dependencies>
<plugin id="PythonCore"/>
<plugin id="com.intellij.modules.python"/>
</dependencies>
<extensions defaultExtensionNs="com.intellij">
<applicationInitializedListener implementation="com.intellij.python.junit5Tests.env.systemPython.SystemPythonRootsFixer"/>