#507 postprocess: Debug for Python timestamp workaround
Closed by siosm. Opened by siosm.
Unknown source main

Download 507.patch

Add some debug output to figure out if the logic of this workaround is
correct.

Updates: d085e9f postprocess: Workaround for Python timestamp mismatch
See: https://pagure.io/workstation-ostree-config/pull-request/505

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/546b033d47424ffe966bbf900f4051de

/usr/lib64/python3.12/urllib/__pycache__/__init__.cpython-312.pyc
/usr/lib64/python3.12/urllib/__pycache__/__init__.cpython-312.pyc: fixing mtime

This is supposed to be fixed :/

Is there anything else in Python running after this that might import it?

For the record, files not fixed are all in:

/usr/lib/python3.12/site-packages/cupshelpers/
/usr/share/gcc-14/python/libstdcxx/
/usr/share/gdb/auto-load/usr/lib64/
/usr/share/ibus-anthy/
/usr/share/ibus-typing-booster/
/usr/share/ibus/setup/

They are likely not bytecompiled by %py_byte_compile and hence they use the hash-based bytecompilation -- which should be fixed in the respective packages, but works fine on ostree based systems.

Is there anything else in Python running after this that might import it?

Not that I know of :/

We will use https://github.com/keszybz/add-determinism/pull/27 instead once it lands in Fedora (and then in rpm-ostree).

Pull-Request has been closed by siosm

Next step in https://pagure.io/workstation-ostree-config/pull-request/536

Metadata