From 68cbeddc44485514573b834d99815936d48a9f81 Mon Sep 17 00:00:00 2001 From: Jose Tomas Robles Hahn Date: Wed, 8 Nov 2023 19:19:55 -0300 Subject: [PATCH] chore(deps): Update `pip-tools` from 6.14.0 to 7.3.0 - [Software Repository](https://pypi.org/project/pip-tools/7.3.0/) - [Release notes](https://github.com/jazzband/pip-tools/releases/tag/7.3.0) - [Changelog](https://github.com/jazzband/pip-tools/blob/7.3.0/CHANGELOG.md#v730) - [Commits](https://github.com/jazzband/pip-tools/compare/6.14.0...7.3.0) Update procedure: - Update Make variable `PYTHON_PIP_TOOLS_VERSION_SPECIFIER`. - Update version of `pip-tools` in file `requirements-dev.in`. - Compile Python dependency manifests with `make python-deps-compile`. Related Dependabot commits and pull requests: - https://github.com/dependabot/dependabot-core/commit/a3af98f612d3c0c9d19b5ddb378a2f02f3f0cc5e - https://github.com/dependabot/dependabot-core/pull/7711 - https://github.com/dependabot/dependabot-core/commit/54d0b2258bddc59720a97114cb77c85639b1065e - https://github.com/dependabot/dependabot-core/pull/7845 --- Makefile | 5 +++-- requirements-dev.in | 1 + requirements-dev.txt | 27 ++++++++++++++++++++++++--- requirements.txt | 2 +- 4 files changed, 29 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 1148ffad..4d3b40a2 100644 --- a/Makefile +++ b/Makefile @@ -9,8 +9,9 @@ PYTHON_PIP = $(PYTHON) -m pip PYTHON_PIP_VERSION_SPECIFIER = ==22.3.1 PYTHON_SETUPTOOLS_VERSION_SPECIFIER = ==58.1.0 PYTHON_VIRTUALENV_DIR = venv -PYTHON_PIP_TOOLS_VERSION_SPECIFIER = ==6.14.0 +PYTHON_PIP_TOOLS_VERSION_SPECIFIER = ==7.3.0 PYTHON_PIP_TOOLS_SRC_FILES = requirements.in requirements-dev.in +PYTHON_PIP_TOOLS_COMPILE_ARGS = --allow-unsafe --strip-extras --quiet # Black BLACK = black --config .black.cfg.toml @@ -135,7 +136,7 @@ python-deps-compile: $(patsubst %,python-deps-compile-%,$(PYTHON_PIP_TOOLS_SRC_F python-deps-compile: ## Compile Python dependency manifests python-deps-compile-%: - pip-compile --strip-extras --quiet "$(*)" + pip-compile $(PYTHON_PIP_TOOLS_COMPILE_ARGS) "$(*)" python-deps-sync-check: $(patsubst %,python-deps-sync-check-%,$(PYTHON_PIP_TOOLS_SRC_FILES)) python-deps-sync-check: ## Check that compiled Python dependency manifests are up-to-date with their sources diff --git a/requirements-dev.in b/requirements-dev.in index baa73551..b3497daa 100644 --- a/requirements-dev.in +++ b/requirements-dev.in @@ -10,6 +10,7 @@ coverage==7.3.2 flake8==6.1.0 isort==5.12.0 mypy==1.6.1 +pip-tools==7.3.0 tox==4.11.3 twine==4.0.2 types-jsonschema==4.19.0.4 diff --git a/requirements-dev.txt b/requirements-dev.txt index f18636be..4091bfa4 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -2,7 +2,7 @@ # This file is autogenerated by pip-compile with Python 3.8 # by the following command: # -# pip-compile --strip-extras requirements-dev.in +# pip-compile --allow-unsafe --strip-extras requirements-dev.in # attrs==23.1.0 # via @@ -12,6 +12,8 @@ black==23.10.1 # via -r requirements-dev.in bleach==5.0.1 # via readme-renderer +build==1.0.3 + # via pip-tools bumpversion==0.5.3 # via -r requirements-dev.in cachetools==5.3.1 @@ -29,7 +31,9 @@ chardet==5.2.0 charset-normalizer==3.1.0 # via requests click==8.0.3 - # via black + # via + # black + # pip-tools colorama==0.4.6 # via tox coverage==7.3.2 @@ -54,6 +58,7 @@ idna==2.10 importlib-metadata==6.1.0 # via # -c requirements.txt + # build # twine isort==5.12.0 # via -r requirements-dev.in @@ -79,10 +84,13 @@ packaging==23.1 # via # -c requirements.txt # black + # build # pyproject-api # tox pathspec==0.9.0 # via black +pip-tools==7.3.0 + # via -r requirements-dev.in pkginfo==1.8.3 # via twine platformdirs==3.11.0 @@ -106,6 +114,8 @@ pygments==2.15.0 # rich pyproject-api==1.6.1 # via tox +pyproject-hooks==1.0.0 + # via build readme-renderer==35.0 # via twine referencing==0.30.2 @@ -133,8 +143,11 @@ six==1.16.0 tomli==2.0.1 # via # black + # build # mypy + # pip-tools # pyproject-api + # pyproject-hooks # tox tox==4.11.3 # via -r requirements-dev.in @@ -161,8 +174,16 @@ virtualenv==20.24.5 webencodings==0.5.1 # via bleach wheel==0.41.3 - # via -r requirements-dev.in + # via + # -r requirements-dev.in + # pip-tools zipp==3.8.1 # via # -c requirements.txt # importlib-metadata + +# The following packages are considered to be unsafe in a requirements file: +pip==22.3.1 + # via pip-tools +setuptools==58.1.0 + # via pip-tools diff --git a/requirements.txt b/requirements.txt index eaa6ff0e..370b84c2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ # This file is autogenerated by pip-compile with Python 3.8 # by the following command: # -# pip-compile --strip-extras requirements.in +# pip-compile --allow-unsafe --strip-extras requirements.in # annotated-types==0.5.0 # via pydantic