mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-13 15:52:01 +07:00
[python] Remove unuseful ktor dependencies in intellij.python.community.impl module
Merge-request: IJ-MR-166082 Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com> (cherry picked from commit 447218b7df368ac1c8da7ca3b2d096ccceb93f69) GitOrigin-RevId: b0c146a9eebe689c974ab7bbeec1b80507e54652
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1c14d39463
commit
8a3648c438
@@ -259,8 +259,6 @@ jvm_library(
|
||||
"//python/python-syntax:syntax",
|
||||
"//platform/ui.jcef",
|
||||
"//libraries/io",
|
||||
"//libraries/ktor-client",
|
||||
"//libraries/ktor-client-cio",
|
||||
"//platform/util/progress",
|
||||
"//platform/feedback",
|
||||
"@lib//:kotlinx-datetime-jvm",
|
||||
|
||||
@@ -157,8 +157,6 @@
|
||||
<orderEntry type="module" module-name="intellij.python.syntax" />
|
||||
<orderEntry type="module" module-name="intellij.platform.ui.jcef" />
|
||||
<orderEntry type="module" module-name="intellij.libraries.kotlinx.io" />
|
||||
<orderEntry type="module" module-name="intellij.libraries.ktor.client" />
|
||||
<orderEntry type="module" module-name="intellij.libraries.ktor.client.cio" />
|
||||
<orderEntry type="module" module-name="intellij.platform.util.progress" />
|
||||
<orderEntry type="module" module-name="intellij.platform.feedback" />
|
||||
<orderEntry type="library" name="kotlinx-datetime-jvm" level="project" />
|
||||
|
||||
@@ -26,8 +26,7 @@ The Python plug-in provides smart editing for Python scripts. The feature set of
|
||||
<plugin id="com.intellij.modules.python-core-capable"/>
|
||||
<module name="intellij.json.backend"/>
|
||||
<plugin id="org.toml.lang"/>
|
||||
<module name="intellij.libraries.ktor.client"/>
|
||||
<module name="intellij.libraries.ktor.client.cio"/>
|
||||
<module name="intellij.libraries.kotlinx.io"/>
|
||||
</dependencies>
|
||||
|
||||
<content>
|
||||
|
||||
@@ -26,7 +26,6 @@ import com.jetbrains.python.PyBundle
|
||||
import com.jetbrains.python.packaging.PyExecutionException
|
||||
import com.jetbrains.python.sdk.add.PyAddSdkDialog.Companion.show
|
||||
import com.jetbrains.python.showErrorDialog
|
||||
import io.ktor.utils.io.CancellationException
|
||||
import java.awt.CardLayout
|
||||
import java.awt.event.ActionEvent
|
||||
import java.io.IOException
|
||||
@@ -243,9 +242,6 @@ class PyAddSdkDialog private constructor(
|
||||
try {
|
||||
selectedPanel?.complete()
|
||||
}
|
||||
catch (e: CancellationException) {
|
||||
throw e
|
||||
}
|
||||
catch (e: IOException) {
|
||||
Messages.showErrorDialog(e.localizedMessage, CommonBundle.message("title.error"))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user