Skip to content

v1.4.0: Targeted Fix Environment & Known Breakages

Choose a tag to compare

@github-actions github-actions released this 04 Nov 18:01
· 4 commits to master since this release
v1.4.0
26fab16

✨ What's New

PyPilot for VS Code 1.4.0 runs engine 1.4.0, where Fix environment fixes what is actually wrong instead of rebuilding the environment for every problem.

📖 New guide: What doctor --fix fixes

🎯 Fix environment, targeted

  • Each problem gets its own fix: a uv sync for a missing or drifted package, uv lock for a stale lock, a reinstall of only the half-installed package, a repair of a damaged venv on the Python it had, or a one-line edit of a requirement.
  • A healthy project is left alone. The Python moves only when a dependency forces it, the notification says which one, and the choice is saved to .python-version.
  • Every file PyPilot edits is named, and an edit that leaves the project unresolvable is rolled back.

📚 Problems it now explains

  • Unsatisfiable pins, typos ("did you mean") and versions that do not exist, with a fix checked before anything changes.
  • Known breakages that metadata does not show: numpy 2 with old compiled packages, uncapped dependencies that later removed an API (werkzeug and flask, markupsafe and jinja2, setuptools 82 and pkg_resources), shadowing packages such as jwt and PyJWT, and yanked pins.
  • Removed stdlib modules and removed APIs used in your code (distutils, np.float, collections.Mapping, SQLAlchemy 2 engine.execute), by file and line with the replacement.
  • pixi, conda environment.yml and Poetry projects are fixed with their own tools.

🔐 Engine

  • Pins engine v1.4.0, verified by SHA-256 as before.

📦 Installation

Download pypilot-vscode-1.4.0.vsix below, then in VS Code: Extensions → ⋯ → Install from VSIX…

Requires VS Code 1.85 or newer. The extension downloads and verifies engine v1.4.0 on first use, or uses a pypilot 1.4.0+ already on your PATH.

Full Changelog: v1.3.0...v1.4.0