Bug 1925963

Summary: Regression: %pyproject_save_files no longer owns __pycache__ directories in nested directories
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: pyproject-rpm-macrosAssignee: Miro Hrončok <mhroncok>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: code, mhroncok, pviktori, python-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pyproject-rpm-macros-0-38.fc35 pyproject-rpm-macros-0-38.fc34 pyproject-rpm-macros-0-38.eln110 pyproject-rpm-macros-0-38.fc33 pyproject-rpm-macros-0-38.fc32 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-10 09:58:16 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 Miro Hrončok 2021-02-07 18:22:07 UTC
Since https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/7PQT2EJPS2UXVQA4WDR6EIL6FBOJUMQP/ https://src.fedoraproject.org/rpms/pyproject-rpm-macros/c/d8b6408932882f1f1c2bc1f43e1e793853513274 %pyproject_save_files no longer owns __pycache__ directories.

Reported in https://bugzilla.redhat.com/show_bug.cgi?id=1914689#c13


This is caused by reusing pycached(...) to add the nested .py files, however pycached(...) was designed to add .py files from site-packages directly and hence it does not add the __pycache__ directory automatically.

Comment 2 Ben Cotton 2021-02-09 16:05:00 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle.
Changing version to 34.

Comment 3 Fedora Update System 2021-02-10 09:58:16 UTC
FEDORA-2021-5da2b818af has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Fedora Update System 2021-02-10 15:29:40 UTC
FEDORA-2021-7b0b4f2771 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-7b0b4f2771

Comment 5 Fedora Update System 2021-02-10 15:29:40 UTC
FEDORA-2021-7998967052 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2021-7998967052

Comment 6 Fedora Update System 2021-02-11 02:00:05 UTC
FEDORA-2021-7b0b4f2771 has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-7b0b4f2771`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-7b0b4f2771

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2021-02-11 02:23:18 UTC
FEDORA-2021-7998967052 has been pushed to the Fedora 32 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-7998967052`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-7998967052

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2021-02-11 16:53:04 UTC
FEDORA-2021-b90eda0fb7 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2021-02-11 17:01:25 UTC
FEDORA-2021-977dd68a64 has been pushed to the Fedora ELN stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2021-02-19 01:13:37 UTC
FEDORA-2021-7b0b4f2771 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2021-02-19 01:14:50 UTC
FEDORA-2021-7998967052 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.