From 46f3a1e11ff1c0f9a5a847ddc409a673509b553b Mon Sep 17 00:00:00 2001 From: Charlie Denton Date: Thu, 9 May 2024 12:42:14 +0100 Subject: [PATCH] Silence warning from installation Before this change, we were seeing a warning when these lines were run: WARNING: --strip-extras is becoming the default in version 8.0.0. To silence this warning, either use --strip-extras to opt into the new default or use --no-strip-extras to retain the existing behavior. --- makefile | 10 +++++----- requirements/development.txt | 2 +- requirements/pytest-in-tox.txt | 2 +- requirements/release.txt | 2 +- requirements/tox.txt | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/makefile b/makefile index 2f86706..6774c83 100644 --- a/makefile +++ b/makefile @@ -27,20 +27,20 @@ lint: format style typing .PHONY:update update: pip-compile pyproject.toml \ - --quiet --upgrade --resolver=backtracking \ + --quiet --upgrade --resolver=backtracking --strip-extras \ --extra=dev \ --output-file=requirements/development.txt pip-compile pyproject.toml \ - --quiet --upgrade --resolver=backtracking \ + --quiet --upgrade --resolver=backtracking --strip-extras \ --extra=pytest-in-tox \ --output-file=requirements/pytest-in-tox.txt \ --unsafe-package django pip-compile pyproject.toml \ - --quiet --upgrade --resolver=backtracking \ + --quiet --upgrade --resolver=backtracking --strip-extras \ --extra=release \ --output-file=requirements/release.txt pip-compile pyproject.toml \ - --quiet --upgrade --resolver=backtracking \ + --quiet --upgrade --resolver=backtracking --strip-extras \ --extra=tox \ --output-file=requirements/tox.txt @@ -60,7 +60,7 @@ install_prerequisites: requirements/prerequisites.txt # Add new dependencies to requirements/development.txt whenever pyproject.toml changes requirements/development.txt: pyproject.toml pip-compile pyproject.toml \ - --quiet --resolver=backtracking \ + --quiet --resolver=backtracking --strip-extras \ --extra=dev \ --output-file=requirements/development.txt diff --git a/requirements/development.txt b/requirements/development.txt index b96266b..f0e5b58 100644 --- a/requirements/development.txt +++ b/requirements/development.txt @@ -2,7 +2,7 @@ # This file is autogenerated by pip-compile with Python 3.10 # by the following command: # -# pip-compile --extra=dev --output-file=requirements/development.txt pyproject.toml +# pip-compile --extra=dev --output-file=requirements/development.txt --strip-extras pyproject.toml # asgiref==3.8.1 # via diff --git a/requirements/pytest-in-tox.txt b/requirements/pytest-in-tox.txt index 3e99bd5..f8653c0 100644 --- a/requirements/pytest-in-tox.txt +++ b/requirements/pytest-in-tox.txt @@ -2,7 +2,7 @@ # This file is autogenerated by pip-compile with Python 3.10 # by the following command: # -# pip-compile --extra=pytest-in-tox --output-file=requirements/pytest-in-tox.txt --unsafe-package=django pyproject.toml +# pip-compile --extra=pytest-in-tox --output-file=requirements/pytest-in-tox.txt --strip-extras --unsafe-package=django pyproject.toml # asgiref==3.8.1 # via diff --git a/requirements/release.txt b/requirements/release.txt index 777f157..a0b190b 100644 --- a/requirements/release.txt +++ b/requirements/release.txt @@ -2,7 +2,7 @@ # This file is autogenerated by pip-compile with Python 3.10 # by the following command: # -# pip-compile --extra=release --output-file=requirements/release.txt pyproject.toml +# pip-compile --extra=release --output-file=requirements/release.txt --strip-extras pyproject.toml # click==8.1.7 # via typer diff --git a/requirements/tox.txt b/requirements/tox.txt index a675ef8..9ace440 100644 --- a/requirements/tox.txt +++ b/requirements/tox.txt @@ -2,7 +2,7 @@ # This file is autogenerated by pip-compile with Python 3.10 # by the following command: # -# pip-compile --extra=tox --output-file=requirements/tox.txt pyproject.toml +# pip-compile --extra=tox --output-file=requirements/tox.txt --strip-extras pyproject.toml # cachetools==5.3.3 # via tox