Re: upstream python concerns, python3-full package for bullseye
Hi Elana (2021.02.11_18:12:34_+0000)
> - Stefano: Update python-policy to describe "python3-full".
I have prepared a policy MR for this:
https://salsa.debian.org/cpython-team/python3-defaults/-/merge_requests/8
It catches up on the current split situation, too.
diff --git a/debian/python-policy.dbk b/debian/python-policy.dbk
index 875b281..8b67f4a 100644
--- a/debian/python-policy.dbk
+++ b/debian/python-policy.dbk
@@ -233,17 +233,28 @@
some exceptions.
</para>
<para>
- Excluded are modules that cannot be included for licensing reasons
- (for example the <literal>profile</literal> module), for dependency tracking
- purposes (for example the GPL-licensed <literal>gdbm</literal> module), or
- that should not be included for packaging reasons (for example
- the <literal>tk</literal> module which depends on Xorg).
+ Excluded are modules that cannot be included for licensing reasons,
+ for dependency tracking purposes (for example the GPL-licensed
+ <literal>gdbm</literal> module), or that should not be included
+ for packaging reasons (for example the <literal>tk</literal>
+ module which depends on Xorg and the <literal>venv</literal>
+ module which depends on wheels to bootstrap pip).
+ Modules that would interfere with system package management (for example
+ <literal>ensurepip</literal>, when used outside virtual environments) are
+ modified to print a message explaining the problem and recommending
+ alternatives.
</para>
<para>
Some tools and files for the <emphasis>development</emphasis> of Python
modules are split off in a separate binary package
<literal>python<replaceable>X</replaceable>.<replaceable>Y</replaceable>-dev</literal>.
</para>
+ <para>
+ Modules only used for <emphasis>building</emphasis> of Python modules
+ (e.g. <literal>distutils</literal> and <literal>lib2to3</literal>) are
+ split into separate packages.
+ The <literal>python3-venv</literal> binary package depends on these.
+ </para>
<para>
Documentation will be provided separately as well.
</para>
@@ -255,6 +266,15 @@
the <literal>python3.<replaceable>Y</replaceable></literal> package that installs
the executable.
</para>
+ <para>
+ A <literal>python3-full</literal> binary package must ensure that the
+ entire Python standard library is available, including all modules
+ split into separate packages (but excluding modules excluded from
+ Debian for licensing reasons).
+ This package exists for the convenience of python developers, and
+ must not be used in dependencies by python module or application
+ packages.
+ </para>
<para>
The version of the <literal>python3</literal> package must be
greater than or equal to 3.<replaceable>Y</replaceable> and lower than
SR
--
Stefano Rivera
http://tumbleweed.org.za/
+1 415 683 3272
Reply to: