peterbe / hashin

Helping you write hashed entries for packages in your requirements.txt
https://www.peterbe.com/plog/hashin
MIT License
105 stars 27 forks source link

Checkbox does not appear if you answer "a" on interactive update-all #97

Closed peterbe closed 5 years ago

peterbe commented 5 years ago
▶ python hashin.py -r ~/kinto-dist/requirements/constraints.txt --interactive --update-all --dry-run
PACKAGE                        YOUR VERSION    NEW VERSION
kinto-http                     9.1.2           10.1.0          ?
MarkupSafe                     1.0             1.1.0           ✓
pyldap                         3.0.0           3.0.0.post1     ✓
requests                       2.20.0          2.20.1          ✓
--- Old
+++ New
@@ -32,9 +32,9 @@
     --hash=sha256:e175a006725c7faadbe69e791877d09936c0ef2cf49d01b60a6c1efcb0e8be6f \
     --hash=sha256:edd9c13a97f6550f9da2236126bb51c092b3b1ce6187f2bd966533ad794bbb5e \
     --hash=sha256:fa39ea60d527fbdd94215b5e5552f1c6a912624521093f1384a491a8ad89ad8b
-kinto-http==9.1.2 \
-    --hash=sha256:dce1d39bad5b7323b43a2e8c8116b2dd02706e4dfa9d1554d4e573cdb9e08f01 \
-    --hash=sha256:e223e965f96e92cf916f473b4112fc4356698a553885f6dd49e99da8df00c404
+kinto-http==10.1.0 \
+    --hash=sha256:4b1ace6d46a180810c5ce0744fa89a4273c8314824abc70f868114a047780313 \
+    --hash=sha256:8a9358eeca2f020d5dbdb884ed0c4c7d9436afad9a801e6a609b2ed83d26f638
 Jinja2==2.10 \
     --hash=sha256:74c935a1b8bb9a3947c50a54766a969d4846290e1e788ea44c1392163723c3bd \
     --hash=sha256:f84be1bb0040caca4cea721fcbbbbd61f9be9464ca236387158b0feea01914a4
@@ -50,10 +50,37 @@
 Unidecode==1.0.22 \
...

Here, after the first line ("kinto-http") I pressed "a" to say yes to every package update. But it didn't make a checkbox for that line.