Skip to content

Commit 27092f9

Browse files
committed
ci: rebuild the requirement.txt files using --allow-unsafe
The flag is needed to create hash-pinned requirements for pip and setup-tools. Find more information about this at these issues from [pip-tools](jazzband/pip-tools#806) and from [pip](pypa/pip#6459). Signed-off-by: Diogo Teles Sant'Anna <[email protected]>
1 parent 18692ed commit 27092f9

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
pip
22
wheel
33
cffi
4-
setuptools-rust
4+
setuptools-rust

.github/workflows/build-requirements.txt

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This file is autogenerated by pip-compile with Python 3.10
33
# by the following command:
44
#
5-
# pip-compile --generate-hashes build-requirements.in
5+
# pip-compile --allow-unsafe --generate-hashes requirements.in
66
#
77
cffi==1.15.1 \
88
--hash=sha256:00a9ed42e88df81ffae7a8ab6d9356b371399b91dbdf0c3cb1e84c03a13aceb5 \
@@ -69,7 +69,7 @@ cffi==1.15.1 \
6969
--hash=sha256:ed9cb427ba5504c1dc15ede7d516b84757c3e3d7868ccc85121d9310d27eed0b \
7070
--hash=sha256:fa6693661a4c91757f4412306191b6dc88c1703f780c8234035eac011922bc01 \
7171
--hash=sha256:fcd131dd944808b5bdb38e6f5b53013c5aa4f334c5cad0c72742f6eba4b73db0
72-
# via -r build-requirements.in
72+
# via -r requirements.in
7373
pycparser==2.21 \
7474
--hash=sha256:8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9 \
7575
--hash=sha256:e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206
@@ -81,17 +81,22 @@ semantic-version==2.10.0 \
8181
setuptools-rust==1.6.0 \
8282
--hash=sha256:c86e734deac330597998bfbc08da45187e6b27837e23bd91eadb320732392262 \
8383
--hash=sha256:e28ae09fb7167c44ab34434eb49279307d611547cb56cb9789955cdb54a1aed9
84-
# via -r build-requirements.in
84+
# via -r requirements.in
8585
typing-extensions==4.7.1 \
8686
--hash=sha256:440d5dd3af93b060174bf433bccd69b0babc3b15b1a8dca43789fd7f61514b36 \
8787
--hash=sha256:b75ddc264f0ba5615db7ba217daeb99701ad295353c45f9e95963337ceeeffb2
8888
# via setuptools-rust
8989
wheel==0.40.0 \
9090
--hash=sha256:cd1196f3faee2b31968d626e1731c94f99cbdb67cf5a46e4f5656cbee7738873 \
9191
--hash=sha256:d236b20e7cb522daf2390fa84c55eea81c5c30190f90f29ae2ca1ad8355bf247
92-
# via -r build-requirements.in
92+
# via -r requirements.in
9393

94-
# WARNING: The following packages were not pinned, but pip requires them to be
95-
# pinned when the requirements file includes hashes. Consider using the --allow-unsafe flag.
96-
# pip
97-
# setuptools
94+
# The following packages are considered to be unsafe in a requirements file:
95+
pip==23.1.2 \
96+
--hash=sha256:0e7c86f486935893c708287b30bd050a36ac827ec7fe5e43fe7cb198dd835fba \
97+
--hash=sha256:3ef6ac33239e4027d9a5598a381b9d30880a1477e50039db2eac6e8a8f6d1b18
98+
# via -r requirements.in
99+
setuptools==68.0.0 \
100+
--hash=sha256:11e52c67415a381d10d6b462ced9cfb97066179f0e871399e006c4ab101fc85f \
101+
--hash=sha256:baf1fdb41c6da4cd2eae722e135500da913332ab3f2f5c7d33af9b492acb5235
102+
# via setuptools-rust

0 commit comments

Comments
 (0)