Skip to content

Commit cd3ce37

Browse files
committed
chore: Add --allow-unsafe to Pip Compile arguments
According to [Pip Tools’ documentation](https://github.com/jazzband/pip-tools/blob/7.4.1/README.md#deprecations): > - In the next major release, the `--allow-unsafe` behavior will be > enabled by default ([#989](jazzband/pip-tools#989)). > Use `--no-allow-unsafe` to keep the old behavior. It is recommended > to pass `--allow-unsafe` now to adapt to the upcoming change.
1 parent dd6392b commit cd3ce37

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

make/python.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ PYTHON_SETUPTOOLS_VERSION_SPECIFIER ?= >=57.0.0
66
PYTHON_WHEEL_VERSION_SPECIFIER ?= >=0.36.2
77
PYTHON_PIP_TOOLS_VERSION_SPECIFIER ?= >=6.1.0
88
PYTHON_PIP_TOOLS_SRC_FILES ?= requirements.in
9-
PYTHON_PIP_TOOLS_COMPILE_ARGS ?= --strip-extras --quiet
9+
PYTHON_PIP_TOOLS_COMPILE_ARGS ?= --allow-unsafe --strip-extras --quiet
1010

1111
.PHONY: python-pip-install
1212
python-pip-install: ## Install Pip

requirements-dev.txt

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This file is autogenerated by pip-compile with Python 3.9
33
# by the following command:
44
#
5-
# pip-compile --strip-extras requirements-dev.in
5+
# pip-compile --allow-unsafe --strip-extras requirements-dev.in
66
#
77
black==25.1.0
88
# via -r requirements-dev.in
@@ -140,5 +140,7 @@ zipp==3.21.0
140140
# via importlib-metadata
141141

142142
# The following packages are considered to be unsafe in a requirements file:
143-
# pip
144-
# setuptools
143+
pip==24.2
144+
# via pip-tools
145+
setuptools==75.8.2
146+
# via pip-tools

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This file is autogenerated by pip-compile with Python 3.9
33
# by the following command:
44
#
5-
# pip-compile --strip-extras requirements.in
5+
# pip-compile --allow-unsafe --strip-extras requirements.in
66
#
77
asgiref==3.8.1
88
# via django

0 commit comments

Comments
 (0)