v7.6.1 #2449
Replies: 1 comment
|
Hey , pip-tools 7.6.1 breaks pybuild-deps 0.5.0 when using pybuild-deps compile. We hit this in CI after 7.6.1 landed on PyPI (job was fine on 7.6.0 yesterday). For example, in https://github.com/RedHatInsights/lightspeed-advisor-on-premise-ocp/blob/15f55de98c460b763742bd80aa3a61e264faaf25/scripts/update_requirements.sh: python3 -m pip install -q pip-tools pybuild-deps
pip-compile --output-file=requirements.txt requirements-in.txt
pybuild-deps --generate-hashes --compile --output-file=requirements-build.txt requirements.txtThe failure is: Traceback points to pybuild_deps/scripts/compile.py line 124, where it always passes generate_hashes= into a subclass of OutputWriter, regardless of whether --generate-hashes is used. Looks related to commit 66ac906 (“Remove 'generate_hashes' from OutputWriter”, from @sirosen and @webknjaz ). My workaround is pinning pip-tools<7.6.1. Affected: pybuild-deps==0.5.0. I'm just wondering if I should propose a fix on that project (hermetoproject/pybuild-deps#416) or yours, as this may affect other stakeholders. Also, would it make sense to mention this in the 7.6.1 release notes, or treat the OutputWriter constructor as a public API and deprecate before removing in a future release? |
Uh oh!
There was an error while loading. Please reload this page.
Bug fixes
Fixed handling of index URLs ending in
/simple/by improving URL normalization logic.These URLs would previously make
pip-compilefail to use the PyPI JSON API.-- by @sirosen
PRs and issues: Get hashes from PyPI JSON API fails when index URL ends with slash #1669
Added a missing dependency on
typing-extensionsfor Python 3.9 and 3.10-- by @sirosen.
PRs and issues: 7.6.0 breaks minimum version requirement of python 3.9 #2424
Features
pip-tools is now compatible with pip version 26.2 -- by @sirosen.
PRs and issues: pip 26.2 : cannot import name "stdlib_pkgs" from "pip._internal.utils.compat" #2436, pip 26.2: RequirementCommand.make_requirement_preparer() missing 1 required keyword-only argument: 'allow_editables' #2437
Improved documentation
pip-toolsdocumentation now features a how-to section, featuring initial docs which cover controlling output file headers and configuring completion -- by @sirosen.Contributor-facing changes
Fixed CI triggers so that release tags won't create spurious failing runs -- by @sirosen.
PRs and issues: Failing CI is triggered when release tags are pushed #2421
Refactored the bug report template for better reporting -- by @psthindal.
This discussion was created from the release v7.6.1.
All reactions