Pavel Karateev
b021da6f13
PCQA-510 Update Miniconda version for env tests to 24.5.0 Python 3.12
...
(cherry picked from commit 0d5e2044bff70313e6f7846661b26e9f5e9d153f)
IJ-MR-141999
GitOrigin-RevId: 066fedd39ef1b1f87b082e2a5f4a53321e924cfa
2024-08-08 20:02:15 +00:00
Ilya.Kazakevich
947938294a
Pycharm tests: add poetry
...
GitOrigin-RevId: 513b7f0bc1d65fb7cca0c6fe81f96175fac5d05f
2024-07-30 13:43:01 +00:00
Pavel Karateev
24b3d0a97f
Explicitly declare the list of default packages
...
GitOrigin-RevId: 8a6a1dd639ea2424b11c0750c560ade9c153b2c4
2024-07-18 15:52:06 +00:00
Ilya.Kazakevich
a5f7d4a772
Add venv to PyCharm tests to test projection creation
...
We need venv becsause PyCharm uses it to create a new project
GitOrigin-RevId: ceba92669d785e1bb2240fc34d364bb4174a818b
2024-07-18 15:52:06 +00:00
Ilya.Kazakevich
8d1eb81886
Remove EOL pythons from gradle script for PyCharm
...
GitOrigin-RevId: 577f0ee87ed0d5a0e23354ddb4bc056372c92422
2024-07-18 15:52:05 +00:00
Irina Fediaeva
3851796622
Install DRF in Django testing env
...
GitOrigin-RevId: fdafa913b286425c40f23fbccf71d46b0e5aac31
2024-07-02 16:13:18 +00:00
Ilia Zakoulov
4e968c51e6
PY-72457: Refactor PyEnvTestSettings to automatically detect local interpeters folder
...
Move code from constructor to `fromEnvVariables` to enhance readibility
and be able to use other functions.
GitOrigin-RevId: 921fb0265feb3dc59f42cbf29bffdc77f5313607
2024-05-07 12:18:53 +00:00
Andrey Lisin
7efde8b4be
Fix Python 2.7 test environment creation task definition
...
GitOrigin-RevId: 36ce80c7d63e22777f905c02cd6bae5297f447d4
2024-04-24 11:25:51 +00:00
Andrey Lisin
f1fc631552
Restore Python 2.7 environment for Python debugger env tests
...
GitOrigin-RevId: 4a0e3d7dfcad262b92f2fcb4209b886e64dc2885
2024-04-22 12:17:01 +00:00
Kseniia Iashina
594de63aed
[python] EnvTests. Drop Python 2.7 environment
...
GitOrigin-RevId: 46ed7913274e805917da99a3a2e6698cb7be5fa8
2024-02-05 15:01:08 +00:00
Kseniia Iashina
d06fda8cd1
[python] EnvTests. Add tag for conda, move Twisted to newer Python
...
- As Conda is installed together with other Pythons it dhould be distinguised. Let's introduce a tag
- Twisted package doesn't work properly in Python 2.7 on macOS. Let's move it to the newer Python
GitOrigin-RevId: a2a4a0f925c4fa7e1bb18df5cbf1f4228c3ebe77
2024-02-02 19:35:08 +00:00
Kseniia Iashina
d9677dac4d
[python] Update Django Python 3.6 -> 3.12 to test Django 5
...
GitOrigin-RevId: d50b9cd3a48f444d29b2aba1e645453fd71f95bd
2024-01-25 19:13:40 +00:00
Kseniia Iashina
02993f3f76
[python] Move conda installation logic to buildscript
...
GitOrigin-RevId: d1b539134836d9f72030f65827818f13a97d11a8
2024-01-25 19:13:40 +00:00
Kseniia Iashina
a917671631
[python] Force script to use ZIPs on Windows
...
GitOrigin-RevId: cf538a37401bae3e97c3176afac065cd239b3f27
2024-01-25 19:13:40 +00:00
Kseniia Iashina
77a7c3db9a
[python] Remove unnecessary mustRunAfter. Use hard links instead of soft ones
...
GitOrigin-RevId: f11e18dfcb9367c71e336cb9d571ed6aa59584f0
2024-01-25 19:13:40 +00:00
Kseniia Iashina
6fa48f3992
[python] Move tasks back to the main file
...
GitOrigin-RevId: 1ae5a17d5eb876bad4a6a8f2d97d64263d54d99e
2024-01-25 19:13:40 +00:00
Kseniia Iashina
d3da9039bb
[python] PCQA-343 Fix pythons 3.7 and 3.8 for macOS
...
In order to be able to install Python 3.X profiles on macOS, the following changes were implemented:
- Unpinned package versions for which bugs were already fixed
- Tensorflow was moved to the offically supported version
GitOrigin-RevId: af7251f85a9e79bcfb0e40f3b5527ccdcc6caa17
2024-01-25 19:13:40 +00:00
Kseniia Iashina
ff0ebcef66
[python] Move custom tasks to separate file
...
GitOrigin-RevId: a1bca1a8cd212fdda3ae3e288a4f2f303386f6e9
2024-01-25 19:13:40 +00:00
Kseniia Iashina
871dd1effb
[python] Refactor setup-test-environment build file to Kotlin and drop obsolete functionality
...
Refactoring is aimed to solve(+) the following problems(-):
- Hard to read code due to the definition of closures and custom tasks inside plugin parameters section
+ Now each function returns small piece of configuration and function itself is defined at the top level
- Poor execution traceability (task "Mics" that does a lot of stuff)
+ Tasks became small and do only one job (populate tags, create symlinks, etc.)
- Unability to easily execute specific python version installation (or exclude from bulk installation)
+ Dependencies between tasks were redefined so that now it's possible to do something like: `./gradlew setup_py38`
- Support of legacy/obsolete functionality
+ Only really used functionality was left
GitOrigin-RevId: 0e73793ff5471d849b9b612a1248f8c46b3d2bb6
2024-01-25 19:13:40 +00:00
Kseniia Iashina
935fca220a
[python] Rename setup-test-environment build.gradle -> build.gradle.kts
...
Rename file before a big refactoring to Kotlin to preserve the history
GitOrigin-RevId: 6dad8414c8e967ed88480e8a85b4d5498ffe6796
2024-01-25 19:13:39 +00:00
Andrey Lisin
1199e0bdaa
PY-36882 Fix debugger not working properly with joblib.Parallel when using loky backend
...
GitOrigin-RevId: 392e04e2e10ae404caf8c561a7c951e7eaea3c9c
2024-01-11 18:52:11 +00:00
Kseniia Iashina
ffbf481523
[python] Refactor pycharm-tests Dockerfile
...
Small changes for better readability, layers organization and cleaner docker context
GitOrigin-RevId: 4dc6c7ecd4fca20de988b19fb322c90175379817
2023-12-11 15:42:19 +00:00
Kseniia Iashina
3f25f3b934
[python] PCQA-251 Move ZIP repository from JFrog to Space
...
GitOrigin-RevId: bcda0d8a1013eb193fef90188687f8d7e905653b
2023-12-11 15:42:19 +00:00
Kseniia Iashina
8b0c903270
[python] PCQA-313 Update Python 3.12.0rc3 to 3.12.0
...
GitOrigin-RevId: 3f5041dbb8332dbff80da11f45689fd9ef4ee175
2023-12-11 15:42:19 +00:00
Pavel Karateev
09980d0009
[python] Install teamcity-message on 3.12 SDK to catch PY-62800
...
(cherry picked from commit efd2dde1b7d10e1691d72ed560ee4532f9ab2c22)
IJ-CR-115023
GitOrigin-RevId: 3a1240616b83f4d132bf2963c3556e561e28eb38
2023-10-09 10:55:33 +00:00
Pavel Karateev
c94a4fea62
[python] PCQA-273 Switch from 3.12 RC2 to RC3
...
GitOrigin-RevId: d076158de38a25cb8fff0205b24da6dc9d534f71
2023-09-28 14:55:40 +00:00
Pavel Karateev
6c891e05ab
[python] PCQA-247 Run env tests on 3.12.0rc2
...
3.12.0rc2 is already available for `pyenv`
so there is no need to limit 3.12 tests with Windows
GitOrigin-RevId: 68cca5bb2ff93a4015111bf9263433ffd33239f4
2023-09-13 13:17:43 +00:00
Ilya.Kazakevich
109398a6f6
Rename test env back to django env: required by django tests
...
GitOrigin-RevId: e0bfd0c481402efd2af06be586db02fdad2c4b77
2023-08-05 23:49:07 +00:00
Ilya.Kazakevich
1ac8de30b7
[python tests] Dockerfile to build environment to run tests.
...
This file doesn't depend on any environment and `RUNNER` could run on any Linux.
Pythons are in `/pythons`
GitOrigin-RevId: 2c49ccf448d2812e86a043aa005d78f1ff604528
2023-07-27 20:50:40 +00:00
Ilya.Kazakevich
ad1a37fa73
decrease number of pythons and resort them
...
GitOrigin-RevId: d1f069e8cc5853ed26ff154c9f3f09e96a77e231
2023-07-27 00:28:12 +00:00
Ilya.Kazakevich
66baa2f76a
[python tests] experiments: pregenerate pyc, get rid of useless sleep
...
GitOrigin-RevId: ff9a258059aba45c28c62b2d370464e2bb500599
2023-07-25 23:12:31 +00:00
Ilya.Kazakevich
32a6121088
[python tests] Update gradle version, use cache, use stable version that supports libc
...
GitOrigin-RevId: 5fe7f4f7a999adf6a25d8bc16065bdc12b7bbcf1
2023-07-24 22:15:51 +00:00
Mikhail Golubev
9b4bd066fa
PY-53599 Simpler env smoke test for Tensorflow module structure
...
Namely, test only against the latest version of the library. Check completion
only for a few common submodules of tensorflow. Check resolve for all of them
in one inspection pass, instead of resolving each separately. Generate expected
test data dynamically through module introspection.
GitOrigin-RevId: df5c4c4f765116bc7329454d5cc0b2aa1a6a86b5
2023-07-20 19:36:11 +00:00
Ilya.Kazakevich
091b1cb74a
Do not install Python 3.12 on **nix for PyCharm tests.
...
```
python-build: definition not found: 3.12.0b3
```
There is no 3.120b3 in pyenv
GitOrigin-RevId: ef1371e12ed712ab90a1dad6e9a2604e6ea628fa
2023-07-13 12:20:03 +00:00
Ilya.Kazakevich
437cca5fd6
link/add-conda-to-py-tests
...
Add conda to Dockerfile for PyEnvTests
Tests in ``com.jetbrains.env.python.conda`` require conda to run. Lets run them at Linux env tests at least
Move conda tests to env, to run em on TC as PyEnvTest config
Merge-request: IJ-MR-109305
Merged-by: Ilya Kazakevich <ilya.kazakevich@jetbrains.com >
GitOrigin-RevId: e3640a71ef334033eb5dd4c008fec91b5c73de33
2023-06-23 23:17:43 +00:00
Andrey Lisin
49a4c3a7f4
Bump Python 3.12 version for PyCharm test and debugger binaries build environments
...
GitOrigin-RevId: 999d484026c6e045623a65c0747c0559849ba4f7
2023-06-23 10:21:50 +00:00
Daniil Kalinin
62df4deaf4
PY-30757 Black formatter integration support for PyCharm
...
Merge-request: IJ-MR-107500
Merged-by: Daniil Kalinin <Daniil.Kalinin@jetbrains.com >
GitOrigin-RevId: f0e622057a9533d89d2d47b032b5388f8c991821
2023-06-18 23:11:33 +00:00
Ilya.Kazakevich
69fa85f3a5
py env tests: always use cache on Windows because Py27.
...
Py27 can't be installed due to
https://github.com/JetBrains/gradle-python-envs/issues/34 , so we need to use cache in any case. But cache is only accessible from JB network (TODO: move cache to Space to make it available worldwide) so we fallback to the building process (which will fail for now) if cache server is not available
GitOrigin-RevId: 4251a492ebfab7d8374aff27524ff928011ea374
2023-05-03 11:38:07 +00:00
Andrey Lisin
ad5532a526
PY-60243 Add Python 3.12 to Python debugger test environments
...
GitOrigin-RevId: 42c2723266bda8dbd37e0030cf7dc302685249cc
2023-05-02 21:54:12 +00:00
Andrey Lisin
fb0eab7259
PY-60308 Don't run environment tests twice on same Python version
...
GitOrigin-RevId: b13c4506c3142017e35ef5b20eba8c40fe6aa54e
2023-05-02 15:15:25 +00:00
Elizaveta Shashkova
77191475fa
Python env tests: fix Django templates debugging
...
GitOrigin-RevId: b721faa5e3abbec5c4e7c1ed39fdf7cd03cef6b8
2023-03-16 17:25:02 +00:00
Elizaveta Shashkova
10a778e5fb
Python Env Tests: reparse Jinja2 templates after setting template language
...
GitOrigin-RevId: 1d33c20a8ad44c3cbf4fbd9863e8ea506ba37a16
2023-03-15 20:12:28 +00:00
Andrey Lisin
7ded7cdcae
PY-56939 Add Python 3.11 to test environments
...
GitOrigin-RevId: 9fc2dcca879e844dd562930bf416b2ce321a0005
2022-11-03 15:37:36 +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
Daniil Kalinin
3dc1ec92c2
Update gradle wrapper to 7.5.1
...
GitOrigin-RevId: 286bdc91faad6d6216291667a82e0f8316de04d3
2022-10-13 19:42:22 +00:00
Andrey Lisin
189b9b2ac5
Update base images in pyenvtests Dockerfile to support Python 3.10 installation
...
GitOrigin-RevId: e4ad186799cea916c27731e613ca00a9c91aa8a2
2022-01-13 17:14:20 +00:00
Andrey Lisin
7e49e040db
Update Gradle Wrapper for setting up Python test environments
...
GitOrigin-RevId: 47b03bad545869d9140074141b662c77273d5792
2022-01-13 17:14:18 +00:00
Andrey Lisin
5c5168d2c7
PY-44838 Add frame evaluation support for Python 3.10 and drop it for Python 3.5
...
(cherry picked from commit 6012febbba0af24081078242c15f9eb782e07c65)
GitOrigin-RevId: ebfc4c723d3b674931da0a19803406057a034c72
2021-11-24 12:24:57 +00:00
Semyon Proshev
34baf00129
Remove support and tests for tensorflow >= 2.0.0a0, < 2.0.0rc0 since these packages are no longer available
...
GitOrigin-RevId: de628547191998ab50f1d3c9a11504151c3cbf5d
2021-11-23 19:29:56 +00:00