Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"Everything should be made as simple as possible, but not simpler." -- Albert Einstein


devel / comp.lang.python / Re: Proliferation of Python packaging formats

SubjectAuthor
* Re: Proliferation of Python packaging formatsMats Wichmann
`- Re: Proliferation of Python packaging formatsPaul Rubin

1
Re: Proliferation of Python packaging formats

<mailman.31.1637182688.19479.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=16025&group=comp.lang.python#16025

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: mat...@wichmann.us (Mats Wichmann)
Newsgroups: comp.lang.python
Subject: Re: Proliferation of Python packaging formats
Date: Wed, 17 Nov 2021 13:57:58 -0700
Lines: 61
Message-ID: <mailman.31.1637182688.19479.python-list@python.org>
References: <CANc-5UynNv8L+2SP=n1-gKcnF3=dYW6eArEdRbBT3HxHaQYhgg@mail.gmail.com>
<CAPTjJmqDPE88_ySSgA0ALf=Q0Ka75SaV+g9tA7XhqQN107AC8Q@mail.gmail.com>
<78072033-c685-a912-08bc-779f688ac5fc@wichmann.us>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de RXYpkwx8KXk9H+PhgNeURA+bieQ/Jhkr+96h0mjnp97g==
Return-Path: <mats@wichmann.us>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="1024-bit key; unprotected key"
header.d=pobox.com header.i=@pobox.com header.b=huHPtsIz;
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.004
X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'psf': 0.02; 'everyone,':
0.03; 'pip': 0.04; 'pep': 0.07; 'psf,': 0.07; '*not*': 0.09;
'18,': 0.09; 'angelico': 0.09; 'fedora': 0.09; 'linux': 0.09;
'subject:skip:P 10': 0.09; 'supplied': 0.09; 'url-
ip:184.105.176.44/32': 0.09; 'url-ip:184.105.176/24': 0.09; 'url-
ip:184.105/16': 0.09; 'url:discuss': 0.09; 'subject:Python': 0.12;
'received:173': 0.13; '"get': 0.16; 'ecosystem,': 0.16;
'mandatory': 0.16; 'montanaro': 0.16; 'packages.': 0.16; 'stop.':
0.16; 'url:2021': 0.16; 'wrote:': 0.16; 'problem': 0.16; 'python':
0.16; 'applications': 0.17; 'probably': 0.17; 'thu,': 0.19;
'to:addr:python-list': 0.20; 'machine': 0.22; "i've": 0.22;
'maybe': 0.22; 'progress': 0.22; 'way.': 0.22; 'install': 0.23;
'installed': 0.23; "isn't": 0.27; 'chris': 0.28; 'fact': 0.28;
'header:User-Agent:1': 0.30; 'attempt': 0.31; 'seem': 0.31;
'comment': 0.31; 'module': 0.31; "doesn't": 0.32; 'everyone':
0.32; 'dropped': 0.32; 'formats': 0.32; 'but': 0.32; 'there':
0.33; 'release': 0.34; 'package': 0.34; 'header:In-Reply-To:1':
0.34; 'running': 0.34; 'trying': 0.35; 'yes,': 0.35; 'close':
0.35; 'final': 0.35; 'people': 0.36; 'those': 0.36; 'couple':
0.37; 'main': 0.37; 'really': 0.37; "it's": 0.37; 'author': 0.37;
'received:192.168': 0.37; 'two': 0.39; 'least': 0.39; 'single':
0.39; 'otherwise': 0.39; 'use': 0.39; 'likely': 0.61; "there's":
0.61; 'come': 0.62; 'true': 0.63; 'feel': 0.63; 'everything':
0.63; 'your': 0.64; 'independent': 0.65; 'well': 0.65; 'exactly':
0.68; 'interested': 0.68; 'days,': 0.69; 'strength': 0.69;
'times': 0.69; '2021': 0.71; 'url:t': 0.73; 'little': 0.73;
'five': 0.75; 'sources': 0.75; 'surprise': 0.76; 'business': 0.77;
'happens': 0.84; 'choices': 0.84; 'forgot': 0.84; 'happen,': 0.84;
'packaging.': 0.84; 'winners,': 0.84; 'caused': 0.86; 'cutting':
0.91
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=message-id
:date:mime-version:subject:to:references:from:in-reply-to
:content-type:content-transfer-encoding; s=sasl; bh=9cfJ1AHw4o0n
ujD2H1rQh3UwydKJ98PSUjLPtAlNulQ=; b=huHPtsIzUqrT9g8t5cuDVdUOW66x
YEFVlVvvmlQ+/Y2Zg1yKOIN3EP+2xmpM3/KiddhsXHKnG0+VGUFMCsNcnYRviiim
kJwoqlPlZ2ZaTQLPqZpF7OOwQYKey3lFokvgl0/1YdHVpfrPyBYxBNmYsRocwloi
dAKflryZGqQnZ6E=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=wichmann.us;
h=message-id:date:mime-version:subject:to:references:from:in-reply-to:content-type:content-transfer-encoding;
s=2018-07.pbsmtp; bh=pNfcDg3cnu1FtNmrUXEtmjxySZyDuwTN4LdvV8Jgvo0=;
b=FzloVgdAAG5PGqVqOhVW+W4d7WjTWPqvqJ9bSaE8Zvcn4nC/yGRyhO19F0C3h5xd68DDgRxmiArAS657OTP4eP7yMxd9kLvNpiat+XpXOy193OeRpf6n4S5STvgiDONYazcXdXieF+dOLrCX8NjXvZzQ89n4Cwwkhp6V3nSIU4Q=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.3.0
Content-Language: en-US
In-Reply-To: <CAPTjJmqDPE88_ySSgA0ALf=Q0Ka75SaV+g9tA7XhqQN107AC8Q@mail.gmail.com>
X-Pobox-Relay-ID: 0C5A6CFE-47E9-11EC-9CD1-98D80D944F46-81526775!pb-smtp21.pobox.com
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.37
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <78072033-c685-a912-08bc-779f688ac5fc@wichmann.us>
X-Mailman-Original-References: <CANc-5UynNv8L+2SP=n1-gKcnF3=dYW6eArEdRbBT3HxHaQYhgg@mail.gmail.com>
<CAPTjJmqDPE88_ySSgA0ALf=Q0Ka75SaV+g9tA7XhqQN107AC8Q@mail.gmail.com>
 by: Mats Wichmann - Wed, 17 Nov 2021 20:57 UTC

On 11/17/21 07:44, Chris Angelico wrote:
> On Thu, Nov 18, 2021 at 12:20 AM Skip Montanaro
> <skip.montanaro@gmail.com> wrote:
>>
>> Is the proliferation of packaging formats in Python as nutzo as this author
>> believes?
>>
>> https://drewdevault.com/2021/11/16/Python-stop-screwing-distros-over.html
>>
>> Asking because I've never been in the business of releasing "retail" Python
>> applications or packages.
>>
>
> It's a problem if you feel the need to release in every single
> possible way. The XKCD in that example is a showcase of what happens
> when you attempt to install in every possible way, which is usually a
> consequence of everyone releasing in just one way.
>
> He's blaming the PSF, but that's not really fair. The PSF has never
> said "hey everyone, make sure you package for conda as well as posting
> on PyPI". Part of the proliferation comes because there are multiple
> completely independent distributions, and in the XKCD shown there, he
> has installed Python at least five times from completely different
> sources (the OS-provided one, two from Homebrew, one from Anaconda,
> and one from python.org), and maybe installed pip into one of those as
> well. Duh, of course that's going to cause problems.

There are people working on the problems, but the author doesn't seem to
like the progress being made. Here's one jumping point for those
interested who haven't otherwise followed this stuff:

https://discuss.python.org/t/graceful-cooperation-between-external-and-python-package-managers-pep-668/10302

Some of the problems in Python ecosystem, which categorically does *not*
just consist of machines running a Linux distro, are in fact caused by
the choices the Linux distros make in packaging. The model of "get
everything you need from your distro's packages" doesn't come close to
cutting it these days, so there has to be coexistence. Anecdotally, I
have a module I use in a couple of projects and I forgot that on my main
machine I actually had that supplied by a Fedora package (silly me), and
surprise - it's been dropped in F35.

Yes, it's true that the PyPA does not set itself up to be the final
picker of winners, so this comment isn't just off the wall:

"P.S. PEP-517 and 518 are a start, but are very disappointing in how
little they address distro problems. These PEPs are designed to tolerate
the proliferation of build systems, which is exactly what needs to stop.
Python ought to stop trying to avoid hurting anyone’s feelings and pick
one."

That doesn't seem likely to happen, and in fact there's probably
strength in having multiple implementations of a PEP (in other worlds,
like W3C, multiple implementations are mandatory before a standard can
be accepted).

Re: Proliferation of Python packaging formats

<874k8auzdl.fsf@nightsong.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=16028&group=comp.lang.python#16028

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: no.em...@nospam.invalid (Paul Rubin)
Newsgroups: comp.lang.python
Subject: Re: Proliferation of Python packaging formats
Date: Wed, 17 Nov 2021 15:38:14 -0800
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <874k8auzdl.fsf@nightsong.com>
References: <CANc-5UynNv8L+2SP=n1-gKcnF3=dYW6eArEdRbBT3HxHaQYhgg@mail.gmail.com>
<CAPTjJmqDPE88_ySSgA0ALf=Q0Ka75SaV+g9tA7XhqQN107AC8Q@mail.gmail.com>
<78072033-c685-a912-08bc-779f688ac5fc@wichmann.us>
<mailman.31.1637182688.19479.python-list@python.org>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="9ec14a6261c6c137d7be578011d1b2d2";
logging-data="1234"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+a/gsL4rP9C/p2D2ZhGjmG"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:z7lJNocqKUeiQy90439eUppSzqg=
sha1:kef0pIZuYTxwOgApCmX6ikl9bto=
 by: Paul Rubin - Wed, 17 Nov 2021 23:38 UTC

Mats Wichmann <mats@wichmann.us> writes:
> "P.S. PEP-517 and 518 are a start,..."
> That doesn't seem likely to happen, and in fact there's probably
> strength in having multiple implementations of a PEP (in other worlds,
> like W3C, multiple implementations are mandatory before a standard can
> be accepted).

The analogy would for a PEP to specify ONE format, and then if you want,
have multiple implementations of that one format. Not have a PEP that
gives a general description of what a format should do, and then have
lots of formats.

ISTM that OS distros use so many different formats because there is no
single format specification coming out of the Python community, so the
OS packagers each end up rolling their own.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor