This is a tracking bug for Change: No more automagic Python bytecompilation
For more details, see: https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation
The current way of automatic Python byte-compiling of files outside Python-specific directories is too magical and error-prone. It is built on heuristics that are increasingly wrong.
We will provide a way to opt-out of it and adjust the guidelines to prefer explicit bytecompilation of such files. Later, the old behavior will be opt-in only or will cease to exist.
Note that bytecompilation in Python-specific directories (e.g. /usr/lib/python3.6/) is not affected.
Upstream PR: https://github.com/rpm-software-management/rpm/pull/434
The guidelines were adapted. This remains open, because we promised to deliver changes for the py3 packages.
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.
According to the Fedora 29 schedule, today is the deadline for changes to be in a testable state. If your change is ready to be tested, please set the status to ON_QA. A list of incomplete changes will be sent to FESCo tomorrow for evaluation. If you know your change will not be ready for Fedora 29, you can set the version to rawhide and notify bcotton.
All the necessary changes in packaging are done.
Consumers (packages) were not changed by us yet, but that is fine.
This Change appears to have been implemented for Fedora 29. If it is not closed, please let me know so I can re-open it against Rawhide.