Skip to content

Commit 998842c

Browse files
authored
Cap 2.3.x compatibility at IntelliJ 261 (#184)
The published `2.3.1` ships with an open `untilBuild`, so the JetBrains Marketplace serves it to IntelliJ Platform `262` (2026.2). There it is binary incompatible and fails at runtime with `NoSuchMethodError` and `NoSuchClassError`, because build `262` reshaped several Python SDK entry points the plugin depends on. The `UvSdkAdditionalData` constructor now takes `String?` paths instead of `Path?`, `VirtualEnvSdkFlavor.getInstance()` moved to `com.intellij.python.venv.sdk.flavors`, `PythonSdkUtil.isVirtualEnv(String)` is gone, and the uv icons moved to `com.intellij.python.uv.common.icons`. Capping `untilBuild` at `261.*` keeps the `2.3.x` line scoped to the `2026.1` API it was compiled against, so the Marketplace stops offering it to `2026.2`. 🔒 Full `262` support arrives separately on the `2.4.x` line, which lets both compatibility ranges live side by side on the Marketplace. This also bumps the development version to `2.3.2-dev` and supersedes the automated post-release bump in #183.
1 parent a050a73 commit 998842c

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

build.gradle.kts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,10 @@ intellijPlatform {
103103

104104
ideaVersion {
105105
sinceBuild = providers.gradleProperty("pluginSinceBuild")
106-
untilBuild = provider { null }
106+
// The 2.3.x line targets the 2026.1 (261) Python SDK API. Build 262 changed
107+
// UvSdkAdditionalData, VirtualEnvSdkFlavor, PythonSdkUtil.isVirtualEnv and the uv
108+
// icon package incompatibly, so cap here and ship 262 support from the 2.4.x line.
109+
untilBuild = "261.*"
107110
}
108111
}
109112

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ pluginGroup=com.github.pyvenvmanage
99
pluginName=PyVenv Manage 2
1010
pluginRepositoryUrl=https://github.com/pyvenvmanage/PyVenvManage
1111
pluginSinceBuild=261
12-
pluginVersion=2.3.1-dev
12+
pluginVersion=2.3.2-dev

0 commit comments

Comments
 (0)