Commit Graph

18 Commits

Author SHA1 Message Date
Vladimir Krivosheev
ef0323d07c IJ-MR-162467 don't export intellij.platform.core
GitOrigin-RevId: 05f350c1c087be1bf9b46d8bdac5345a65f55958
2025-06-13 21:52:48 +00:00
Vitaly Legchilkin
06b7a98504 [python] unify Local SDK creation UI in PyCharm and IDEA (PY-79881)
* use the same UI in IDEA for local SDKS as currently PyCharm has, removing redundant code


Merge-request: IJ-MR-164681
Merged-by: Vitaly Legchilkin <Vitaly.Legchilkin@jetbrains.com>

GitOrigin-RevId: fe26897837f41dd2f3b23a328d2a9098ad388e37
2025-06-06 22:08:02 +00:00
Vladimir Krivosheev
65fe061584 IJ-MR-162467 don't export intellij.platform.analysis
GitOrigin-RevId: fcbcb68010b58cb507fee2c47473758b999e471b
2025-06-04 11:16:33 +00:00
Ilia Kirianovskii
85311e9889 [python] Add intellij.libraries.testcontainers (not testcontainers library) to dependencies in intellij.python.community.junit5Tests.framework._test module (IJPL-116621)
Also adds intellij.libraries.testcontainers module.

GitOrigin-RevId: b230f320ca4d058994570640367c549251ceab19
2025-05-04 19:51:17 +00:00
Ilia Kirianovskii
b39b775c41 [python] Add intellij.python.community.junit5Tests.framework._test module descriptor to run tests in dev-mode (IJPL-116621)
GitOrigin-RevId: 6e5047cc36fb3ee4e592b40fcc4399e863167b51
2025-05-03 23:59:28 +00:00
Ilya.Kazakevich
0893401e81 Python: Add tool to mock env vars in tests.
There is a tool named `EnvironmentVariables` which mocks `System.env`.

We use it to mock `System.env` and `EnvironmentUtil`.

See `EnvironmentVariablesPathMockTest` as an example.

GitOrigin-RevId: ef48bf27d0ee2a1f0e02d62ab8370c01c0ecee52
2025-04-16 21:14:49 +00:00
David Lysenko
24544e3599 [pycharm] PY-78648 Address feedback
GitOrigin-RevId: 363b0f62c631d9cebf547088f16780100c36dcf8
2025-02-17 13:58:20 +00:00
Ilya.Kazakevich
f266455cbe Python: remove test-framework -> PyCharm runtime dependency.
To run tests you need an app (see `PlatformPrefix` logic).
We were using runtime PyCharm dependency (so all tests were run against PyCharm) but that broke `packageChecker` tests: they can only run against Idea. They depend on python modules, hence
```
packageChecker -> pythonModules -> PyCharm
```

While we believe that `packageChecker` should somehow configure the right platform explicitly (see `initializeTestEnvironment`) we remove this dependency for now

GitOrigin-RevId: 9ca04de67549ede5f413e7b8d293e0433c33df3e
2025-02-02 21:05:54 +00:00
Ilya.Kazakevich
69d4f52dbb Python tests: move venv test fixture into a separate module
We finally decouple test framework from community impl

GitOrigin-RevId: 87178107f2fe785d295aca4cb46527634f465f90
2025-02-02 21:05:54 +00:00
Ilya.Kazakevich
f5846e0aab Python tests: extract conda junit5 framework
it will help us to decouple test framework from community because conda is coupled tightly to it

GitOrigin-RevId: 75e4fc43f90b6e5c35adf3c80f286729b0f64ddf
2025-02-02 16:49:39 +00:00
Ilya.Kazakevich
94f852297f Python tests: extract conda setup env into separate module.
Test framework doesn't have to depend on conda now

GitOrigin-RevId: c5cb78df09324dc8ab9d335b2ab4deb945633b48
2025-02-02 16:49:39 +00:00
Ilya.Kazakevich
88dc070d16 Python: move classes to access pythons created by setup-env script into right module.
We now store classes to access pythons installed by tests setup env right next to the script

GitOrigin-RevId: 922e5cfbb89e1e550679796e02deb24553ad6852
2025-02-02 07:05:23 +00:00
Ilya.Kazakevich
f90034ed75 Python: close files after project generation
GitOrigin-RevId: 4d166e871d6be6eba86efbf9d72bf5585035ca61
2025-01-31 13:31:06 +00:00
Ilya.Kazakevich
54b33961fe Python: Extract poetry to a separate module to resue it.
We need to decouple it from community.impl

GitOrigin-RevId: 1636a67bc2f0d4d7a93ad255cde58b4bddb84211
2025-01-28 02:47:22 +00:00
Ilya Kazakevich
6b5e485ea8 Introduce wintools module for Native API tools.
Windows Native API is a semi-documented API resided in `ntdll.dll`.
Some tasks can't be achieved on Windows without using this API.
We now have a module that calls native API via JNA and provides some kind of "high" level API for that.


Merge-request: KT-MR-19532
Merged-by: Ilya Kazakevich <ilya.kazakevich@jetbrains.com>

GitOrigin-RevId: aab141d6ae380c4595622b3f5329e48164ed1bf0
2025-01-06 18:18:10 +00:00
Ilya.Kazakevich
417e214ea0 Python test cleanup: no need to depend on main module in tests: it brings too many dependencies.
GitOrigin-RevId: e7a2f750ea6296f416ff7322c0363b4fbf773bb0
2024-12-31 23:51:38 +00:00
Vladimir Krivosheev
7b9ec58009 do not export intellij.database.connectivity.tests
GitOrigin-RevId: a1ef44dfa34cde110c9e6cad19d11b5e3019ab72
2024-12-28 21:45:55 +00:00
Ilya.Kazakevich
8d8fe4750f Python: move junit5 framework to community
We might need it some community modules

GitOrigin-RevId: 015a8d5baacde8b74f6939f476b9ccfbce950ca2
2024-12-25 03:19:23 +00:00