Skip to content

v1.3.0

Compare
Choose a tag to compare
@sbidoul sbidoul released this 14 Sep 10:52
· 141 commits to master since this release

Features

  • Use pip inspect when the target pip supports it. This allows working in virtual environments where setuptools (and thus pkg_resources)
    are not installed. (#97)
  • Don't warn about the absence of the wheel package when using pip >= 23.1. (#101)
  • Search for py, then python executable in PATH when the --python option is not provided. This should provide a better
    experience on Windows and for users of the the Python Launcher for
    Unix
    . (#100)
  • Support named editable requirements in constraint files (requirements.txt.in) and lock files (requirements*.txt). (#110)
  • Improved handling of the temporary requirements file created during sync. (#115)
  • Work around a pip limitation that causes repeated metadata recomputation for VCS URLs. When a constraint is provided with a VCS URL with a mutable reference, pip installs it but does not cache the wheel. During subsequent pip-df sync runs, the metadata is therefore recomputed (because it is not cached), but the wheel is never built because pip rightly considers it is already installed. So it is never cached and this causes performance issues. As a workaround we fixup direct_url.json with a fake commit to force reinstallation (and therefore caching of the wheel) during subsequent sync with the pinned commit id. (#119)
  • Add pip-deepfreeze --version. (#120)

Deprecations and Removals

  • Drop support for running pip-deepfreeze under python 3.7. We still support 3.7 target environments. (#112)

Misc

  • Use ruff for linting. (#106)
  • Use tomli with python < 3.11, and the stdlib tomllib otherwise. (#62)

Full Changelog: v1.2.0...v1.3.0