39 points by goranmoomin 3 hours ago | 4 comments
simonw 1 hour ago
Figuring out how it works is a great way to learn a bit more about how Python packaging works under the hood. I learned that .whl files contain a METADATA file listing dependency constraints as "Requires-Dist" rules.
I ran a speed comparison too. Using the uv pip resolver it took 0.24s - with the older pip-compile tool it took 17s.
ziofill 2 hours ago
jsnell 2 hours ago
thangngoc89 1 hour ago
Requires-Dist: sudoku_0_1 != 1
Requires-Dist: sudoku_0_2 != 1
Requires-Dist: sudoku_0_3 != 1
Requires-Dist: sudoku_0_4 != 1
Requires-Dist: sudoku_0_5 != 1
Requires-Dist: sudoku_0_6 != 1
Requires-Dist: sudoku_0_7 != 1
Requires-Dist: sudoku_0_8 != 1
Requires-Dist: sudoku_1_0 != 1
Requires-Dist: sudoku_2_0 != 1
Requires-Dist: sudoku_3_0 != 1
Requires-Dist: sudoku_4_0 != 1
Requires-Dist: sudoku_5_0 != 1
Requires-Dist: sudoku_6_0 != 1
Requires-Dist: sudoku_7_0 != 1
Requires-Dist: sudoku_8_0 != 1
Requires-Dist: sudoku_0_1 != 1
Requires-Dist: sudoku_0_2 != 1
Requires-Dist: sudoku_1_0 != 1
Requires-Dist: sudoku_1_1 != 1
Requires-Dist: sudoku_1_2 != 1
Requires-Dist: sudoku_2_0 != 1
Requires-Dist: sudoku_2_1 != 1
Requires-Dist: sudoku_2_2 != 1