Skip to content

Commit

Permalink
Silence warning from installation
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
meshy committed May 9, 2024
1 parent 228fb49 commit 46f3a1e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion requirements/development.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements/pytest-in-tox.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements/release.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements/tox.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 46f3a1e

Please sign in to comment.