The source project of this merge request has been removed.
python: add release filtering by SOURCE_DATE_EPOCH
This patch adapts the Python distro_info
module to filter distro releases based on the SOURCE_DATE_EPOCH
environment variable, when configured.
The patch is offered to support deterministic (reproducible) output despite varying system clock times when invoked, in turn supporting reproducible builds for packages that depend on distro-info
's Python functionality at build-time.
Only the default filter date value is affected; code paths that filter releases by specifying a filtering date by-argument are unaffected.
Closes: #1085112
(note: I forgot to add a Closes: #....
line to the commit message. please let me know if I should edit/amend that!)