Commit Graph

29588 Commits

Author SHA1 Message Date
ekaterina.itsenko
85e207094b [PyCharm] PY-73914 Scientific View(fix): Fix issues
GitOrigin-RevId: 5e9eb49cfa8b29edeab058f032c57bea8bbef0a8
2024-07-16 17:46:37 +00:00
Vladimir Koshelev
1aaaf77781 [pycharm] restrict analysis in order to improve completion performance
GitOrigin-RevId: 1c2427d1dbb07d88672347311ec5d6f362881847
2024-07-16 14:55:52 +00:00
Natalia.Murycheva
51749309f5 [PyCharm Tables] PY-73557 np.array incorrectly displays like "np.float64()" in the oldTable #PY-73557 Fixed
* fixed the repr function logic when it's needed to display a value for one cell in a table

GitOrigin-RevId: b6fbd5473b9cd9e9cfe702bfc4ec874ed58eaea6
2024-07-16 00:15:29 +00:00
Natalia.Murycheva
abbd34a6f1 [PyCharm Tables] PY-73133 got rid of the get_head method as for numpy it's redundant
GitOrigin-RevId: 22fab8f67db57c0306fcf44783bdc16e109c40b0
2024-07-16 00:15:24 +00:00
Ilya.Kazakevich
fa524aa80a Python JUnit5 tests: move all tests to junit5Tests because TestApplication doesn't support TestSuite (yet).
See `package-info.java` for the layour info.

GitOrigin-RevId: b1e00b8aec41042282405b5ee2e96fb8b09017a4
2024-07-15 21:33:23 +00:00
Vladimir Koshelev
82e8947e95 [pycharm] move type guards from control flow to PyDefUse stage
GitOrigin-RevId: e66971e619978ad179bb49a15820a7482b27df7c
2024-07-15 18:43:02 +00:00
lada.gagina
1f45d7cc72 [python] packaging toolwindow: add context menu items to listed packages(PY-72994)
GitOrigin-RevId: 9a4717d6835b75288cb550518ed36a6b80e0413f
2024-07-15 11:57:34 +00:00
Bart van Helvert
40585d1a25 [mod-command] Change modal progress bar to NBRA when computing chooser presentation
#IJPL-158175

GitOrigin-RevId: 0681313cfeeb3df0c6dbb2bf5194e392c96fa714
2024-07-15 02:34:03 +00:00
Vladimir Krivosheev
61cc661834 IJPL-158075 mark unsafe SingleAlarm constructor as Deprecated
GitOrigin-RevId: dd7d7398fecd6241db6c93183df421466ff97f91
2024-07-13 08:45:37 +00:00
Ilya Muradyan
0f2ceb1d0a PY-64586, PY-73739, PY-73825: Move jupyter support for python to the Python plugin and DataSpell plugin instead of creating dedicated plugin
GitOrigin-RevId: 7d7ef5dc7285bfdc797e1d763254f854ab66b78c
2024-07-12 21:36:25 +00:00
Ilya.Kazakevich
c3f31ae2df Add test that creates python SDK
GitOrigin-RevId: c2638e97ce4d9177c2209dd3bd468093ba48b0c2
2024-07-12 19:18:13 +00:00
Ilya.Kazakevich
4e9344ce5d JUnit5 extension for Python env tests.
We now have machinery to find python environments created by
a Gradle script.

This patch adds JUnit5 extension along with an annotation to use it.

See `com.jetbrains.python.junit5.env.showCase`

GitOrigin-RevId: 287608104ec3f2c43c44906f15a06aa86a6f1bd4
2024-07-12 19:18:13 +00:00
Ilya.Kazakevich
6c7ce9ade4 Refactor setupSdk not to catch errors.
Errors have to be processed by caller, not by logging nor swing messages in a function itself.

GitOrigin-RevId: b617810835f41c6874c776a2a5762d7402123336
2024-07-12 19:18:13 +00:00
Pavel Karateev
8f2402e698 PY-57769 Fix the wrong command to install pydevd-pycharm
(cherry picked from commit 839e4aac1d72dcf2c57af66b69a06268cff19050)

IJ-MR-139749

GitOrigin-RevId: 7eecd813750d4e014ec691d764fe31eaa0c0d564
2024-07-12 14:25:11 +00:00
Ilya.Kazakevich
9bb8be9506 Logging added to track down PY-71409
GitOrigin-RevId: 6e491d9c80618be940a64133c85c20dd8ca967ab
2024-07-11 22:42:11 +00:00
Mikhail Golubev
8eb96b314a [python] Delegate to visitPySequenceExpression when visiting PySetLiteralExpression
GitOrigin-RevId: be032f963dccd6ebc062517047c5a1c962b31ec6
2024-07-11 19:46:02 +00:00
Natalia.Murycheva
bf711c1d91 [PyCharm Tables] (fus, "python.dataview") fixed review remarks
GitOrigin-RevId: 48da962da524ccd1b1772428851cdf87d316e8d9
2024-07-11 12:02:21 +00:00
ekaterina.itsenko
13be10f91f [PyCharm] PY-72811 Scientific View (fix): Fix bug in GeoDataFrame table view
GitOrigin-RevId: e38102212edbd2add3b4899dda634764d251b3a0
2024-07-10 23:22:25 +00:00
ekaterina.itsenko
0b6b757d0e [PyCharm] PY-65143 Scientific View (fix): Fix tables displaying in old pandas versions
GitOrigin-RevId: 863db71d3ab01c250ca1c0ab59101400c40d3f8a
2024-07-10 22:32:48 +00:00
lada.gagina
7b10e2c98b [python] requirements.txt: fix NPE when installing conda packages (PY-73392)
GitOrigin-RevId: 5deddd72f11fe420e19116e9c6dfb5dbe16b9bed
2024-07-10 21:51:34 +00:00
Vladimir Koshelev
d649ae4e61 [pycharm] add un-reachability support to PyUnboundLocalVariableInspection
GitOrigin-RevId: ea1125977ea8b4de370973d606cc5ba7b258dd82
2024-07-10 14:22:00 +00:00
Vladimir Koshelev
582edda2e8 [pycharm] fix control flow tests after adding CallInstruction
GitOrigin-RevId: 1878a3211a07b216a64df3efa6ac7cb1c94fd246
2024-07-10 14:22:00 +00:00
Vladimir Koshelev
2625d2472b [pycharm] remove NoReturn logic from control flow builder
GitOrigin-RevId: 85ba28fd8b86fe0b6337703798a0b869bb793e88
2024-07-10 14:22:00 +00:00
Vladimir Koshelev
8a4dfe563c [pycharm] add type eval context to PyDefUseUtil
GitOrigin-RevId: a6973f48d9e1f5c473209df25ff507be482e8904
2024-07-10 14:21:59 +00:00
Aleksandr Sorotskii
097939cc6b PY-11963: add package mappings for 5k most downloaded packages pypi
GitOrigin-RevId: 95cf83695ad0031ffb009cd5cca8b68a0b49d6d3
2024-07-10 11:34:52 +00:00
Aleksandr Sorotskii
8a4013db94 trim whitespaces
GitOrigin-RevId: 97014ede7f4df5b9ec07e9d6b64abe6878581df4
2024-07-10 11:34:52 +00:00
Nikita Pavlenko
f87a1466b3 [PyCharm] Jupyter (fix): intellij.jupyter.core module is now pure v2 module, and propely included to everywhere. #PY-73770 Fixed
GitOrigin-RevId: f990cb2ff9e32a38565d4d25975a7c9929880dfa
2024-07-10 10:50:42 +00:00
ekaterina.itsenko
e242aa4556 [pycharm] PY-71967 Minor refactoring + add typing
GitOrigin-RevId: 0da48f8ed53867e8dea3fe15ccac9a993e47ab68
2024-07-09 18:15:56 +00:00
Natalia.Murycheva
6dcf2b2d34 [PyCharm Tables] added more values for data types in the "python.dataview" group
GitOrigin-RevId: 478fb43193ffbd79de129e51237390fbadc39045
2024-07-09 14:39:31 +00:00
Vladimir Koshelev
cb2bd66867 [pycharm] keep all properties nullable
GitOrigin-RevId: c037070af3b0134cbd81648fcbb18d7662a2fd66
2024-07-09 13:03:51 +00:00
Pavel Karateev
567ee4977e PCQA-456 Python 3.13.0b3 is available
(cherry picked from commit f65fb479665d419df4577aa2a3c98ec6186db03a)

IJ-MR-137982

GitOrigin-RevId: 16aa6c0d81d80e06e85648c08002de8c4edb3de5
2024-07-09 12:22:43 +00:00
Pavel Karateev
24ab0a7b06 PCQA-456 Update Python versions for PyCharm helpers tests
* Drop 3.6 & 3.7
* Add 3.9+


(cherry picked from commit 52d830b560f32bb75d1a1d84f67fa2e1b41a1f2e)

IJ-MR-137982

GitOrigin-RevId: dba613bc2f34198c25b85fff3e581ab997764e17
2024-07-09 12:22:43 +00:00
Daniil Kalinin
163ea4bf45 PY-73755 Fix parameter hints for Python don't work in Split Mode
GitOrigin-RevId: 90090969126d7d15345b2052f0a05ec3a0af791c
2024-07-09 11:27:22 +00:00
Dmitriy.Panov
8a5ada0dcf GitHub plugin is split into community and ultimate parts which should be published with the same ID if not bundled
GitOrigin-RevId: 7673da63563b1b8005cc8259440ff2e8cfd32c2b
2024-07-09 10:15:41 +00:00
Aleksandr Sorotskii
292c6e0837 PY-11963 Sort lines
(cherry picked from commit 8c998e6ace23604f29382d4547bdeebb0583e954)

