Skip to content

Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!

Python

fix: Freeze all dependencies including setuptools

Clémence Lesné521f9fdd3f1a
diff --git a/pyproject.toml b/pyproject.toml
index 3af33aa..9cee6fb 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -67,6 +67,7 @@ py-modules = [
]
[tool.pip-tools]
+allow-unsafe = true
generate-hashes = true
[tool.deptry]
diff --git a/requirements-dev.txt b/requirements-dev.txt
index d8b2a3c..00bf747 100644
--- a/requirements-dev.txt
+++ b/requirements-dev.txt
@@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
-# pip-compile --extra=dev --generate-hashes --output-file=requirements-dev.txt pyproject.toml
+# pip-compile --allow-unsafe --extra=dev --generate-hashes --output-file=requirements-dev.txt pyproject.toml
#
aiohttp==3.9.5 \
--hash=sha256:0605cc2c0088fcaae79f01c913a38611ad09ba68ff482402d3410bf59039bfb8 \
@@ -2300,8 +2300,14 @@ zipp==3.19.2 \
--hash=sha256:f091755f667055f2d02b32c53771a7a6c8b47e1fdbc4b72a8b9072b3eef8015c
# via importlib-metadata
-# WARNING: The following packages were not pinned, but pip requires them to be
-# pinned when the requirements file includes hashes and the requirement is not
-# satisfied by a package already installed. Consider using the --allow-unsafe flag.
-# pip
-# setuptools
+# The following packages are considered to be unsafe in a requirements file:
+pip==24.1.2 \
+ --hash=sha256:7cd207eed4c60b0f411b444cd1464198fe186671c323b6cd6d433ed80fc9d247 \
+ --hash=sha256:e5458a0b89f2755e0ee8c0c77613fe5273e05f337907874d64f13171a898a7ff
+ # via pip-tools
+setuptools==70.3.0 \
+ --hash=sha256:f171bab1dfbc86b132997f26a119f6056a57950d058587841a0082e8830f9dc5 \
+ --hash=sha256:fe384da74336c398e0d956d1cae0669bc02eed936cdb1d49b57de1990dc11ffc
+ # via
+ # opentelemetry-instrumentation
+ # pip-tools
diff --git a/requirements.txt b/requirements.txt
index a3c68db..f933597 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
-# pip-compile --generate-hashes --output-file=requirements.txt pyproject.toml
+# pip-compile --allow-unsafe --generate-hashes --output-file=requirements.txt pyproject.toml
#
aiohttp==3.9.5 \
--hash=sha256:0605cc2c0088fcaae79f01c913a38611ad09ba68ff482402d3410bf59039bfb8 \
@@ -1442,7 +1442,8 @@ zipp==3.19.2 \
--hash=sha256:f091755f667055f2d02b32c53771a7a6c8b47e1fdbc4b72a8b9072b3eef8015c
# via importlib-metadata
-# WARNING: The following packages were not pinned, but pip requires them to be
-# pinned when the requirements file includes hashes and the requirement is not
-# satisfied by a package already installed. Consider using the --allow-unsafe flag.
-# setuptools
+# The following packages are considered to be unsafe in a requirements file:
+setuptools==70.3.0 \
+ --hash=sha256:f171bab1dfbc86b132997f26a119f6056a57950d058587841a0082e8830f9dc5 \
+ --hash=sha256:fe384da74336c398e0d956d1cae0669bc02eed936cdb1d49b57de1990dc11ffc
+ # via opentelemetry-instrumentation