Skip to content

Releases: sbidoul/pip-deepfreeze

v1.5.0

05 Jan 18:11
Compare
Choose a tag to compare

What's Changed

  • Normalize distribution names in the generated lock files. This change, which will cause some churn in generated requirements*.txt files, was made following a setuptools 69 evolution that started preserving underscores in distribution names. by @sbidoul in #132

Full Changelog: v1.4.0...v1.5.0

v1.4.0

09 Oct 16:16
867f296
Compare
Choose a tag to compare

What's Changed

  • Freeze pip legacy build tools if they are dependencies by @sbidoul in #125
  • Don't attempt to fixup VCS direct URLs for older python versions by @sbidoul in #127

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

v1.3.0

14 Sep 10:52
Compare
Choose a tag to compare

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

v1.2.0

10 Apr 17:37
Compare
Choose a tag to compare

What's Changed

  • Don't show a stack trace when post sync commands fail by @sbidoul in #92
  • Normalize requirement lines to better support variations in requirements.txt vs pip freeze output by @sbidoul in #93

Full Changelog: v1.1.0...v1.2.0

v1.1.0

12 Feb 14:31
Compare
Choose a tag to compare

What's Changed

Features:

  • Load default options from pyproject.toml by @sbidoul in #87
  • Add post-sync commands by @sbidoul in #86
  • Support pyproject.toml without build system to detect project name by @sbidoul in #84

Fixes:

  • Read pyproject.toml using utf-8 encoding by @sbidoul in #90

Removals:

  • Drop python 3.6 support (we still support 3.6 target environments) by @sbidoul in #89

Full Changelog: v1.0.0...v1.1.0

v1.0.0

27 Sep 13:21
151d1a3
Compare
Choose a tag to compare

First stable release. No feature change.

v0.10.0

07 Sep 14:02
6dfe5d0
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.9.0...v0.10.0