Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-22139

Add the --invalidation-mode=timestamp option in the brp-python-bytecompile

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • rhel-9.4
    • rhel-9.4
    • redhat-rpm-config
    • None
    • redhat-rpm-config-207-1.el9
    • Normal
    • sst_cs_software_management
    • ssg_core_services
    • 22
    • False
    • Hide

      None

      Show
      None
    • Red Hat Enterprise Linux
    • All

      We are shipping Python 3.12 in RHEL 9.4 and for performance reasons we set the pyc files to TIMESTAMP invalidation mode.

      However since https://src.fedoraproject.org/rpms/python3.11/c/11c77ae3885da670bff924479a50228fe0951b64?branch=rawhide that was imported from Fedora we need to be patching the brp-python-bytecompile script in redhat-rpm-config in order to achieve the same results.

      This issue currently affects the whole Python 3.12 stack that has been built on RHEL9, hence we'll need to make a rebuild of every component after/if this fix goes through.

      Would it be possible to ship this fix for 9.4?

            rhn-support-ffesti Florian Festi
            cstratak@redhat.com Charalampos Stratakis
            packaging-team-maint packaging-team-maint
            Eva Mrakova Eva Mrakova
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: