PyCharm 2025.2.1

Released: Aug 28, 2025

2025.2.1 での更新項目

機能

  • Cython
    • Added Cython code folding support.
  • Inspections
    • Implemented inspection for Pandas: 'The truth value of a DataFrame is ambiguous'.
  • Interpreters Settings
    • Added Python version 3.13 to new conda environment wizard.
    • Added support for pyenv.
  • Refactoring
    • Extract method with typehints.
    • Macro support for working directory in test run configuration.

不具合の修正

  • AI Assistant
    • LLM: unit test generation always saves test to a new file.
  • AI Playground
    • Add Brand Icons to Model Responses.
    • Widen Add Provider Window.
    • Add 'Enable All' Check box to Add Provider Window.
    • Add Placeholder Text to Model Filter Search Field.
    • Make 'Apply to All' Look like a button.
    • Change AI Assistant Brand Icons.
  • BDD
    • Behave 1.2.7 - 'No tests were found'.
  • Code Insight
    • 'This code is unreachable' false positive with a complex comparison in try/finally.
    • Regression: Internal pytest fixtures no longer provide autocompletion.
    • No warning for awaiting a normal function if target in other module.
    • Python scratch file missing built-in print.
    • typing.overload does not work correctly with decorator application syntax.
    • Pattern Matching: matching NamedTuple fields considered Any.
    • False positive 'This code is unreachable' after try / finally if try has a while loop.
    • Don't report lines with assert_never as unreachable.
    • Pattern matching for dataclasses - allow matching a subset of attributes.
    • False positive unreachable code after try / finally block if try has an if.
    • PyCharm doesn't infer correct type when matching multiple values.
    • Forward Reference Causes Import to Be Incorrectly Removed in PyCharm 2025.2.
    • False positive 'This code is unreachable' after an if check on Optional subclass of flask_sqlalchemy.SQLAlchemy.Model.
    • False positive This code is unreachable matching object field with other object fields.
    • False positive 'This code is unreachable' after if check in a case.
    • Disable strict type narrowing and introduce registry flag for it.
    • Support navigation to fixture declaration from usefixtures().
  • Debugger
    • PyCharm Debugger accesses 'shape' object attribute with overriden getattr method.
    • Remote debugging opens up in remote sources folder (when installed in editable mode).
    • Images/Arrays from Jupyter Variable View are not loaded during Debugging.
    • Debug Image View. Toolwindow resizing issues.
    • Debug Image Viewer: java.lang.Throwable: Do not call getChildren(null) - on expanding hidden images.
    • Debug Image Viewer: Sometimes the cursor position and value continue to display outside the image boundaries.
    • Torch tensors are missing 'View as image' button in the outputs.
    • 'does not contain a PEP 723 metadata tag' error while debugging with uv run configuration.
    • pydevd_pycharm.settrace() not recognizing parameters stdoutToServer and stderrToServer.
    • Cannot stop the Remote Debug Server in PyCharm 2025.2.
    • PyCharm debugger stuck on 'Collecting data...' when Mock local variable exists in frame.
  • Django
    • PyCharm reports wrong parameters for Django's CheckConstraint.
    • False positive warning for Django CharField(choices=ChoicesSubClass) / sync bundled django stubs.
    • 'No Django runner found in the selected interpreter' false positive for Django test run configurations.
    • Incorrect type is inferred for Django modelformset_factory result.
  • Docker
    • The original PYTHONPATH is replaced by PyCharm when running configurations using Docker Compose interpreter.
  • Flask
    • Complete session keys in Flask apps.
    • Codeinsight for request.form.get in Flask.
  • Inspections
    • False warning 'This decorator will not receive a callable it may expect' when classmethod is not the last applied.
    • Pycharm July 2025 EAP showing unreachable after 'if x is not None' when using a subtype of Any.
    • Optimize imports clears imports in typing.TYPE_CHECKING.
    • August: update PyCharm built-in spell check dictionary.
  • Interpreters Settings
    • Take into the consideration the brew paths when adding new interpreter.
    • The list of Python versions available for installation is not filtered based on already used Python versions.
    • Exclude the venv folder in the project root when it is configured as project SDK via 'Select existing'.
    • Rename 'Base python' to 'Base Python' on the new project screen.
    • FUS for Hatch usage.
    • fastapi import is unresolved right after creating a new project with uv-based SDK.
  • Jupyter
    • No Git actions in the notebook context menu.
    • Activate Jupyter Variables Window Does Not Toggle using Shortcut.
    • Add FUS for the SQL cell run when source is a csv or a dataframe.
    • Jupyter kernel name is hidden.
    • Rebasing the Jupyter notebook corrupts the notebook.
    • Visual bug with tags in Jupyter Notebook.
    • Remove ToggleReadOnlyAction action for Non Free Tier users.
    • The Configure Inversion menu item leads not to the correct Settings page.
    • Endless execution of the set_next_input.
    • Jupyter: replicate 'Show heading number in the document' feature from JupyterLab.
    • Jupyter HTML headers in Pycharm Structure view.
    • Add GitHub Gist support.
    • Git rebase clears metadata of a staged Jupyter Notebook.
    • .UPDATE_DISPLAY_DATA doesn't take 'display_id' into consideration.
  • Jupyter: Debugger
    • The second debug session starts not from the first breakpoint but from the first line of the cell if the first debug session was finished by the 'Step Over' action.
    • Debugger steps into interactiveshell.py.
    • Jupyter: 'Notebook is debugging ;' label does not disappear after debug ends.
    • ClassCastException because of DataView at the start of debugging.
  • Jupyter: Editor
    • Jupyter DND: cell that becomes the last one has no execution counter.
    • Jupyter Notebooks: visual bug of line numbering.
  • Jupyter: Other
    • Execute Cell in Console action available in context menu also for .py files.
    • Some of 'stop' buttons don't work during debugging.
  • Jupyter: Outputs
    • [Text outputs in separate editor tab]: Unusual indentation / missing gutter (line numbers).
    • [Text outputs in separate editor tab]: Problems caused by disappearance of tab contents when reopening the project \ IDE.
    • [Text outputs in separate editor tab]: Formatting disappears.
    • [Text outputs in separate editor tab]: Re-run of the cell leads to the green space instead of the opened in a separate tab text output.
  • Jupyter: Remote dev
    • Jupyter + RemoteDev, invalid position for select interpreter popup.
  • Packaging. Requirements
    • Install all Requirements.txt improvements.
    • Can't detect package name in VCS urls in requirements.txt.
  • Profiler
    • PyCharm flame graph profiler doesn't show class names for methods.
    • Profiler fails to parse profiling results with PySide6.
  • Refactoring
    • Extract Method does Not Preserve Existing Line Breaks.
    • Extract method with type hints lacks return type sometimes.
  • Tables (Jupyter, DataView)
    • Hint to turn on the column statistics.
    • Add Reload button to Data View tool window, or ensure automatic refresh.
    • Column names are multiplied in the table filter after filter error.
    • Improve UI and Wording for Page Size Selection & Enhance Table View Visibility for CSV files.
    • 'View as Array' silently fails for torch tensors that requires_grad.
    • Remove the 'Static Output' action from the Customize Table toolbar
    • Wrong dimensions for Static tables.
  • Test Runner
    • 'Go to declaration' does not work for integrated pytest fixtures.
    • 'Go to declaration' does not work for async fixtures.