[python] PY-84398 get rid of package prefix in python modules.

It doesn't work. Sad, but true.

GitOrigin-RevId: c6cf4f2971ce813a2ce18afb2dcee22c2c5dad75
This commit is contained in:
Vladimir.Koshelev
2025-09-23 17:40:49 +02:00
committed by intellij-monorepo-bot
parent 966832b3a8
commit c5b44ca085
28 changed files with 79 additions and 25 deletions

View File

@@ -1,4 +1,4 @@
<idea-plugin package="com.intellij.python.langInjection">
<idea-plugin>
<dependencies>
<module name="intellij.python.community.impl"/>
<module name="intellij.platform.langInjection"/>

View File

@@ -11,6 +11,32 @@ jvm_library(
name = "aliasProvider",
visibility = ["//visibility:public"],
srcs = glob([], allow_empty = True),
runtime_deps = [":aliasProvider_resources"]
runtime_deps = [
":aliasProvider_resources",
"//python/python-parser:parser",
"//python/python-ast:ast",
"//python/python-syntax-core:syntax-core",
"//python/python-syntax:syntax",
"//python/python-psi-api:psi",
"//python/python-psi-impl:psi-impl",
"//python/python-sdk:sdk",
"//python/python-sdk-ui:sdk-ui",
"//python/python-pyproject:pyproject",
"//python/poetry",
"//python/python-core-impl:community-core-impl",
"//python/impl.helperLocator:community-helpersLocator",
"//python/openapi:community",
"//python:python-community-impl",
"//python/python-exec-service:community-execService",
"//python/python-exec-service/execService.python",
"//python/installer",
"//python:python-pydev",
"//python/python-venv:community-impl-venv",
"//python/python-hatch:hatch",
"//python/services/internal-impl:python-community-services-internal-impl",
"//python/services/shared",
"//python/services/system-python",
"//python/interpreters",
]
)
### auto-generated section `build intellij.python.community.aliasProvider` end

View File

@@ -7,5 +7,29 @@
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="intellij.python.parser" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.python.ast" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.python.syntax.core" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.python.syntax" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.python.psi" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.python.psi.impl" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.python.sdk" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.python.sdk.ui" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.python.pyproject" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.python.community.impl.poetry" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.python.community.core.impl" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.python.community.helpersLocator" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.python.community" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.python.community.impl" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.python.community.execService" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.python.community.execService.python" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.python.community.impl.installer" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.python.pydev" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.python.community.impl.venv" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.python.hatch" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.python.community.services.internal.impl" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.python.community.services.shared" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.python.community.services.systemPython" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.python.community.interpreters" scope="RUNTIME" />
</component>
</module>

View File

@@ -1,4 +1,4 @@
<idea-plugin package="com.intellij.python.community.impl.huggingFace">
<idea-plugin>
<dependencies>
<module name="intellij.json.backend"/>
<module name="intellij.python.community.impl"/>

View File

@@ -1,4 +1,4 @@
<idea-plugin package="com.intellij.pycharm.community.ide.impl.promotion">
<idea-plugin>
<!--Customization code for Community Pycharm only. Promotes PyCharm Prof.-->
<dependencies>

View File

@@ -1,4 +1,4 @@
<idea-plugin package="com.intellij.pycharm.community.ide.impl">
<idea-plugin>
<!--Customization code for both Community and Pro PyCharms-->
<dependencies>
<plugin id="com.intellij.modules.python"/>

View File

@@ -1,4 +1,4 @@
<idea-plugin package="com.intellij.pycharm.community.ide.implTraining">
<idea-plugin>
<dependencies>
<plugin id="training"/>
<module name="intellij.python.featuresTrainer"/>

View File

@@ -1,5 +1,5 @@
<!-- Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
<idea-plugin package="com.intellij.python.community.communityOnly">
<idea-plugin>
<!--Community only, never professional: both plugin and DS -->
<dependencies>
<module name="intellij.python.community.impl"/>

View File

@@ -1,4 +1,4 @@
<idea-plugin package="com.intellij.python.ml.features">
<idea-plugin>
<dependencies>
<module name="intellij.platform.ml.logs"/>
<module name="intellij.python.psi.impl"/>

View File

@@ -18,6 +18,8 @@ jvm_library(
"//python/services/system-python",
"//python/services/shared",
"//json/backend",
"//python/aliasProvider",
"//python/impl.helperLocator:community-helpersLocator",
]
)
### auto-generated section `build intellij.python.community.plugin` end

