Commit Graph

183 Commits

Author SHA1 Message Date
Ilya.Kazakevich
b1a4c55771 Python: VirtualEnvReader refactoring: move the same module as PythonSdkUtil, and substitute a couple of methods.
`PythonSdkUtil` duplicates VER logic. One Jython-specific thing was also removed as we do not need Jython anymore

GitOrigin-RevId: 658fc42b485ac074a6d89fce3c7408e51cdc8f95
2024-08-12 20:54:06 +00:00
Ilya.Kazakevich
f0bed1051c README for modules
GitOrigin-RevId: a17ea3c806cfbed620d8a1a0ffb3b66dedaeae35
2023-12-20 04:20:29 +00:00
Andrey.Matveev
6a3534901d PY-63273 Add script update stdlib names
GitOrigin-RevId: db945da83237ad13c12a8911351b03d4e1cea592
2023-11-10 17:48:23 +00:00
Andrey.Matveev
e5fc512825 PY-63273 Change script: skip @python2
GitOrigin-RevId: 85c3caf3be794a6ccbea3aefd1b71d7dc0300911
2023-11-10 17:48:22 +00:00
Pavel Karateev
ddc7ef51fd [python] PCQA-279 Add Python 3.12.0 to skeleton generation
GitOrigin-RevId: 3ec5b106bd92a7ffc68d3d5f37ea490e948ed0ea
2023-10-04 19:45:16 +00:00
Elena Shaverdova
f74b80d2bb Make setModuleSdk() behaviour same for tests and production
GitOrigin-RevId: b9684370761c8387b5b54111840cd853cfa557e1
2023-01-24 11:12:17 +00:00
Daniil Ovchinnikov
578eaaf60e rename library kotlin-stdlib-jdk8 -> kotlin-stdlib
GitOrigin-RevId: cddf45ccfd5563d3fe209bea62a1c37c94f44ff9
2023-01-10 12:22:34 +00:00
Semyon Proshev
1b451fd037 Update anaconda versions used in shared indexes infrastructure (PY-50829)
GitOrigin-RevId: fee5a54495ac4de1056e845d786809f73774f1dd
2022-12-21 20:36:37 +00:00
Semyon Proshev
6f250ab078 Remove python 3.6 from prebuilt binary stubs and bundled shared indexes (PY-50829)
GitOrigin-RevId: ea74019a9c3a4ebc1dabc91a3af4427e2f384760
2022-10-31 21:49:21 +00:00
Semyon Proshev
7686699d54 Add python 3.11 to prebuilt binary stubs and bundled shared indexes (PY-50829)
GitOrigin-RevId: 099563b274331056866403779e26a9abcc58cf70
2022-10-31 21:49:18 +00:00
Semyon Proshev
147742ad3b Bump python 3.10 version used in our infrastructure (PY-50829)
GitOrigin-RevId: 37a402555bab9b0d27ccfcba34138b8e3279a3fb
2022-10-31 21:49:15 +00:00
Semyon Proshev
bae8aa77b9 Bump python 3.9 version used in our infrastructure (PY-50829)
GitOrigin-RevId: fb08f46a4ac586d8ff8f3699323043f797296a7d
2022-10-31 21:49:11 +00:00
Semyon Proshev
f83013990f Update anaconda versions used in shared indexes infrastructure (PY-50829)
GitOrigin-RevId: 874a25a4c7255a33d2505773a9a9899cfe225cce
2022-08-24 16:20:21 +00:00
Vladimir Krivosheev
9a32877675 require strict class path to run IDE
GitOrigin-RevId: f8742550d3bb6de6596beb2ce2eed75808f2bfd7
2022-08-16 13:15:54 +00:00
Mikhail Golubev
110f9fb043 Adjust the version check to skip pre-building skeletons for Python 3.6 on Big Sur
GitOrigin-RevId: 5ed06b98b84f8a717d67c411f934e7a6b7c312e7
2022-06-15 15:13:31 +00:00
Leonid Shalupov
943671af2d PackPythonSdkLibsForStubs: check for process exit code
GitOrigin-RevId: ed2e848d2d7399d77791e7dd64352eee898f5cc2
2022-02-12 21:51:27 +00:00
Leonid Shalupov
ec4dfb3e2c build-scripts: move BuildScriptLauncher down the modules order
it's required to run jps-bootstrap targets from intellij.python.tools
in the future BuildScriptLauncher most likely will be a part of util and accessible everywhere

