Bug 2133850
Summary: | Downstream-only patch in Python 3: #328 Restore pyc to TIMESTAMP invalidation mode as default in rpmbuild | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tomas Orsava <torsava> |
Component: | python3.12 | Assignee: | Miro Hrončok <mhroncok> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | cstratak, mhroncok, pviktori, python-maint, python-packagers-sig, thrnciar, torsava, vstinner |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python3.12-3.12.0~a3-2.fc38 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-01-06 14:23:25 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Tomas Orsava
2022-10-11 15:08:34 UTC
Previously tracked in BZ#1287556. This should be solved by __pysource__, if accepted upstream: https://discuss.python.org/t/pysource-file-layout-for-installed-modules/14594 I figured out we can pass --invalidation-mode=timestamp to compilall when we byte-compile explicitly and we don't need to care about other use cases that much. See https://src.fedoraproject.org/rpms/python-rpm-macros/pull-request/154 and https://src.fedoraproject.org/rpms/python3.12/pull-request/17 |