View File

@@ -1,4 +1,4 @@
<idea-plugin package="com.intellij.python.community.plugin.impl">
<idea-plugin>
<!--Plugin for other (not PyCharm) IDEs, including IU-->
<dependencies>
<!--Any IDE but NOT PyCharm-->

View File

@@ -12,5 +12,7 @@
<orderEntry type="module" module-name="intellij.python.community.services.systemPython" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.python.community.services.shared" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.json.backend" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.python.community.aliasProvider" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.python.community.helpersLocator" scope="RUNTIME" />
</component>
</module>

View File

@@ -1,4 +1,4 @@
<idea-plugin package="com.intellij.python.community.plugin.java">
<idea-plugin>
<!--For IU or IC-->
<dependencies>
<!-- Supports Java -->

View File

@@ -1,4 +1,4 @@
<idea-plugin package="com.intellij.python.community.plugin.minor">
<idea-plugin>
<dependencies>
<!--Any IDE but NOT PyCharm-->
<plugin id="com.intellij.modules.python-in-non-pycharm-ide-capable"/>

View File

@@ -1,4 +1,4 @@
<idea-plugin package="com.intellij.python.community.plugin.minorRider">
<idea-plugin>
<dependencies>
<!--Any IDE but NOT PyCharm-->
<plugin id="com.intellij.modules.python-in-non-pycharm-ide-capable"/>

View File

@@ -1,4 +1,4 @@
<idea-plugin package="com.intellij.python.copyright">
<idea-plugin>
<dependencies>
<plugin id="com.intellij.copyright"/>
<module name="intellij.python.community.impl"/>

View File

@@ -1,4 +1,4 @@
<idea-plugin package="com.intellij.python.community.execService">
<idea-plugin>
<dependencies>
<module name="intellij.python.community"/>
<module name="intellij.python.community.helpersLocator"/>

View File

@@ -1,4 +1,4 @@
<idea-plugin package="com.intellij.python.featuresTrainer">
<idea-plugin>
<dependencies>
<plugin id="training"/>
<module name="intellij.python.community.impl"/>

View File

@@ -1,4 +1,4 @@
<idea-plugin package="com.intellij.python.grazie">
<idea-plugin>
<dependencies>
<module name="intellij.python.community.impl"/>
<plugin id="tanvd.grazi"/>

View File

@@ -1,4 +1,4 @@
<idea-plugin package="com.intellij.python.hatch">
<idea-plugin>
<dependencies>
<module name="intellij.python.community"/>
<module name="intellij.python.community.execService"/>

View File

@@ -1,4 +1,4 @@
<idea-plugin package="com.intellij.python.markdown">
<idea-plugin>
<dependencies>
<plugin id="org.intellij.plugins.markdown"/>
<module name="intellij.python.community.impl"/>

View File

@@ -1,4 +1,4 @@
<idea-plugin package="com.intellij.python.pyproject">
<idea-plugin>
<dependencies>
<module name="intellij.python.community"/>
<module name="intellij.python.psi.impl"/>

View File

@@ -1,4 +1,4 @@
<idea-plugin package="com.intellij.restructuredtext.python">
<idea-plugin>
<dependencies>
<plugin id="com.intellij.modules.python"/>
</dependencies>

View File

@@ -1,4 +1,4 @@
<idea-plugin package="com.intellij.python.terminal">
<idea-plugin>
<dependencies>
<module name="intellij.python.community.impl"/>
<plugin id="org.jetbrains.plugins.terminal"/>

View File

@@ -1,4 +1,4 @@
<idea-plugin package="com.intellij.python.community.impl.venv">
<idea-plugin>
<dependencies>
<module name="intellij.python.community"/>
<module name="intellij.python.community.execService"/>

View File

@@ -1,4 +1,4 @@
<idea-plugin package="com.intellij.python.community.services.internal.impl">
<idea-plugin>
<dependencies>
<module name="intellij.python.community"/>
<module name="intellij.python.psi.impl"/>

View File

@@ -1,4 +1,4 @@
<idea-plugin package="com.intellij.python.community.services.shared">
<idea-plugin>
<dependencies>
<module name="intellij.python.community.execService.python"/>
<module name="intellij.python.community"/>

View File

@@ -1,4 +1,4 @@
<idea-plugin package="com.intellij.python.community.services.systemPython">
<idea-plugin>
<dependencies>
<module name="intellij.python.community"/>
<module name="intellij.python.psi.impl"/>