#116 Don't let RPM set SOURCE_DATE_EPOCH based on the latest %changelog date
Merged 3 months ago by churchyard. Opened 3 months ago by churchyard.
rpms/ churchyard/python3 source_date_epoch_from_changelog_0  into  master

file modified
+6

@@ -126,6 +126,12 @@ 

  # on files that test invalid syntax.

  %undefine py_auto_byte_compile

  

+ # Don't let RPM set SOURCE_DATE_EPOCH based on the latest %%changelog date

+ # It breaks tests with: can't find '__main__' module in .../test_zip.zip

+ # Reported at https://bugs.python.org/issue34022

+ # Tracked at https://bugzilla.redhat.com/show_bug.cgi?id=1724753

+ %global source_date_epoch_from_changelog 0

+ 

  # For multilib support, files that are different between 32- and 64-bit arches

  # need different filenames. Use "64" or "32" according to the word size.

  # Currently, the best way to determine an architecture's word size happens to

It breaks tests with: can't find 'main' module in .../test_zip.zip

Reported at https://bugs.python.org/issue34022
Tracked at https://bugzilla.redhat.com/show_bug.cgi?id=1724753

+1
I'm OK with having a 3.7-only workaround until it's fixed upstream (if ever).

the CI seem stuck for 2 hours now [citest]

Pull-Request has been merged by churchyard

3 months ago