Commit Graph

14 Commits

Author SHA1 Message Date
Ilya.Kazakevich
dbe26ecab3 [python] Fix env tests with conda.
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
2024-02-02 18:35:48 +00:00
Ilya.Kazakevich
3b8b513936 Fix tests and prevent bugs in the future: commit SDK under write action only
GitOrigin-RevId: fda21f17f8a68005b0299fed33b9daecafa8bcc9
2023-12-07 20:24:03 +00:00
Elena Shaverdova
2a399e98ca Fix PyCharm perf tests with "setSdk: sdk is not registered in ProjectJdkTable"
GitOrigin-RevId: 0e2cd067a6836d9b3f30760c5f6aa59ef04761b9
2023-02-28 16:07:38 +00:00
Elena Shaverdova
f74b80d2bb Make setModuleSdk() behaviour same for tests and production
GitOrigin-RevId: b9684370761c8387b5b54111840cd853cfa557e1
2023-01-24 11:12:17 +00:00
Elena Shaverdova
2342683398 Improvements for CR-99206 PY-53631 PyCharm 2021.3 indexing files/folders/symlinks in excluded folder
GitOrigin-RevId: f92409ac5906ea7c3178b72090e76594d5ec0972
2022-12-14 01:39:49 +00:00
Ilya.Kazakevich
a4dcfdd16e PY-35978: Improve Conda support and refactor other parts to support it.
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
2022-10-12 17:55:25 +00:00
Tagir Valeev
9038e3f77b Remove empty and irrelevant javadoc tags
GitOrigin-RevId: dcbbb8cff7ef267525129c464769f761d92c2120
2022-08-09 09:41:49 +00:00
Ilya.Kazakevich
b06e9cd7cb Fix perf test: `first` can't be null
GitOrigin-RevId: ab1d150d493bc49f14737eb7f4aeb43295a1cd4c
2021-07-21 17:21:11 +00:00
Dmitry Batkovich
9931d1f8d8 drop prebuilt indexes support
GitOrigin-RevId: ab8f7e277db2f56f518dc6546caba2fcfcd30926
2021-05-06 12:31:36 +00:00
Vladimir Krivosheev
a5b0712650 reduce usages of internal impl ApplicationInfoImpl class (to be able to hide it / move out from core to use JDK 11)
GitOrigin-RevId: f1f872290e46585aa2dedd74b8452d15ae958f56
2021-03-27 09:13:45 +00:00
Alexey Kudravtsev
caebf692ce fix project leak in light tests
GitOrigin-RevId: 55251f17c86427cdeafb373eaefc841740b2768b
2020-11-18 17:03:26 +00:00
Semyon Proshev
9109ab3521 Use editable copy of sdk instead of sdk modificator (PY-39477)
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
2020-11-05 18:58:08 +00:00
Stanislav Utikeev
3607636422 LAB-31 Move skeleton util methods from PythonSdkType to PythonSdkUtil
GitOrigin-RevId: 28433a354e92f57bdcfe589b18de05eb03ff2be4
2020-02-10 11:03:00 +00:00
Andrey Vlasovskikh
d055d648b2 Introduced intellij.python.community.testFramework instead of depending on intellij.python.tools
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
2019-11-18 19:07:46 +00:00