codrsquad / pickley

Automate installation of standalone python CLIs
MIT License
45 stars 7 forks source link

Add `bake_time` option to pinned config. #41

Closed thatch closed 1 month ago

thatch commented 1 month ago

We don't obey the bake time if:

Also notable is that we don't obey this in the bstrap code itself.

This happens after the only-check-for-updates-so-often code, and is bypassed in the same manner (pickley upgrade -f).

This works in the same general manner as the virtualenv --upgrade-embed-wheels flag, in that we don't consider things for upgrade until they've been released for a while. Once that time elapses, users will reasonably quickly get the update. We do not special case patch versions as virtualenv does, and any projects using this should be judicious about yanking.