GitOrigin-RevId: db92e30a1c1861d36d377e102d3c8b5545de170f
2022-02-12 18:21:58 +00:00
Semyon Proshev
d09cfa814b Sync with typeshed @ 48f13e451a3ef21002cca3f3b325ff3635f32d66 (PY-41510)
GitOrigin-RevId: b758ee90685ea9ad1e70cd8df2ea92afcb3f0f35
2021-12-24 13:26:30 +00:00
Semyon Proshev
eadad3036f Update anaconda versions used in shared indexes infrastructure (PY-50829)
GitOrigin-RevId: 12de66bf8ff2dfd94b7d882313d3736e812cf28c
2021-12-13 13:28:26 +00:00
Andrey Lisin
7283ce690e Update Gradle Python Envs plugin version in build scripts
(cherry picked from commit 8a21d9da253a77b6d661e6a2eeb677f60c880126)

IJ-CR-16014

GitOrigin-RevId: 229526a3c4ff6a4f1d07d6e5816412179b3c8dba
2021-10-27 21:09:38 +00:00
Semyon Proshev
2553143929 Return ability to have ALL directories with no python during packing python sdk libs
Until it is possible to install several condas on windows.

GitOrigin-RevId: b5ab010a3a4471ad3b44086977732711e0c8b014
2021-10-26 14:05:44 +00:00
Semyon Proshev
a3740f3201 Return ability to have directories with no python during packing python sdk libs
GitOrigin-RevId: ef853cc5b003660f3fdcd7e87562c8a195ca216b
2021-10-26 12:34:05 +00:00
Semyon Proshev
2260f4b7d8 Enable more stubs from typeshed (PY-41509)
GitOrigin-RevId: 0ec9af526f5e90502b9411c806cd1d8170d71482
2021-10-18 16:33:51 +00:00
Semyon Proshev
1186fbe0ca Add python 3.10 to prebuilt binary stubs and bundled shared indexes (PY-50829)
GitOrigin-RevId: beac30e735b26adc8a42187f5d2099811d6380f7
2021-10-14 11:48:26 +00:00
Semyon Proshev
c8ee65e8f3 Remove python 2.7 from prebuilt binary stubs and bundled shared indexes (PY-50829)
GitOrigin-RevId: 89d6e9c046748ede16b8d6fd6b708c2c2962101e
2021-10-11 14:08:29 +00:00
Semyon Proshev
dcf4a22c8f Use java classes to run external process
Our process handler does not return execution by some reason.

GitOrigin-RevId: 1b7f4b3ab7d8ec3a94a614cc2d2e1b6803842c7c
2021-10-05 11:25:09 +00:00
Semyon Proshev
135a729d23 Remove finally block for better diagnostics
GitOrigin-RevId: 5c25b2e7436bf6010bdab94cdec601657842d962
2021-09-24 13:13:59 +00:00
Semyon Proshev
968a69393c Skip python 3.6 during building binary stubs for macos big sur
GitOrigin-RevId: dc51a1b16f7a73b9b7e372e34a515c54e5f73bc0
2021-09-23 12:51:59 +00:00
Semyon Proshev
644ab20a24 Enable more stubs from typeshed (PY-41509)
GitOrigin-RevId: 70e4e01cef508a36c2cdf780c13f07d5d1ee3ddc
2021-08-19 17:20:27 +00:00
Semyon Proshev
7f77fb1c37 Sync with typeshed @ 837b57fdd1a814237ef4b15f6ce19c701303aebb (PY-41510)
Temporarily exclude https://github.com/python/typeshed/pull/4987
Temporarily exclude https://github.com/python/typeshed/pull/5206 from `collections/__init__.pyi`

GitOrigin-RevId: 6146af923d749b0cff56e823101b8f2b8525383d
2021-08-18 15:24:40 +00:00
Semyon Proshev
40e13e1069 Sync with typeshed @ 55a2a180c6f095d7a897ac5da3f7e0e7f8dd908b (PY-41510, PY-44548, PY-46355, PY-48948, PY-48958)
Temporarily exclude https://github.com/python/typeshed/pull/4987
Temporarily exclude https://github.com/python/typeshed/pull/5206 from `collections/__init__.pyi`

GitOrigin-RevId: 1bf4e6120ecd5927a113716878e503239ba33873
2021-05-27 10:14:40 +00:00
Dmitry Batkovich
9931d1f8d8 drop prebuilt indexes support
GitOrigin-RevId: ab8f7e277db2f56f518dc6546caba2fcfcd30926
2021-05-06 12:31:36 +00:00
Semyon Proshev
2a22d4c1ec Update python versions used for building binary stubs and shared indexes to the latest with binaries provided
GitOrigin-RevId: b8a3ca2daf56b44e83f74a2c12a2e26416d219d5
2021-05-05 18:17:20 +00:00
Semyon Proshev
15f4a4daa5 Remove python prebuilt indexes code
They were replaced by shared indexes.

GitOrigin-RevId: b6d5abe5317239f64a6418b73e22657175e1d403
2021-05-04 21:13:34 +00:00
Semyon Proshev
eb0876ce5d Bump python versions used for building binary stubs and shared indexes
GitOrigin-RevId: eb14b4b1d21b3620ea8ca022ae079b200b813f85
2021-05-04 15:44:37 +00:00
Semyon Proshev
672b4be090 Process stdlib/VERSIONS in typeshed and extract names available only in some supported pythons (PY-41510)
GitOrigin-RevId: 02d0cd334f0806f6466a54f8c3ffe2357950dafe
2021-03-04 17:43:07 +00:00
Semyon Proshev
2465b8a67d Enable pyi stubs for several modules (PY-41509, PY-46229)
_ast, _dummy_thread, datetimerange, dummy_thread, dummy_threading, formatter, jwt, platform, string, thread

GitOrigin-RevId: a8010a0bd2381712599be0f96b35ce74e3e0c7d2
2021-03-03 22:46:06 +00:00
Semyon Proshev
39700adb5e Sync with typeshed @ 771e872cf605dbe6b489aa228c0a09a1a8ca69f2 (PY-41510)
Support new typeshed structure

GitOrigin-RevId: 4ada15febc11dc9acb8243c791aef722e16dd958
2021-03-03 22:46:04 +00:00
Semyon Proshev
01a0f6ac38 Add separate build.gradle for conda environments
GitOrigin-RevId: 3255b2724002a44d1c9bc810f4e26916fe4d766a
2021-02-08 16:14:42 +00:00
Semyon Proshev
0c989d58e6 Introduce separate env variable for packed python sdk libs
GitOrigin-RevId: c9acf7d070ee6040f8ad6797ecef16cb715f6b2c
2020-12-31 18:11:21 +00:00
Semyon Proshev
d96e29368d Move python sdk libs packing to the separate script
GitOrigin-RevId: 55d2271ef54842fe15163aac5890fd466409cca6
2020-12-31 17:20:13 +00:00
Semyon Proshev
55b934691b Sync with typeshed @ c3e04054cfe24866ff2c80955a8d8718ece20ed4
Builtins are split again, no need to split them on our side.

GitOrigin-RevId: 886e3d424f9f698271ee6c610358a3de9a28dca5
2020-11-11 18:09:08 +00:00
Mikhail Golubev
868c653105 Fail fast in BuildZippedSkeletons.kt when PYCHARM_PYTHONS is not defined
GitOrigin-RevId: 4f58381822c198ad31d6e34a4a10827bd7de382a
2020-11-04 19:23:35 +00:00
Aleksey Rostovskiy
e6e6e0f7bb Python stubs: return back 3.6.8 version
GitOrigin-RevId: 31a5983bf54cd4efc38702b260943feaedc617ca
2020-10-29 15:09:09 +00:00
Aleksey Rostovskiy
b73ea35c16 Python stubs: remove 3.6.8 version and add 3.9.0
GitOrigin-RevId: 0a357e61cfd21da3c3705882f7d334ea56ab0aaa
2020-10-22 00:55:12 +00:00
Semyon Proshev
feed56de02 Sync with typeshed @ 10d3c6c325090172d5dc1cb99c5ce8a9319d88b2 (PY-41509, PY-41510, PY-44819)
Enable stubs for contextlib, cprofile, fractions, keyword, pipes, pkgutil, typed_ast, zoneinfo.
Skipped several `__init__` to `__new__` changes in builtin classes.

GitOrigin-RevId: dad913f67c69396d0db2d5e550254535713ea2f3
2020-10-19 21:15:33 +00:00
Aleksey Rostovskiy
034f996a4d PyCharm: update python 3.7 in build.gradle files for tests and other utilities to 3.7.8
surprisingly there is no 3.7.9 in pyenv

GitOrigin-RevId: 825780f32b2fb0c708c2c2a41a72cd781f44ef68
2020-08-19 00:07:30 +00:00
Aleksey Rostovskiy
0f9fb1de06 PyCharm: update python versions in build.gradle files for tests and other utilities
GitOrigin-RevId: 7f203001e70c0592bc00d616c19b1878402b1183
2020-08-18 20:32:04 +00:00
Nikolay Chashnikov
edf752f25c [python tools] get rid of dependency on python build scripts
This is needed to ensure that jps-build-script-dependencies-bootstrap library which comes as transitive dependency from build scripts modules won't conflict with dependencies on platform modules (IDEA-222049).

GitOrigin-RevId: 50a49576c03e4fa1ca5cbecc2c3fb117977a3bfb
2020-08-14 16:54:52 +00:00
Semyon Proshev
07de29ae8e Switch typeshed synchronization to use blacklist instead of whitelist
GitOrigin-RevId: db176d2aa8c3a69183798d85098b950910be6dfc
2020-06-02 22:37:58 +03:00