Allow more control over the locking timestamp used #10
Labels
Affects: Command Line
Affects the command line interface
Affects: Python API
Affects the public Python API of the project
Category: Enhancement
New feature or request
Lock timestamps are recorded via a dedicated metadata file stored alongside each requirements file generated with
uv pip compile
. This timestamp is then used in the generated artifact metadata (and to set the upper limit on file timestamps in the generated archives).In combination with the
--exclude-newer
feature inuv pip compile
, this approach to recording the lock timestamps means it is possible to specify a lock time that is earlier than the current time when that particular environment is locked.API and CLI options to select between the following two modes should be provided:
The existing "record the actual locking time" behaviour does NOT need to be retained (since it's a strictly worse alternative to the behaviour where every lock timestamp is set to the current time immediately before the locking process starts).
The text was updated successfully, but these errors were encountered: