Semyon Proshev
294e10debe
Iterate only once through CONDA_DEFAULT_ROOTS in PyCondaPackageService.getCondaExecutableByName
...
GitOrigin-RevId: 4356444240b4cdc81365135612167e9af8d80dd9
2021-12-14 17:13:36 +00:00
Semyon Proshev
90e1a8533e
Don't discover Python 2 based anaconda/miniconda
...
GitOrigin-RevId: 8aee1f382e46b6ee686d46b98aef3fb679e8a69d
2021-12-14 17:13:34 +00:00
Semyon Proshev
27df6491d9
Visit all possible roots during looking for conda in /opt/ (PY-52052)
...
GitOrigin-RevId: 3ff0814c25dd7479b455c4a09365fb993725869d
2021-12-14 17:13:32 +00:00
Semyon Proshev
560f3cde8e
Add logging when looking for conda executable
...
GitOrigin-RevId: 6f315e5fa86162af0ca3cda90c38c0d8cf925ab3
2021-12-07 11:45:55 +00:00
Semyon Proshev
194ce1fae8
Look only for python3 binaries on linux (PY-51527)
...
GitOrigin-RevId: c643870cb9682d716876d94069fbad2d0c166f65
2021-12-06 10:20:43 +00:00
Vladimir Krivosheev
0429b0130d
use murmur 3 32 instead of xxhash 64 for icon digests - reduce icon db size (mostly in memory, because on disk compressed using LZ4) and avoid loading extra classes on start-up (murmur is already used in classloader)
...
no collisions so far
GitOrigin-RevId: 1f41a238729772b4b3c4faa5de5cd1ccb9ec3f65
2021-11-19 09:43:32 +00:00
Andrey Vlasovskikh
9cd033354e
[python] i18n-ize an error message in a skeleton generator
...
GitOrigin-RevId: 54d6de5102b200a2341f1b454b8ca63e08d3bb8f
2021-11-17 20:26:58 +00:00
Lada Gagina
f9362a8d03
PY-51198 Fixes in redesigned package installation failure window
...
- fix absence of package name if installation failed via file-level warning on requirements file
- get rid of unnecessary columns
- make the dialog resizable
- add forgotten dot to the troubleshooting tip#1
- add paddings to output and command text areas
- move hardcoded strings to bundles
IJ-CR-16145
GitOrigin-RevId: 6bafccd46dc6eb01db31d33d8979cca9c2b99c20
2021-11-17 12:54:36 +00:00
Lada Gagina
b8a6b65f89
Fix the message for failed virtualenv creation
...
GitOrigin-RevId: 2a566d48619aced61da4c18b8e45c86e4cdb9c15
2021-11-03 12:40:50 +00:00
Alexander Koshevoy
3647ee3e84
Remove unused message form bundle
...
The usage removed in da24a7bef8e812d8f5fefeebed7852bf3bb726c5.
GitOrigin-RevId: 88464549365d82ac9f397272b096c68a93a29690
2021-10-24 15:01:11 +00:00
Lada Gagina
18d0c28655
PY-50160 Implement the redesigned dialog for package installation failures
...
IJ-CR-13328
GitOrigin-RevId: 2cfa6c468411391772639441f0d2aeda4fddc435
2021-10-19 15:30:24 +00:00
Alexander Koshevoy
5c895e5073
Add @Nullable/@NotNull annotations to PythonSdkFlavor methods and its subclasses
...
GitOrigin-RevId: 9b18bf04d4330e4cc6b45760e3b99b171295a883
2021-10-11 11:37:31 +00:00
Alexander Koshevoy
de0697f2ce
Add @NotNull annotations for fields in PySkeletonGenerator and parameter in its constructor
...
GitOrigin-RevId: 719ef7bbd29f8d7c1dc6e8fc2a296e21782be408
2021-10-06 09:04:55 +00:00
Alexander Koshevoy
180883b8e8
PY-40486 Introduce Python interpreter introspection procedure implementation based on Targets API
...
GitOrigin-RevId: da24a7bef8e812d8f5fefeebed7852bf3bb726c5
2021-10-04 14:13:40 +00:00
Alexander Koshevoy
ec320a15a3
Add @Nullable/@NotNull annotations to PySkeletonGenerator.getProcessOutput() method signature
...
GitOrigin-RevId: 1db85519e83cb297e64db5c1fb4f7d280d5d6945
2021-10-04 14:13:37 +00:00
Alexander Koshevoy
c0981499a1
Add @Nullable/@NotNull annotations to PySkeletonGenerator.getProcessOutput() method signature
...
GitOrigin-RevId: ee07b42d6ab9c167b5ef5949822613be8713d965
2021-09-08 10:41:42 +00:00
Mikhail Golubev
1813611ffc
PY-49559 Strip trailing backslashes from the path to skeletons directory
...
It causes some weird problems with escaping, when in some places the platform
escapes `C:\foo bar\` as `"C:\foo bar\\"` and as `"C:\foo bar"\` in others
(compare ParametersListUtil.escape and CommandLineUtil.backslashEscapeQuotes).
One way or another, Python interpreter gets the path to the skeletons directory
as two separate command line arguments. The platform escaping problem needs
further investigation, but removing the trailing backslashes is the simplest
workaround on the Python plugin side. We stripped them in generator3 anyway.
GitOrigin-RevId: 52c0c1d3733cc004c1f0c2f1bf8cc186dfa698de
2021-08-13 13:17:48 +00:00
Semyon Proshev
6ad90fff38
Don't run actions related to transferred roots on editable sdks since they can share data with original ones (PY-45708)
...
PyTransferredSdkRootsKt#transferRoots and PyTransferredSdkRootsKt#removeTransferredRoots skip sdks that are not equal to module one (editable as well).
That's why roots changes were not applied in PythonSdkUpdater#updateSdkPaths but paths to transfer were successfully set.
When PythonSdkUpdater#updateSdkPaths was executed for original sdk, roots changes were not applied since there were no changes in paths to transfer (they were shared with editable copy).
Update PythonSdkAdditionalData containers usages: they returned cached values in `getPathsAsVirtualFiles` after `killAll` was called.
IJ-CR-10935
GitOrigin-RevId: 72a99f7b14e4d30c5886accb0db56d463890f265
2021-07-27 14:14:30 +00:00
Semyon Proshev
d4558ff94c
Update source roots that were configured from interpreter paths on sdk switch (PY-45708)
...
IJ-CR-10935
GitOrigin-RevId: 03b1a9362e93d5408d88c82b8a8318dc3abff078
2021-07-27 14:14:27 +00:00
Mikhail Golubev
0a9eb7e19e
i18n: Remove unused properties
...
GitOrigin-RevId: fbfac80b55e8e0bb78bde54253c8100f951ac9f9
2021-07-07 11:44:14 +00:00
Lada Gagina
9504153383
PY-42196 PY-41238 Switch to virtualenv library for virtual environment creation
...
It speeds up virtual environment creation (PY-41172), although from now on the latest releases of packaging tools will be installed in the created virtual environment after the 28 days period that should guarantee we are not pulling in automatically releases that have known bugs within (https://virtualenv.pypa.io/en/latest/user_guide.html#wheels )
IJ-CR-9549
GitOrigin-RevId: 563409e9f7ef1d61572989555f572b06b19ded85
2021-06-16 21:53:58 +00:00
Anna Kozlova
5cd6b5c3d2
[java] protected method in final class: make private where possible
...
GitOrigin-RevId: 3e6f6d1d19c2ffd51020bb8fb6ef76ee0c5eaae5
2021-06-11 07:49:00 +00:00
Alex Plate
79820165d3
[IDEA-270680] Use an ellipsis character in the py bundle
...
GitOrigin-RevId: adea0d6db24bc18295954f1a48a9a04db8cf8d0b
2021-06-03 17:21:10 +00:00
Mikhail Golubev
52bbfc2ec7
i18n: Process a couple of new problems
...
GitOrigin-RevId: f42121994fb6cfe072eb60f8c526ec48a6dfce9c
2021-05-19 17:36:39 +00:00
Dmitry Jemerov
749ce8a332
Cleanup: remove @author tags
...
GitOrigin-RevId: 9174eb8d77215b16f9f6c6074e6aced654d95ef1
2021-05-03 13:07:48 +00:00
Andrey Vokin
5f3e25f153
DS-1519: use method PyCondaPackageService#getCondaBasePython to retrieve base conda interpreter SDK
...
DS-1519 Make "Launch DataSpell" button disabled and provide corresponding messages when no valid environment configuration selected on environment tab
GitOrigin-RevId: 6ccde477ddd0beea348cdc364cf2d89857094eaf
2021-04-16 13:39:12 +03:00
Andrey Vokin
4a4b432d92
DS-1519: preset guessed default conda environment into conda environment combobox
...
DS-1519 Make "Launch DataSpell" button disabled and provide corresponding messages when no valid environment configuration selected on environment tab
GitOrigin-RevId: 6027f6034533ca5716c3d5bcc4f599d75efa8f4a
2021-04-07 10:30:47 +00:00
Andrey Vokin
b3b5ba88d7
DS-1247: use module file path instead of content roots to retrieve module directory
...
Default project (workspace) doesn't have content root pointing to the module directory.
DS-1247 Can't run Jupyter files outside project
GitOrigin-RevId: 71860f4c48ada776e4b2fbbde3b54aafae43bafb
2021-02-01 20:34:33 +00:00
Andrey Vokin
bf896e2da5
DS-1247: use module file path instead of content roots to retrieve module directory
...
Default project (workspace) doesn't have content root pointing to the module directory.
DS-1247 Can't run Jupyter files outside project
GitOrigin-RevId: 1e3d5f4f5b05d9f74f5f463037dfc606bc4b256d
2021-02-01 12:39:01 +00:00
Ilya.Kazakevich
fb7e5d6414
Refactor quickfix to clean API
...
No need to have two methods and break nullable safety.
Poetry plugin could be broken by this change, but Semyon.Proshev will send them a patch)
GitOrigin-RevId: 024cd4861ff1cb65e34e5c2e6c5032ad86205b60
2021-01-28 13:30:08 +00:00
Semyon Proshev
32babb51c6
Keep conda executable field private but annotate for being serialized
...
GitOrigin-RevId: 6dc91c9a2af4c3d4945409a26d7d3cf986d35f5b
2021-01-26 11:12:44 +00:00
Vladimir Krivosheev
5107296cce
EnvironmentUtil - remove dependency on PathManager, extract heavy part (bat) to separate class EnvReader and move it to util-io module
...
GitOrigin-RevId: c1b2cc238520e18cd0dba0665fda1d383ddaba90
2020-12-24 09:41:28 +00:00
Alexey Kudravtsev
f8c986128d
replace long/erroneous strings in Logger.getLogger() with class reference for brevity, readabilty and maintainability
...
GitOrigin-RevId: f0db256fe8127e0f16b834d395525231d5f7ccdf
2020-12-01 12:52:22 +00:00
alla redko
2fe7d30e5e
IDEA-248849
...
GitOrigin-RevId: cce2d88891e4e0f7142f48fa681b5f557b303b49
2020-11-30 22:16:33 +00:00
Elizaveta Shashkova
2a26a4ff7f
DS-312 Move "base to top" logic from PyCondaRun to CondaEnvSdkFlavor
...
GitOrigin-RevId: 05a1c4e6f53a26491e348ee54bb598cc59b220f6
2020-11-23 13:40:56 +00:00
Elizaveta Shashkova
7c53fbebe8
DS-312 Move base environment to the first place in a list
...
GitOrigin-RevId: a8c347a9ba379a0107ac85ed2f727a9eaac8e1e5
2020-11-20 13:52:12 +00:00
Vladimir Krivosheev
95f00ec6d3
IDEA-252162 regenerate icon classes
...
GitOrigin-RevId: b20a64c7d0832b0bc7b8a85f3a2c039e63a8e965
2020-10-20 10:54:03 +00:00
Semyon Proshev
603ae74c21
Make python disposable name more descriptive and not looking like interface
...
GitOrigin-RevId: 5009db52c121efbbf04952d3843b64ff4dc5888d
2020-10-16 14:44:56 +00:00
Vladimir Krivosheev
924abe229c
cleanup (get rid of ServiceManager.get)
...
GitOrigin-RevId: 7f6a905353889c9795e5d40a8aa60f6251000f05
2020-10-16 11:34:52 +00:00
Semyon Proshev
dae05a33bf
Disable processing extensions in sdk configurator in headless mode
...
GitOrigin-RevId: afac26373fa12e9d062cd5e54552a84884e88d51
2020-10-09 17:10:17 +00:00
Semyon Proshev
5f40cea7f0
Suggest creating conda env using environment.yml (PY-44835)
...
GitOrigin-RevId: b7bd873749673a24044b5f537fdbc9d5aaad5469
2020-10-09 16:17:19 +00:00
Semyon Proshev
505778c92e
Hide PyCondaPackageService.PREFERRED_CONDA_PATH and fix several warnings
...
GitOrigin-RevId: 0923f1f74f59f34d9e5389a7d7a5f327fe1dc271
2020-10-09 16:17:18 +00:00
Semyon Proshev
8ea99aff29
Drop elements scheduled for removal (PY-43884)
...
GitOrigin-RevId: 9bc491cf35e17984cd1cb447c914ff702332d3af
2020-10-09 08:58:18 +00:00
Semyon Proshev
11b0b97c80
Move common sdk ui strings to the sdk bundle
...
GitOrigin-RevId: 48074459333e959644f51c87270a6bee2dc59ea7
2020-10-06 15:17:19 +00:00
Semyon Proshev
d53595adcf
Update sdk configurator and inspection to suggest creating venv using requirements.txt or setup.py (PY-44743)
...
GitOrigin-RevId: e46b817ea085bca4b538c84eed3cf6d4a0a75013
2020-10-06 15:17:17 +00:00
Semyon Proshev
d95b00fdd8
Avoid application/project/module as parent disposable in python-related code
...
And fix several warnings.
GitOrigin-RevId: e97dae3116177bd919bc4ea51ceb1a3e7657e2cb
2020-09-29 10:04:22 +00:00
Vladimir Krivosheev
b1d48e4312
IDEA-251219 fix rasterized prebuilt cache for dark theme
...
GitOrigin-RevId: 0228a057302b1d952da4870eb76d157e746c1366
2020-09-25 15:54:02 +00:00
Vladimir Krivosheev
8f5d642544
IDEA-251207 Set of plugins cannot be unloaded because of IconLoader
...
GitOrigin-RevId: 441b875462f12fe0d20d3830181e6280e3b829ba
2020-09-24 15:26:04 +00:00
Stanislav Utikeev
73dcad36e8
LAB-31 Move TensorFlow members providers to psi-impl
...
GitOrigin-RevId: 5283df23d8abdc7795fde7850281b876c73a25a0
2020-09-22 15:06:44 +00:00
Vladimir Krivosheev
f4fc653c06
icons
...
GitOrigin-RevId: febfb25205456d623c2a1d5efec70e51f9c2f0b6
2020-09-21 13:40:48 +00:00