With this change we can move conda into the separate module to decouple test framework from community.impl
GitOrigin-RevId: 589dc29f39d9d46252681c8f31b8fe482e63595f
It is always `--version` and `Python [version]`, no need to have virtual overridable methods.
One doesn't need to know the flavor to get a python version.
(cherry picked from commit 63b16768f1dd299cb4cefb5fd935c44614d6ffb6)
IJ-CR-151990
GitOrigin-RevId: ebc2eb5428c10048cc6f17a6e5c99632b3f7d2cc
was: get only python3 tags (which happens to be python3.12 only)
now: get all pythons except conda and 2, sort them to the 3.12 goes first.
this change reflects `getTestEnvironments` contract better
GitOrigin-RevId: 448b5f67006028a73bfa60e87bd12b31ce032689
Python tests module is for tests only.
Other modules shouldn't depend on it, they should depend on the framework module instead.
GitOrigin-RevId: 51bda8339ab8197f49bab6e9350e0334fe2a3ae8
`PythonSdkUtil` duplicates VER logic. One Jython-specific thing was also removed as we do not need Jython anymore
GitOrigin-RevId: 658fc42b485ac074a6d89fce3c7408e51cdc8f95
Errors have to be processed by caller, not by logging nor swing messages in a function itself.
GitOrigin-RevId: b617810835f41c6874c776a2a5762d7402123336
If environment is conda, we must configure SDK in appropriate way (as bare python path is not enough for conda)
Also: no need to reset currently set additional data
GitOrigin-RevId: 663aa7f24cad138f2c06db711f6af602f68a780b
Each sdk has additional data with flavor and flavor-specific data. For target-based SDK there is also target information. ``PySdkExt`` has extension method that uses this data to execute code on some SDK. For Conda we store path to conda binary and env name.
GitOrigin-RevId: c63b57aac9b5a267b3a6710902670bfe7d10c722
SdkModificator is not well supported in PythonSdkUpdater and editable copy could play its role instead.
The consequence is that changes are applied only after OK is clicked in `Show All` dialog.
Previously it could be came over by creating sdk modificator for original sdk.
GitOrigin-RevId: 5415eb3bb6c971342b1c1ff576c44bc4571d0bde
Module intellij.python.tools depends explicitly on PyCharm Community which leads to errors when
you try to run Python Community tests in the context of any other IDE. This commit introduces
a testFramework module for Python that now contains code from intellij.python.tools necessary
for running tests.
GitOrigin-RevId: 9789469edc396a8b0f7408d453017a5b4e1eebc2