On 02/08/2016 09:21 AM, Neal Gompa wrote: > On Mon, Feb 8, 2016 at 2:37 AM, Florian Weimer <fweimer@xxxxxxxxxx> wrote: >> On 02/08/2016 08:27 AM, Jan Kurik wrote: >>> = Proposed Self Contained Change: System Python = >>> https://fedoraproject.org/wiki/Changes/System_Python >> >> Is this intended to mirror Debian's python-minimal? Not necessarily, thought if the subset is similar we might re-use it. >> What steps have been taken to accommodate Python upstream's wishes >> against creating subsets of the standard distribution? If I recall >> correctly, this was a major point of discussion when Debian introduced >> python-minimal. The system-python is not a general-purpose Python interpreter. It should only be called from programs that explicitly opt in to it. Perhaps is should be /usr/libexec/system-python rather than /usr/bin/system-python, to drive the idea home. > This sounds like a really bad idea. How do we know what to expect is > provided in a given Python package? Part of the change is defining the exact subset. The idea is that it should be small, to keep cloud images small for apps that don't use Python themselves. > We don't currently have anything > that creates package-independent virtual Provides/Requires of Python > modules that would cover the scope necessary to make this more > effective. Right. Every package using system-python would need to explicitly disable the automatic Python requires, and add the system-python ones. > Technically, there is one for independent Python module packages > coming in RPM upstream that is currently disabled by default (in fact, > I've got a pull request to improve it based on feedback from the > Python SIG as well as Mageia[1]), but I don't think that is currently > designed to handle the kind of complexity this is going to introduce. > > How in the world would we handle such a dramatic departure from how we > currently package Python? It's a change designed for a few system tools that can accept the limitations. we can make Python-less containers and cloud images smaller. Normal Python packages would be unaffected. So I don't think it's a dramatic departure. -- Petr Viktorin -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx