Repository navigation
Commit e800ed5
committed
👷 Enable hash-checking in the runtime deptree 🔗
This sorta fixes #279, though not fully, perhaps. We may want to discuss
it more in the future.
It became possible to pip v26.1 [[1]] fixing the issue I reported when
Pradyun was first battle-testing the new resolvelib-based replacement
back in 2020 and it turned out to crash whenever the new resolver would
see constraint files with entries having `--hash` attached [[2]]. This
was quite a popular use for the users of `pip-tools` which delayed the
adoption. It's finally been fixed this May [[3]] so we can use it here.
This version of pip got bundled into CPython and backported into 3.13
that our container uses. So I'm bumping pip to the corresponding version
to match that in our pip-tools managed files too (since we've been
downgrading pip to a version that doesn't for two months LOL).
With that, the patch also includes hashes for whatever bits of the tree
have been present in the constraint "lock" files already without
re-resolving them or bumping anything else transitive.
Thanks to Pradyun for finally fixing the thing in pip upstream, and to
Seth, and Thomas for periodically poking me about this ☮️
[1]: https://pip.pypa.io/en/stable/news/#v26-1
[2]: pypa/pip#9243
[3]: pypa/pip#138871 parent dd8c5f4 commit e800ed5
4 files changed
Lines changed: 483 additions & 50 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
0 commit comments