mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-26 00:59:27 +07:00
Replace Gradle-based local Python compilation with prebuilt standalone distributions downloaded from JetBrains cache redirector. Introduces provider-based architecture for test environment management with improved JUnit4/JUnit5 integration. Key changes: - Remove setup-test-environment Gradle module and build infrastructure - Introduce python-test-env modules (core, common, plain, conda, uv, junit4, junit5) - Implement PyEnvironmentProvider/PyEnvironmentSpec abstractions - Add JUnit5 annotations (@RequiresPoetry, @RequiresUv, @RunOnEnvironments) - Implement caching system with PyEnvDownloadCache and variant-specific directories - Predefined environments like: VANILLA_2_7, VANILLA_3_11, VANILLA_3_12, VANILLA_3_13 Benefits: - Faster test environment provisioning (no compilation required) - Consistent cross-platform behavior with identical Python builds - Improved reliability by eliminating platform-specific build failures - Better test framework integration with parameterized environment testing GitOrigin-RevId: a44957c3014f9e1fc7dbec347a7e245675f999c1
30 lines
1.0 KiB
Python
30 lines
1.0 KiB
Python
### auto-generated section `build intellij.python.community.execService.python` start
|
|
load("@rules_jvm//:jvm.bzl", "jvm_library", "resourcegroup")
|
|
|
|
resourcegroup(
|
|
name = "execService.python_resources",
|
|
srcs = glob(["resources/**/*"]),
|
|
strip_prefix = "resources"
|
|
)
|
|
|
|
jvm_library(
|
|
name = "execService.python",
|
|
module_name = "intellij.python.community.execService.python",
|
|
visibility = ["//visibility:public"],
|
|
srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True),
|
|
resources = [":execService.python_resources"],
|
|
deps = [
|
|
"@lib//:kotlin-stdlib",
|
|
"//python/python-exec-service:community-execService",
|
|
"//python/openapi:community",
|
|
"@lib//:jetbrains-annotations",
|
|
"//libraries/kotlinx/coroutines/core",
|
|
"//platform/eel",
|
|
"//platform/eel-provider",
|
|
"//python/impl.helperLocator:community-helpersLocator",
|
|
"//platform/util",
|
|
"//platform/core-api:core",
|
|
"//python/python-sdk:sdk",
|
|
]
|
|
)
|
|
### auto-generated section `build intellij.python.community.execService.python` end |