Skip to content

Commit c8c4a3a

Browse files
committed
🧪 Add a pip-tools config
1 parent 06b290b commit c8c4a3a

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

.pip-tools.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[tool.pip-tools]
2+
allow-unsafe = true # weird outdated default
3+
# generate-hashes = false # pip bug https://github.com/pypa/pip/issues/9243
4+
resolver = "backtracking" # modern depresolver
5+
strip-extras = true # so that output files are true pip constraints

docs/requirements.txt

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This file is autogenerated by pip-compile with Python 3.11
33
# by the following command:
44
#
5-
# pip-compile --allow-unsafe --generate-hashes --output-file=requirements.txt --strip-extras requirements.in
5+
# pip-compile --allow-unsafe --config=../.pip-tools.toml --generate-hashes --output-file=requirements.txt --strip-extras requirements.in
66
#
77
alabaster==0.7.12 \
88
--hash=sha256:446438bdcca0e05bd45ea2de1668c1d9b032e1a9154c2c259092d77031ddd359 \
@@ -27,7 +27,9 @@ charset-normalizer==2.0.12 \
2727
click==7.1.2 \
2828
--hash=sha256:d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a \
2929
--hash=sha256:dacca89f4bfadd5de3d7489b7c8a566eee0d3676333fbb50030263894c38c0dc
30-
# via towncrier
30+
# via
31+
# click-default-group
32+
# towncrier
3133
click-default-group==1.2.2 \
3234
--hash=sha256:d9560e8e8dfa44b3562fbc9425042a0fd6d21956fcc2db0077f63f34253ab904
3335
# via towncrier
@@ -288,9 +290,9 @@ urllib3==1.26.19 \
288290
# via requests
289291

290292
# The following packages are considered to be unsafe in a requirements file:
291-
setuptools==70.0.0 \
292-
--hash=sha256:54faa7f2e8d2d11bcd2c07bed282eef1046b5c080d1c32add737d7b5817b1ad4 \
293-
--hash=sha256:f211a66637b8fa059bb28183da127d4e86396c991a942b028c6650d4319c3fd0
293+
setuptools==74.1.2 \
294+
--hash=sha256:5f4c08aa4d3ebcb57a50c33b1b07e94315d7fc7230f7115e47fc99776c8ce308 \
295+
--hash=sha256:95b40ed940a1c67eb70fc099094bd6e99c6ee7c23aa2306f4d2697ba7916f9c6
294296
# via
295297
# setuptools-scm
296298
# towncrier

0 commit comments

Comments
 (0)