You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This patch fixes the limitation of the check-pinned-deps-for-needed-upgrade hook, where it could not handle requirements definitions with trailing comments. These now get stripped before parsing.
This release renames the hook upgrade-deps-if-changed to check-pinned-deps-for-needed-change to better reflect its function. It also makes setting the unsafe packages in the pip-tools settings in pyproject.toml optional and uses the defaults from pip-tools when there is nothing set.
This patch removes the assumption in the upgrade-deps-if-changed hook that there has to be a requirements-test.txt file in the repository. Now the base requirements just get tested against all requirements files in the repository.
This patch release simplifies the upgrade-deps-if-changed hook, so that it does not check what changed in a setup.cfg but instead just checks whether the present setup.cfg with all its extras fulfils is still fulfilled by the present lock files.