mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[python] PY-83881 Fix virtualenv detection
GitOrigin-RevId: 961cde31437e943e2d5a83028dd6d334f6dcf998
This commit is contained in:
committed by
intellij-monorepo-bot
parent
31a2eab8a0
commit
76c6323c80
+1
-1
@@ -44,7 +44,7 @@ class PyVenvSdkConfiguration : PyProjectSdkConfigurationExtension {
|
||||
}
|
||||
|
||||
private fun getVirtualEnv(module: Module): PyDetectedSdk? = detectAssociatedEnvironments(module, existingSdks, context)
|
||||
.firstOrNull { it.pyvenvContains("virtualenv = ") }
|
||||
.firstOrNull { !it.pyvenvContains("uv = ") }
|
||||
|
||||
private suspend fun setupVenv(module: Module): PyResult<Sdk> {
|
||||
val env = withContext(Dispatchers.IO) {
|
||||
|
||||
Reference in New Issue
Block a user