From 17c28b69062cce7c167ee91161fc9df159c6d127 Mon Sep 17 00:00:00 2001 From: Pavel Karateev Date: Wed, 16 Jul 2025 16:15:23 +0200 Subject: [PATCH] PCQA-1107 switch to Space Packages `com.jetbrains.python.envs` plugin was published to Gradle Plugin Portal in 2021 last time, an attempt to publish a new version with a set of fixes was rejected by the Gradle approval team while we are currently under discussion with the Gradle team, I think it makes sense to switch to Space Packages we could publish to Space Packages without any issues, the package is also publicly available as we have plans to deprecate the plugin, I consider this as a temp solution, though Space Packages might be better suited for hosting the plugin than Gradle Plugin Portal in the first place (cherry picked from commit e6f19caf01ea78796497c0f9890e0c15a22a8f85) IJ-MR-169407 GitOrigin-RevId: 8e394fec3292389db2091011a49fd2c6fde85b3c --- python/setup-test-environment/build.gradle.kts | 2 +- python/setup-test-environment/settings.gradle.kts | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 python/setup-test-environment/settings.gradle.kts diff --git a/python/setup-test-environment/build.gradle.kts b/python/setup-test-environment/build.gradle.kts index 6d71c296f57c..ff01c7ade484 100644 --- a/python/setup-test-environment/build.gradle.kts +++ b/python/setup-test-environment/build.gradle.kts @@ -6,7 +6,7 @@ import kotlin.io.path.createLinkPointingTo import kotlin.io.path.exists plugins { - id("com.jetbrains.python.envs") version "0.0.31" + id("com.jetbrains.python.envs") version "0.0.33" } enum class PythonType { PYTHON, CONDA } diff --git a/python/setup-test-environment/settings.gradle.kts b/python/setup-test-environment/settings.gradle.kts new file mode 100644 index 000000000000..17247524617f --- /dev/null +++ b/python/setup-test-environment/settings.gradle.kts @@ -0,0 +1,10 @@ +// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. + +pluginManagement { + repositories { + maven { + url = uri("https://packages.jetbrains.team/maven/p/py/public-maven") + } + gradlePluginPortal() + } +} \ No newline at end of file