axiom
f343db0751
OPENIDE remove backup-and-sync plugin
...
(cherry picked from commit 675a1b5828c4b2570c386b469a440d5512713d02)
(cherry picked from commit a114659a11 )
2025-10-08 11:02:16 +04:00
Petr
f18ba33412
PY-81941 Make CallInstruction.isNoReturnCall non-recursive
...
(cherry picked from commit 4c9c1e2c6a42b6632d84667a31fb4f46936405b3)
GitOrigin-RevId: aa5d89a12fbb6f0bdda6c78b53123f6fcae5785d
2025-10-03 04:54:56 +00:00
Petr
b274df9909
PY-81941 Don't check NoReturn calls when inferring a function return type
...
(cherry picked from commit eef22498254ecee4e91c5dc3a29997a3d95e6ce1)
GitOrigin-RevId: 56b3c7e9094d21099b0973f6a8cc7a2b993b81a0
2025-10-03 04:54:56 +00:00
Petr
831e591b43
PY-81941 Remove unused fields (PyDataFlow)
...
(cherry picked from commit 2aab9bbfd1ff126a04246ae940629a7f2735b67e)
GitOrigin-RevId: 33081646afbf90089a78e1300a0f3e6e6bdd4b58
2025-10-03 04:54:56 +00:00
Petr
d65f470b61
PY-81941 Remove an unused function (PyDataFlow.kt)
...
(cherry picked from commit 5bb5686062c77a040429c57dedc4757ef0c8e999)
GitOrigin-RevId: a9ac82a02c7f3e99efeded0470d272076dfdf0d8
2025-10-03 04:54:56 +00:00
evgeny.bovykin
b9a11311b5
PY-84289 Compute getStringBasedType with doPreventingRecursion to avoid repeating calculations
...
(cherry picked from commit a548f05bea971f6b3e3acdb1f1bc7898d3411d5e)
IJ-MR-176651
GitOrigin-RevId: 7fc85277f5dcd118095be9b84813a4180b2ae4b1
2025-10-02 17:22:45 +00:00
Leonid Shalupov
ec0ce62aae
workaround for IJPL-209578 Build failure on branch 252 due to BeanInfo loading error for TextFieldWithBrowseButton component
...
GitOrigin-RevId: a9cfb5a282ddcdf41270730ae140b297448d4f99
2025-09-30 17:46:06 +00:00
Konstantin Nisht
2df6273b02
[ab] IJPL-186222: Introduce a simpler API for running AB experiments
...
(cherry picked from commit d37a06ebb60306d38f9e5a04d98df6669f07946a)
(cherry picked from commit f9ef6adbd996974ebedfe1f46e5d28e959ee8c01)
IJ-CR-176469
GitOrigin-RevId: c98c80f169ec9f508971dd84a45a63050b0c101e
2025-09-24 16:28:19 +00:00
Petr
9fa1facd3d
PY-84356 Fix TypeEvalContext.inOrigin()
...
(cherry picked from commit f7d40505057b883cf87d96a481129c4347060c0b)
GitOrigin-RevId: e94c1c3f7b06075a342b70133db10d316f1efdfe
2025-09-23 15:52:36 +00:00
Mikhail Golubev
9d7c0cb8d0
[python] Add missing tests on resolving forward references from new-style type alias
...
(cherry picked from commit ab9b688a7463b61ca262ec679781fb314ed74e8e)
IJ-CR-175817
GitOrigin-RevId: 1a60bc32362d143ff99b6cf71f7d2d28bef5c02c
2025-09-23 10:23:03 +00:00
Mikhail Golubev
b8cf0c6e0f
PY-80002 Remove excessive version checks in PyResolveUtil.allowForwardReferences
...
`from __future__ import annotations` is not available in Python < 3.7,
and in earlier versions such import itself should be highlighted,
and using type parameter lists in Python < 3.12 is already reported.
(cherry picked from commit 18075131473fb5cee8a47ab259cfdc753889892e)
IJ-CR-175817
GitOrigin-RevId: 3a54244d031a5b8cd42da9aa6a75ce5a84c96603
2025-09-23 10:23:03 +00:00
Mikhail Golubev
4a2c6cff41
PY-80002 Add more tests on forward references in annotations from various scopes and in different versions
...
(cherry picked from commit cfe4d2ebbc7ff83f5d206ecc2569b3ba4b70a483)
IJ-CR-175817
GitOrigin-RevId: 998cdee11f95dcd0415e5169aa1f85993c12070a
2025-09-23 10:23:03 +00:00
Mikhail Golubev
09f5341566
PY-80002 Don't report non-quoted forward references in Python 3.14+ (PEP 649)
...
(cherry picked from commit b16fffe886d350a54434adb57519eb9c1992e217)
IJ-CR-175817
GitOrigin-RevId: 4565df762b5b31d75d63d257107379aba459c0db
2025-09-23 10:23:03 +00:00
chbndrhnns
83aac7f547
[python] PY-54771 Suggest fixtures in @pytest.mark.usefixtures("")
...
Merge-request: IJ-MR-173095
Merged-by: Morgan Bartholomew <morgan.bartholomew@jetbrains.com >
(cherry picked from commit f4a8479b755d71cd2932176acce98f4d2f8aaba5)
IJ-MR-173095
GitOrigin-RevId: 382ee0e32c3a819d28fda7f5ef5db575517474ff
2025-09-17 02:03:24 +00:00
Marcus Mews
dcb6914323
PY-84077 - Support PEP 758 – Allow except and except* expressions without parentheses
...
- adjust parser to support comma separated list of error classes
- add problem annotation and quick fix for missing parentheses
- add new tests, adjust old tests
GitOrigin-RevId: 545f3597a488f85ba2ff17da0a389f2aed226406
2025-09-15 12:58:49 +00:00
Alexey Katsman
5d79b9c3bb
PY-82352 Fix reading of env files for old command line python runner
...
(cherry picked from commit 81df145e58cf0a509dd92ad1157916fc77978afb)
IJ-MR-175438
GitOrigin-RevId: 7769f7bdfa01a0543c79b765367e774ce23a2c3c
2025-09-15 11:48:06 +00:00
Alexey Katsman
b001c8d9cc
Fix behave statuses for behave>=1.2.7
...
(cherry picked from commit f81cfceeae1a6b241e7a2ac5804a43e6da09a29c)
IJ-MR-174906
GitOrigin-RevId: 96dcd3b134ed056de466da515b7a0273dfdba8ae
2025-09-09 12:03:25 +00:00
Vitaly Legchilkin
5e3a8e9bed
[python][sdk] fix lazy loading interpreter lists (PY-82913)
...
+ make all interpreter flow states nullable to distinguish the loading state from an empty value.
+ remove interpreterLoading flow/flag because it is non-consistent with other interpreter flow states.
+ remove PythonInterpreterComboBox dependency on the model
Merge-request: IJ-MR-174441
Merged-by: Vitaly Legchilkin <Vitaly.Legchilkin@jetbrains.com >
(cherry picked from commit 50832570f4618ba3af40c1216e37eb3431effd80)
# Conflicts:
# community/python/src/com/jetbrains/python/sdk/add/v2/models.kt
# python/junit5Tests/tests/com/intellij/python/junit5Tests/env/tests/sdk/addSdk/PythonAddInterpreterModelTest.kt
# python/junit5Tests/tests/com/intellij/python/junit5Tests/env/tests/sdk/addSdk/PythonLocalAddInterpreterModelTest.kt
GitOrigin-RevId: 467815b09864a9e679f37ac4cea77dc1448c6fa1
2025-09-08 21:50:41 +00:00
Aleksandr.Govenko
a1ea38b4b9
PY-83900 Inspect Code consumes 100% CPU and takes unusually long on specific simple file
...
(cherry picked from commit 81973d162072c94b4d7201dffc68d43669f449a3)
IJ-MR-174807
GitOrigin-RevId: 7d6563db8b59c05f6ecc20abe929ce6771ece825
2025-09-08 15:41:33 +00:00
Morgan Bartholomew
f1986ad6c9
[python] PY-79930 don't fold __future__ imports
...
Merge-request: IJ-MR-171486
Merged-by: Morgan Bartholomew <morgan.bartholomew@jetbrains.com >
(cherry picked from commit 968e8d7c03dd7e46ff55316cffd07e7e2a9c7b54)
GitOrigin-RevId: bffe4494e77057465115aeaf9911c11167057798
2025-09-05 08:08:37 +00:00
Pavel Karateev
fb91270666
RELEASE-404 PyCharm 2025.2.2 RC
...
(cherry picked from commit 4df98f098a6fe2402ff6df7fecf2e8b1e6bc7348)
IJ-MR-174546
GitOrigin-RevId: cd39d40d06f3a84ea1015b7d60f73f1e8bbfbde5
2025-09-04 17:07:28 +00:00
Vitaly Legchilkin
8eeced5680
[python][sdk] don't cancel lazyInitialization job while cancelling of await job (PY-83799)
...
GitOrigin-RevId: 58f78fa89fe9987ef5517fb152549c398b886776
2025-09-02 17:13:18 +00:00
Egor Eliseev
8bc984a12e
PY-81317 Debugger fails with 'Argument for @NotNull parameter 'module' must not be null'
...
Merge-request: IJ-MR-173816
Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com >
(cherry picked from commit 726dd1849e7988d33d4937188542ba10fdb9617b)
IJ-MR-173816
GitOrigin-RevId: b84a6882c09f61d3f1b1f0500aea307a7c729edf
2025-09-02 11:10:46 +00:00
Egor Eliseev
e33ddb4167
PY-81317 Debugger fails with 'Argument for @NotNull parameter 'module' must not be null'
...
Fix callers
Merge-request: IJ-MR-174209
Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com >
(cherry picked from commit 751bea82479695737e6319d2145fca095c8af35c)
IJ-MR-174209
GitOrigin-RevId: 09f3a45678bfdf4d99755263e14d692419353a91
2025-09-02 10:51:12 +00:00
Morgan Bartholomew
b4d6ff2556
[python] PY-80252 disable PyUnnecessaryCast by default
...
because unsafe unions cause false positives
GitOrigin-RevId: 3fd8a018c60cc743d2e31c1d306612c94179d43c
2025-08-31 12:26:25 +00:00
Morgan Bartholomew
b9c06cd3b5
[python] PY-80252 set correct default highlighting for PyUnnecessaryCast
...
GitOrigin-RevId: fb0767353a298f95af63beee4f9c2db729d777ee
2025-08-31 12:26:25 +00:00
Morgan Bartholomew
467785be0e
[python] PY-79178/PY-80252 report invalid and unrequired casts
...
Merge-request: IJ-MR-171620
Merged-by: Morgan Bartholomew <morgan.bartholomew@jetbrains.com >
(cherry picked from commit d9b13a99bad56a112f04febfc939823397b55ddd)
GitOrigin-RevId: a03b56b8c3ea58455af5100e59eab310776e063d
2025-08-31 12:26:25 +00:00
Pavel Karateev
4d7c595617
PY-83588 support pydevd-pycharm installation on Linux & <=3.10 Python
...
with PEP 517 support (introduced in PY-81877)
building wheels is done in isolation,
that means - there is no `setup_cython.py`
available for import, one suggested workaround
(used in `debugpy` as well) is to prepend
the project root to `sys.path` - ugly but works
(cherry picked from commit 67e6d93f0d19e20b16685255714c46a7563a037f)
IJ-MR-173624
GitOrigin-RevId: d00a749fa4d8f4a875d7ce5be244bf57c7c22887
2025-08-29 11:23:53 +00:00
Petr
5de7e2eca5
PY-83741 Support type narrowing based on containment check for list and set literals
...
GitOrigin-RevId: 8c834433ef64c1906314d681383bdc258f4628bc
2025-08-28 16:40:57 +00:00
Nikita.Ashihmin
757b37b33b
Revert "PY-77627 Python: Remove unused project types from NPW"
...
This reverts commit fb263ede90958c671925b8d4612b7b203abf1546.
(cherry picked from commit 982eb97650c0fe28f27b818a3a12aa34ec75254e)
IJ-MR-173740
GitOrigin-RevId: d5f9987a70d322c96cc6ce5c591e9c17897eac74
2025-08-27 14:52:31 +00:00
Morgan Bartholomew
6b50ea074f
[python] PY-59986 fix type annotation injection for union operator
...
Merge-request: IJ-MR-171625
Merged-by: Morgan Bartholomew <morgan.bartholomew@jetbrains.com >
(cherry picked from commit 5bd3401e4a98fc615694dacb1d7fe7a1ddb68d3e)
IJ-MR-171625
GitOrigin-RevId: e18ed0b36044c659eae1d73fd29e5ec28425ad18
2025-08-26 02:15:17 +00:00
Yuriy Artamonov
1d6d36daca
[setting-sync] IJPL-201147 Backup and Sync plugin must declare an explicit dependency on JetBrains Marketplace Licensing
...
(cherry picked from commit 419a34390a9ebec91b14f420784c0b49c2449fe4)
IJ-CR-172641
GitOrigin-RevId: a46cb9bc2f27c84904715362b49da46d984df774
2025-08-23 09:28:20 +00:00
Morgan Bartholomew
b53dc53a74
[python] PY-56719/PY-73493 inject type hints into typing function arguments
...
(cherry picked from commit 5a768044b0a17fb2b7c1ed8f20936f9a1caeaa2e)
IJ-MR-172403
GitOrigin-RevId: f163706fa199bdebeafc8f3b8edc6b53f8f3cb9c
2025-08-21 23:40:35 +00:00
Morgan Bartholomew
93b18cc314
[python] convert PyTypingAnnotationInjector to kotlin
...
(cherry picked from commit 2661ac3a8e4df7c5187e0f1e4ea960c3ec9d80c6)
IJ-MR-172403
GitOrigin-RevId: 4e68b4a750e5fd456e8996a0842f1613c1429062
2025-08-21 23:40:35 +00:00
Morgan Bartholomew
c9102dab2f
Rename .java to .kt
...
(cherry picked from commit 1b48f6e11be3387f54f18a7bc7291314bc9b8b75)
IJ-MR-172403
GitOrigin-RevId: 3a23db59336b447778d315411cc4db9517d85bff
2025-08-21 23:40:35 +00:00
Aleksandr.Govenko
5e5a46bb51
[python] Disable strict narrowing, add registry flag to enable it
...
(cherry picked from commit ba403db011803b4aef1ea2b1582374559b70c32a)
GitOrigin-RevId: 07a2f2fc25f28abfb1f7bca1a75ab86a20e16bc4
2025-08-21 20:48:53 +00:00
Petr
9095762730
[python] Rm obsolete registry key python.use.better.control.flow.type.inference
...
(cherry picked from commit 47ca59e692de12376ca17604b8b9ab2439882a45)
GitOrigin-RevId: 2413ed0354534c1e5cae67ca0cedc05b37ab8577
2025-08-21 20:48:53 +00:00
Aleksandr.Govenko
cc3889bf3b
PY-82963 PyCharm doesn't infer correct type when matching multiple values
...
Initial implementation
(cherry picked from commit 79cd937a9e7b8157775f1b777b9377fb338c25ae)
IJ-MR-170885
GitOrigin-RevId: edfbf09c14724d2d69b2f3cbbcb05ce8c464fcf4
2025-08-20 13:33:28 +00:00
Pavel Karateev
32ad1ad2ee
PY-81113 support Python 3.14 in PyCharm debugger backend
...
(cherry picked from commit dd980256f072d0d8e723fba8cb30277c713940a8)
IJ-MR-171824
GitOrigin-RevId: c2e74ce4df2e6767a529146a9486bdd95c2c571d
2025-08-20 11:34:03 +00:00
Aleksandr.Govenko
c043ee587d
PY-79834 Pattern Matching: matching positional arguments for NamedTuples
...
(cherry picked from commit 3f570872c6034c0b23b52d81d8780ac398646b05)
IJ-MR-170061
GitOrigin-RevId: cb89aa5ac255c1a44d0eb08adc8600cc0f79e77c
2025-08-19 21:56:43 +00:00
evgeny.bovykin
6861b49e37
PY-79816 Introduce PyType#getMemberTypes and use it to infer __hash__ type of dataclasses
...
`getMemberTypes` should be used for members which have no PSI which can be used to resolve to. For example, `__init__` method in dataclasses are sometimes not present in the source code. Yet its parameters are always useful for the code analysis. In this case, `getMemberTypes` should be used.
(cherry picked from commit 2455ed05099842fc50e1fa2a196c4952b6444795)
IJ-CR-172940
GitOrigin-RevId: 1da7d966c9752b16afc6ec1c55e6606d8ff7b244
2025-08-19 19:06:44 +00:00
Aleksandr.Govenko
b27584c98b
PY-83197 False positive This code is unreachable matching object field with other object fields
...
(cherry picked from commit b8a283f8227819d2777c0d0a561688e3f6a32c35)
IJ-MR-171819
GitOrigin-RevId: ec874b7af89305a139d8252abf3b81ce7d4e7a15
2025-08-19 17:47:25 +00:00
Aleksandr.Govenko
32153e86b0
PY-83237 False positive "This code is unreachable" after if check in a case
...
(cherry picked from commit 859b299589e217a827b7ea61d34e96e45eaf8dce)
IJ-MR-172390
GitOrigin-RevId: 60fa47fa0a13a040455ec4289e7be34fe2d48008
2025-08-19 16:11:36 +00:00
Marcus Mews
1979594075
PY-78893: Python scratch file missing built-in print
...
- report warning when module is null (applies to scratch files)
- show settings as quickfix when module is null (applies to scratch files)
- no change with common module files
(cherry picked from commit 048aa21b74364273f829cde2dc844246ad02aebf)
IJ-MR-167296
GitOrigin-RevId: d47ad325e29a7804b0dbaa136d482c9271569144
2025-08-19 13:42:07 +00:00
Egor Eliseev
786d591b05
PY-83152 Cannot stop the Remote Debug Server in PyCharm 2025.2
...
Merge-request: IJ-MR-172033
Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com >
(cherry picked from commit 76119033bb39c96d4fc1568d3c222bbfd76cd553)
IJ-MR-172033
GitOrigin-RevId: 634ef39ba3ba60ad2282626c676953beca12aea6
2025-08-18 12:58:16 +00:00
Egor Eliseev
aa7aecb630
PY-82377 "No Django runner found in the selected interpreter" false positive for Django test run configurations
...
Merge-request: IJ-MR-172042
Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com >
(cherry picked from commit 9e764bc9d84d67e68dcd09519cc6955062d17697)
IJ-MR-172042
GitOrigin-RevId: 8d9e1876baf9c05ecae62984b2c82eaafc15a57f
2025-08-18 12:40:23 +00:00
Mikhail Golubev
4aff3ed154
PY-83039 Don't trigger PyLiteralTypeCompletionContributor in cases like x = y.foo<caret>
...
It should be activated only for the simplest cases when the caret is either
inside an immediate string literal or its prefix is an unqualified reference
expression. It makes little sense trying to detect if something like
the literal string `"y.foobar"` is a possible value for `x`.
It's a relatively heavy completion contributor. It starts evaluating the type of
`x` flow-sensitively, analyzing all preceding function calls to take into
account `NoReturn`. It affects common workflows like typing out
`df = pd.` to create a new Pandas dataframe.
(cherry picked from commit f17fe2ce86ee100a3480a574c7f57a1bd67ec2d8)
IJ-CR-172165
GitOrigin-RevId: 4434488b1d2dae3ab7efd72e775b0c730268e51c
2025-08-18 11:48:31 +00:00
Marcus Mews
5aaa8992d3
PY-70265 Extract Method: signature preview also displays 'async' if necessary
...
(cherry picked from commit 159106ec2a31e5ad5992b1bca7cde1fb55e91a43)
IJ-MR-171062
GitOrigin-RevId: ef86284a03dd202460f681c5e6686132d03a7c1d
2025-08-18 11:16:40 +00:00
Pavel Karateev
3ff7c02064
PY-37711 support behave 1.2.7+
...
(cherry picked from commit a423dc858b89cb8910f771fda7a3480d3a726ca5)
IJ-MR-172503
GitOrigin-RevId: ec33e71fc5adc78be4f133a177903381c7e45099
2025-08-15 21:12:13 +00:00
Pavel Karateev
57503b6e71
PY-83387 add 3.13 option to new-conda-venv wizard
...
(cherry picked from commit 9c4776f05f7a8486ad2f037f36129adeb0e22af2)
IJ-MR-172562
GitOrigin-RevId: d6ed8996c1bd3e99985314372205be55c5844a85
2025-08-15 14:25:22 +00:00