IJ-MR-139247

GitOrigin-RevId: c0d0f76a36073d25506e0446bbb406ea97f73d8f
2024-07-08 19:39:36 +00:00
Aleksandr Sorotskii
aa7a9353cf PY-11963 Add some packages
(cherry picked from commit 7d465f3823c0f9f0a31b49a0b675cbfda4a2f79b)

IJ-MR-139247

GitOrigin-RevId: 27c8ac0e17a2e04d2fd919b777ad98614dbb3bd9
2024-07-08 19:39:35 +00:00
Vladimir Koshelev
b7700aaf66 [pycharm] PY-64403 add vision file to PyCharm
GitOrigin-RevId: 7b3fd4492e0cebb313626c7a1b52e369e0577279
2024-07-08 18:25:33 +00:00
Petr
a6fc2c09c6 PY-53693 PyCharm adds _: KW_ONLY to dataclass' init signature
GitOrigin-RevId: 471e10b4e12a36a640da2f3006719372797b5cf1
2024-07-08 17:53:13 +00:00
Tagir Valeev
d263e30396 Remove raw types in PopupStep#onChosen inheritors
GitOrigin-RevId: df36f1a249ab4d87c2d10e3d39c27f0351298921
2024-07-08 16:18:24 +00:00
Egor.Eliseev
459520a382 PY-66449 PyCharm displays a Poetry env as "invalid" when adding an existing SDK
Add a path to interpreter `bin/python`


Merge-request: IJ-MR-139054
Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com>

GitOrigin-RevId: 83da7890a778b3022ac874c1b6feed7d93b691f7
2024-07-08 13:31:34 +00:00
Konstantin Hudyakov
423a4cf421 IFT-573 Fix completion item detection in Python Basic completion lesson
GitOrigin-RevId: 83e1c2575c879fba8732417bd68ca783b52f5c99
2024-07-05 18:36:32 +00:00
Natalia.Murycheva
c4b259368d [PyCharm Tables] PY-73641 ... in tables instead of values #PY-73252 Fixed
* fixed polars case

GitOrigin-RevId: 259d170d79afbddf97a99e62b27685255aaf6d12
2024-07-05 16:32:23 +00:00
Daniil Kalinin
06d8a78b34 PY-33425 fix pep8 warnings were still shown after suppressing with # noinspection PyPep8
GitOrigin-RevId: 738ab906f4026f8f64a3b1f7185ba8a5add9fe40
2024-07-05 13:26:02 +00:00
Dmitry Kichinsky
f84c2574c5 [maven] IDEA-355917 set explicit nullability in com.intellij.execution.actions.ConfigurationContext.getModule
GitOrigin-RevId: 36411bae7f1ee6f84f6b7494df46076498b16947
2024-07-04 21:50:51 +00:00
Tagir Valeev
6bb83bc8e5 [stubs] Reduce amount of raw types
GitOrigin-RevId: 169895a6ee3c98db193443dbb0ced98497221430
2024-07-04 21:05:23 +00:00
Pavel Karateev
7309a62c8c PCQA-466 Specify pydevd test envs in tox.ini
We can avoid specifying versions here, but ...

1. It won't be possible to run tests locally without checking what
   versions are supported (going to TeamCity config)
2. It won't be possible to specify dependencies for each Python
   version separately when it is required (not yet, but will be soon)

Hardcoding Python versions in two places for `pydevd` tests looks
ugly, but at the moment I have no better ideas. Will investigate as
a separate task in PCQA-447


(cherry picked from commit cc9e50cd7a742b8265497cdc56a49a6be0db38a8)

IJ-MR-138586

GitOrigin-RevId: 717d434d6fd72a6cb6ac0a361917ad22e8e62687
2024-07-03 17:30:19 +00:00
Tagir Valeev
15fb25d32e [python] Fix redundant formatted call
GitOrigin-RevId: b972c2605e3aee85b91bd9f7bd88ade24c417b43
2024-07-03 12:47:15 +00:00
Natalia.Murycheva
f721a69556 PY-73641 ... in tables instead of values
* added setter option for max_rows

GitOrigin-RevId: 3cedda6ac4e9aa4dfcb0bda80111198bf8341e0a
2024-07-02 22:14:44 +00:00
Natalia.Murycheva
873b88a98f PY-72210 minor changes
* removed unnecessary get_value_counts for statistics, as it's redundant
    * removed the corresponding test
* fixed computing VISUALIZATION_DATA for tables in DataView, now visualizations are shown
* minor cleanup: got rid of unused variables

GitOrigin-RevId: 1772fd5cad8ba5777795460fca484e90d0ccef82
2024-07-02 22:14:40 +00:00
ekaterina.itsenko
16c75007f3 [pycharm] PY-71967 Remove unused imports
GitOrigin-RevId: 4c5e1094d1b86eb6b473daed599e37cab5f8dba3
2024-07-02 19:14:38 +00:00