mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 19:02:13 +07:00
PCQA-1191 update Python versions to build debugger binaries
- remove 2.7 - it fails on modern macOS, and I see little reason to fight the problem - folks using this ancient version could live without Cython speedups - drop 3.6 and 3.7 - PyCharm doesn't officially support them - add 3.13 - update `com.jetbrains.python.envs` to 0.0.33 - there are important fixes there, see PCQA-1107 - switch from JFrog to Space packages, see PCQA-251 (cherry picked from commit f376e512bf9d7c43ad36941c3cec13919e479674) IJ-MR-171420 GitOrigin-RevId: 56f477c2145b24a3117ed5b820d6bb9ed46ed738
This commit is contained in:
committed by
intellij-monorepo-bot
parent
53f2f428fa
commit
948e9c20a9
@@ -1,7 +1,7 @@
|
||||
import org.apache.tools.ant.taskdefs.condition.Os
|
||||
|
||||
plugins {
|
||||
id "com.jetbrains.python.envs" version "0.0.31"
|
||||
id "com.jetbrains.python.envs" version "0.0.33"
|
||||
}
|
||||
|
||||
ext {
|
||||
@@ -12,32 +12,21 @@ boolean isWindows = Os.isFamily(Os.FAMILY_WINDOWS)
|
||||
boolean isMac = Os.isFamily(Os.FAMILY_MAC)
|
||||
|
||||
envs {
|
||||
String python27version = "2.7.18"
|
||||
String python36version = (isWindows) ? "3.6.8" : "3.6.15" // 3.6.8 is broken on modern libc and clang, but latest version for Windows
|
||||
String python37version = "3.7.9"
|
||||
String python38version = "3.8.10"
|
||||
String python39version = "3.9.13"
|
||||
String python310version = "3.10.8"
|
||||
String python311version = "3.11.6"
|
||||
String python312version = "3.12.0"
|
||||
String python313version = "3.13.0"
|
||||
|
||||
def customBuildDir = System.getenv().get("PYCHARM_BUILD_DIR")
|
||||
project.buildDir = customBuildDir? new File(customBuildDir): buildDir
|
||||
bootstrapDirectory = new File(buildDir, 'pythons')
|
||||
envsDirectory = new File(buildDir, 'envs')
|
||||
|
||||
zipRepository = new URL("https://repo.labs.intellij.net/pycharm/python-archives-windows/")
|
||||
zipRepository = new URL("https://packages.jetbrains.team/files/p/py/python-archives-windows/")
|
||||
shouldUseZipsFromRepository = isWindows
|
||||
|
||||
python "python27_64", python27version, "64"
|
||||
virtualenv "py27_64", "python27_64", ["cython"]
|
||||
|
||||
python "python36_64", python36version, "64"
|
||||
virtualenv "py36_64", "python36_64", ["cython"]
|
||||
|
||||
python "python37_64", python37version, "64"
|
||||
virtualenv "py37_64", "python37_64", ["cython"]
|
||||
|
||||
python "python38_64", python38version, "64"
|
||||
virtualenv "py38_64", "python38_64", ["cython"]
|
||||
|
||||
@@ -53,16 +42,10 @@ envs {
|
||||
python "python312_64", python312version, "64"
|
||||
virtualenv "py312_64", "python312_64", ["cython", "setuptools"]
|
||||
|
||||
python "python313_64", python313version, "64"
|
||||
virtualenv "py313_64", "python313_64", ["cython", "setuptools"]
|
||||
|
||||
if (isWindows) {
|
||||
python "python27_32", python27version, "32"
|
||||
virtualenv "py27_32", "python27_32", ["cython"]
|
||||
|
||||
python "python36_32", python36version, "32"
|
||||
virtualenv "py36_32", "python36_32", ["cython"]
|
||||
|
||||
python "python37_32", python37version, "32"
|
||||
virtualenv "py37_32", "python37_32", ["cython"]
|
||||
|
||||
python "python38_32", python38version, "32"
|
||||
virtualenv "py38_32", "python38_32", ["cython"]
|
||||
|
||||
@@ -77,6 +60,9 @@ envs {
|
||||
|
||||
python "python312_32", python312version, "32"
|
||||
virtualenv "py312_32", "python312_32", ["cython", "setuptools"]
|
||||
|
||||
python "python313_32", python313version, "32"
|
||||
virtualenv "py313_32", "python313_32", ["cython", "setuptools"]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user