F29 Self Contained Change: No more automagic Python bytecompilation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Proposed Self Contained Change: No more automagic Python bytecompilation
https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation


Owner(s):
  * Miro Hrončok <mhroncok at redhat dot com>
  * Petr Viktorin <pviktori at redhat dot com>


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.



== Detailed description ==
[Change wrangler note]: As the detailed description of this Change
proposal is quite extensive I am just referring to the Change Proposal
wiki page: https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation#Detailed_Description
. Please review the proposal following the link.


== Scope ==
* Proposal owners:
Make it work technically, propose the new guidelines, file pull
requests for python3 modules that follow the current guidelines.

* Other developers:
Maintainers of python3 packages that redefine %__python should merge
provided pull requests. Others may opt-in for the new behavior or
explicitly stick with the old one (not a System Wide Change, they
don't have to do anything).

* Release engineering:
[https://pagure.io/releng/issue/7315 #7315]

* Policies and guidelines:
will be changed as described in description

* Trademark approval:
not needed
-- 
Jan Kuřík
Platform & Fedora Program Manager
Red Hat Czech s.r.o., Purkynova 99/71, 612 45 Brno, Czech Republic
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux