Skip to content

Conversation

@schaefi
Copy link
Collaborator

@schaefi schaefi commented Feb 9, 2025

Newer versions of poetry set the timestamp for all source files to epoch 0. Such sources are not accepted by e.g Debian FTP servers and in general I don't like when tools changes their behavior just like that. This commit forces an older version of poetry for the purpose of creating the sdist tarball which then gets published on pypi. The argumentation for reproducible builds by forcing source files to a certain timestamp doesn't fly for me. I'm open for any better solution though. This Fixes #2730

Newer versions of poetry set the timestamp for all source
files to epoch 0. Such sources are not accepted by e.g
Debian FTP servers and in general I don't like when tools
changes their behavior just like that. This commit forces
an older version of poetry for the purpose of creating the
sdist tarball which then gets published on pypi. The
argumentation for reproducible builds by forcing source
files to a certain timestamp doesn't fly for me. I'm open
for any better solution though. This Fixes #2730
@schaefi schaefi self-assigned this Feb 9, 2025
@Conan-Kudo Conan-Kudo merged commit 95e6f03 into main Feb 9, 2025
15 checks passed
@Conan-Kudo Conan-Kudo deleted the poetry_messes_with_epoch branch February 9, 2025 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

kiwi contains source files with timestamps set to epoch 0

3 participants