F27 Self Contained Change: Platform Python Stack

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

 



= Proposed Self Contained Change:  Platform Python Stack =
https://fedoraproject.org/wiki/Changes/Platform_Python_Stack

Change owner(s):
* Miro Hrončok<python-maint at redhat dot com>

A revisit of the System Python change
https://fedoraproject.org/wiki/Changes/System_Python from Fedora 24.
It has been renamed from System Python to Platform Python not to
collide with upstream PEP 432.
Platform Python will be a separate stack fo Python packages aimed to
provide all necessary dependencies to run and build dnf. In Fedora 27
this will be Python 3.6 (same version as python3, but this might
change in the future with the Modularity effort).


== Detailed Description ==
The changes made during the System Python change from Fedora 24 will
be reverted.

A new platform-python (source) package will be created as a copy of
the python3 package. Unlike python3, it will be changed so that:

the location of files will not be /usr/lib/python3.6/ but
/usr/lib/platform-python/

the script that generates the python(abi) requirement will be adapted
to generate platform-python(abi) requirement for that location

the location of the binary will be /usr/libexec/platform-python
all the macros will use the platform python binary and will be renamed
all subpackages will be named platform-python-*
the debug build will be disabled
the modules that are (before this change) not part of
system-python-libs but rather python3-libs will relocate to
platform-python-libs-devel to be available only on build-time
platform-python-libs will provide platform-python(abi) instead of python(abi)

Several packages (see bellow) will introduce a new platform-python-
subpackage. Example specfile of such package:
https://fedoraproject.org/wiki/Changes/Platform_Python_Stack#Detailed_Description

The complete list of affected packages is not final yet. It should be
all the Python build dependencies of dnf and their build dependencies
as well, excluding packages only needed to build the documentation
(normal python3- (or even python2-) packages will be used to build the
documentation as it is now).
Currently, we have established this as a list of packages:
https://fedoraproject.org/wiki/Changes/Platform_Python_Stack#Detailed_Description


== Scope ==
* Proposal owners:
- identify a list of runtime and build dependencies of dnf
- create a platform-python source package
- change the script that generates the python(abi) requirements to
also generate platform-python(abi) requirements
- revert system-python related things from the python3 package (add
appropriate provides/obsoletes)
- add a platform-python- subpackage to identified list of packages
- switch dnf to use that stack

* Other developers:
N/A (not a System Wide Change)

* Release engineering:
https://pagure.io/releng/issue/6917

* List of deliverables:
N/A (not a System Wide Change)

* Policies and guidelines:
N/A (not a System Wide Change)

* Trademark approval:
N/A (not needed for this Change)
-- 
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