Some remote interpreters have `sdk#homePath` starting with `ssh://`.
Code all over the monorepo assumes that `homePath` is a local file path and tries to convert it to `Path` throwing the exception effectively.
There is a `isCustomPythonSdkHomePath` which must be used to check string before trying to convert it into `Path`
The current situation (along with "solution") is a legacy from dark ages and will be rewritten to the workspace model soon
GitOrigin-RevId: 9adc02f312667571a65ff63d4e802aa7d6dbb518
PyDetectedSdk is expected to be serialized only by SdkModificatorBridgeImpl for internal storage
Every time PyDetectedSdk is selected as a project interpreter it should be transformed to a regular SDK
GitOrigin-RevId: 2e38e894014436b8a1a2740ea0fd5dc7aacbe10b
Icons removed from SDK package (no need to have a separate class for it), ultimate icons moved out of community module.
There are only 3 icon packages in community:
* `PythonParserIcons`
* `PythonPsiApiIcons`
* `PythonIcons` (aka `intellij.python.community.impl`)
Latter two have `.json` mapper to replace old icons with new one for New UI which is included into corresponding `.xml` file.
GitOrigin-RevId: 0438ad4485b5a82a89c81ec63ae6e575d5bb52de
Verifies if there are python distributives for MacOS / Windows on ARM / X86 / X86_64
(cherry picked from commit 717f1a4540d12502e46e3b0fd29b08d2d2043281)
IJ-MR-121650
GitOrigin-RevId: 71ff849618c362bec369372f4952824a454d607d
also bump sdks.json to latest
(cherry picked from commit 14cc088c20a8b77ee49007d8f7b982920e40c6e6)
IJ-MR-121650
GitOrigin-RevId: db7c0d11a61e239e2f47bd2f1a8dd1156f3712b1
it prevents failures when the python was installed and deleted previously, or it is in a corrupted state (previous installation was cancelled for example)
GitOrigin-RevId: ca373847db5ed694501da3db6e8a7e88aa15efd5
Removed the "commons-collections" library across multiple modules as it is no longer needed. This clean up helps streamline dependencies and reduce project complexity.
GitOrigin-RevId: 3763cf649644d8782e03b7419d780e245c5f3eef
`readableFs` is redundant and unstable. Remove it: we will migrate to ijent anyway.
All validations are in `PathValidator.kt` now. They are used by `ManualPathEntryDialog` and sdk validation.
Lots of thread annotations added to prevent calling validation code from EDT.
In general, this change makes path validation ready for ijent: validation based on nio with slow IO access.
Validation is removed from old, non-target classes
(cherry picked from commit 185b4f7fe8cbd5d7a37dad609c8a4cb8163d6eed)
IJ-MR-112281
GitOrigin-RevId: 12c4a4f3d459d0523ef6694a9e4bb2db7a1582b7
No need to pollute logs with each call, so we cache calls and log it only once. Circular buffer is used to prevent memory leak
Merge-request: IJ-MR-107323
Merged-by: Ilya Kazakevich <ilya.kazakevich@jetbrains.com>
GitOrigin-RevId: ab20095f15a69f02cc971627865a65b396a54d64
``/usr/bin/python`` is symlink in many distros and can't be checked via 9P (``\\wsl$``). Hence, we provide ``Unknown`` for such cases.
See issue comment for more info
(cherry picked from commit 529eec2203f21e91c1ebc4f3df5d9b22ce4fcf3b)
IJ-MR-98852
(cherry picked from commit e4954edbc1d87709387ebaaf0a2cac0f150c5d05)
GitOrigin-RevId: d6b4b955a14e38fe217a20f33e6260c050af0984
Now we have Code Vision hints which determine the author via Git history and show it in the editor automatically, and this information is more accurate than the tags which were automatically added when files were created.
GitOrigin-RevId: f1b80125c2555d89f32aae4e5290d7771a357abf