Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #14435

Bug#1018689: override: python3:python/standard

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Simon McVittie <smcv@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.maint.python, linux.debian.maint.boot
Subject Bug#1018689: override: python3:python/standard
Date Sun, 04 Sep 2022 13:10:01 +0200
Message-ID <F1VFL-5f5q-1@gated-at.bofh.it> (permalink)
References <EZDMZ-3N6M-3@gated-at.bofh.it> <F1QPL-5bZh-1@gated-at.bofh.it> <EZDMZ-3N6M-3@gated-at.bofh.it> <F1QPL-5bZh-1@gated-at.bofh.it>
X-Original-To Sean Whitton <spwhitton@spwhitton.name>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Sun Sep 4 11:06:10 2022
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -4.009
Reply-To Simon McVittie <smcv@debian.org>, 1018689@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian FTP Master <ftpmaster@ftp-master.debian.org>
X-Debian-Pr-Message followup 1018689
X-Debian-Pr-Package ftp.debian.org
X-Debian-Pr-Keywords moreinfo
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Disposition inline
Content-Transfer-Encoding 8bit
X-Debian-User smcv
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1732880
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 68
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc Daniel Lewart <lewart3@gmail.com>, 1018689@bugs.debian.org, debian-python@lists.debian.org, debian-boot@lists.debian.org
X-Original-Date Sun, 4 Sep 2022 12:03:12 +0100
X-Original-Message-ID <YxSF8MErcK8ygwFF@momentum.pseudorandom.co.uk>
X-Original-References <166174398028.318631.8346542180042785950.reportbug@coffee.vetmed.illinois.edu> <878rmz3ddb.fsf@melete.silentflame.com> <166174398028.318631.8346542180042785950.reportbug@coffee.vetmed.illinois.edu> <878rmz3ddb.fsf@melete.silentflame.com>
Xref csiph.com linux.debian.bugs.dist:1116074 linux.debian.maint.python:14435 linux.debian.maint.boot:68808

Cross-posted to 3 groups.

Show key headers only | View raw


On Sat, 03 Sep 2022 at 22:41:36 -0700, Sean Whitton wrote:
> On Sun 28 Aug 2022 at 10:33PM -05, Daniel Lewart wrote:
> > Currently, python3 is Priority: optional.
> >
> > The following Buster packages have Priority: standard:
> >   * python
> >   * python-minimal
> >   * python2.7
> >   * python3-reportbug
> >
> > Now the following Priority:standard packages depend on python3
> > (directly or indirectly):
> >   * apt-listchanges
> >   * python3-reportbug
> >   * reportbug
> >
> > Therefore, I think that python3 should change from:
> >     Priority: optional
> > to:
> >     Priority: standard
> 
> I don't think these dependency relationships bear directly on the issue?

I agree. In Debian Policy versions earlier than 4.0.1, we had the rule
that if a Depends on b, then the Priority of a <= the Priority of b.

However, that rule was removed in Policy 4.0.1 (2017), for good reasons:
briefly, it resulted in supporting packages like obsolete/no-longer-used
shared libraries and older versions of gcc-*-base remaining installed
when there was no longer any real reason for them to be. The rule in
Policy §2.5 is now:

    The priority of a package is determined solely by the functionality it
    provides directly to the user. The priority of a package should not be
    increased merely because another higher-priority package depends on it

So python3 should not be elevated to standard priority merely because
tools like reportbug depend on it: the dependency system will already
ensure that reportbug's dependencies are present.

Instead, the decision should be made on this basis: imagine that
apt-listchanges and reportbug had been written or rewritten in some other
language (perhaps Perl or C). Would we still want the python3 interpreter
to be available in a standard Debian installation on its own merits,
as an interpreter for user-written scripts and/or an interactive REPL,
as part of "a reasonably small but not too limited character-mode system"
that "doesn’t include many large applications"?

On one hand, it's probably a positive thing for a "standard" Debian
installation to include an interpreter for an easy-to-learn programming
language with fewer sharp edges than shell script, both as something we
can suggest people use to learn more about programming and as something
we can encourage people to prefer over writing shell scripts.

On the other hand, Python upstream would likely prefer for someone who
is interested in learning Python to be expected to install python3-full,
and it's difficult to say "python3 should be Priority: standard" without
either making subjective value-judgements about the relative quality
of various programming languages, or using reasoning that would apply
equally to promoting (for example) ruby, nodejs or lua to standard
(which seems like an approach that would scale poorly).

Looking at other interpreters, we already have bash and perl-base in
Essential, awk transitively Essential, and perl in Priority: standard. I
would personally lean more towards demoting perl to optional than
promoting python3 to standard.

    smcv

Back to linux.debian.maint.python | Previous | Next | Find similar | Unroll thread


Thread

Bug#1018689: override: python3:python/standard Simon McVittie <smcv@debian.org> - 2022-09-04 13:10 +0200

csiph-web