Gentoo Archives: gentoo-dev

From: "Arsen Arsenović" <arsen@g.o>
To: gentoo-dev@l.g.o
Cc: Andrew Ammerlaan <andrewammerlaan@g.o>
Subject: Re: [gentoo-dev] dev-python/ package naming policy?
Date: Mon, 30 Jan 2023 11:29:55
Message-Id: 86fsbsjm52.fsf@gentoo.org
In Reply to: Re: [gentoo-dev] dev-python/ package naming policy? by Andrew Ammerlaan
1 Andrew Ammerlaan <andrewammerlaan@g.o> writes:
2
3 > On 28/01/2023 19:02, Ulrich Mueller wrote:
4 >>>>>>> On Sat, 28 Jan 2023, Michał Górny wrote:
5 >>>> However, it's been pointed out that this makes it hard for people to
6 >>>> find packages they're looking for.
7 >> I don't understand this argument. Why would all-lowercase make finding a
8 >> package harder?
9 >
10 > Here's an example, on pypi we have packages:
11 > - git-python
12 > - python-git
13 > - GitPython
14 > - git-py
15 >
16 > Each of these is a different package. The package you usually want is
17 > GitPython, but if we would name it gitpython or git-python, things would get
18 > very confusing very quickly. In fact, this package was renamed precisely to
19 > avoid this confusion in [1]. This is not the only case where there are very
20 > similarly named packages on pypi. By having a 1 to 1 mapping between names in
21 > pypi and names in ::gentoo we avoid this confusion.
22
23 AFAIK, but I cannot find a source confirming this, PyPI project names
24 are case-insensitive, so it should be okay to map to all lowercase.
25
26 > Best regards,
27 > Andrew
28 >
29 > [1]
30 > https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dec450a90c7490f11df7e69cd9c6709c099285c
31
32
33 --
34 Arsen Arsenović

Attachments

File name MIME type
signature.asc application/pgp-signature