Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #13030
| Path | csiph.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Simon McVittie <smcv@debian.org> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Should Binaries provided by python-babel have a "python3-" prefix? |
| Date | Fri, 27 Nov 2020 13:20:02 +0100 |
| Message-ID | <BfKTg-1ty-7@gated-at.bofh.it> (permalink) |
| References | <BfoJ3-4JH-3@gated-at.bofh.it> <Bfx9D-1xK-3@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Fri Nov 27 12:14:21 2020 |
| Old-Return-Path | <smcv@debian.org> |
| X-Amavis-Spam-Status | No, score=-7.901 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no |
| Dkim-Signature | v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; s=smtpauto.master; h=In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To:Cc: Content-ID:Content-Description; bh=VpWjU0gYI81CgCZYQ+fkqsdpcsiKw/ao/252FWut24A=; b=N4TAF/BOTQCLEN9KyFItccdXDu l+qoqdzhuzT5ZHmahWbQAB4BLsKtxNFf9JnuCJbGLrt70vfiYhQnmLGnELLGW73Xd0ukco3erSpKm n8KIqYnMnGeCN55S3Sl3ricm4fDunA14E/3AlcqXh+hoy2z0oXBzyRCt7hMLPLUzt3g2N17hUWWH+ x9qS2fOYSscXaBmE93IW0hsOZHfyrVQy7YFgUpqYtgiOj+XDRQIeKt4YJbU8eCpxen7ZeUzdNpTnV 8eiLthbyXcqflo0oU6X8YxZOzu/0M8WX9mbTWrVS2GZLt9iv6hTeAjsgjadlZyRhHCN12DNt+psQh jE6IRruw==; |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=iso-8859-1 |
| Content-Disposition | inline |
| Content-Transfer-Encoding | 8bit |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/18795 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/X8DtdjlGkCgjpNAS@espresso.pseudorandom.co.uk |
| Approved | robomod@news.nic.it |
| Lines | 47 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Fri, 27 Nov 2020 12:13:42 +0000 |
| X-Original-Message-ID | <X8DtdjlGkCgjpNAS@espresso.pseudorandom.co.uk> |
| X-Original-References | <CAJN1928zRF4svCEGPT9Bs2KWkXnd7Q=4rm+gEXQQrLiwCjTm8g@mail.gmail.com> <db6732c8-f764-2e92-5aaa-b2ba4afeb72b@gmx.de> |
| Xref | csiph.com linux.debian.maint.python:13030 |
Show key headers only | View raw
On Thu, 26 Nov 2020 at 22:33:19 +0100, Steffen Möller wrote:
> On 26.11.20 13:16, Nilesh Patra wrote:
> > Currently src:python-babel provides 3 binaries:
> >
> > * python3-babel
> > * python-babel-doc
> > * python-babel-localedata
> >
> > of which python3-babel is the main binary, -babel-doc is for the
> > documentation and -babel-localedata is for storing locale data files
> > used by python3-babel.
> >
> > Should this be renamed to a "python3-" prefix for both binaries? They
> > do not contain any actual code though
>
> I propose to have the "3" only for packages that depend on python3. The
> source package name, documentation and data package names should not be
> versioned.
For the documentation,
https://www.debian.org/doc/packaging-manuals/python-policy/module_packages.html
says python-babel-doc is correct (I wrote this wording, but the
python3-defaults maintainers merged it and I think there's consensus
that it's right):
If the documentation for a module foo provided in python3-foo is
large enough that a separate binary package for documentation is
desired, then the documentation package should preferably be named
python-foo-doc (and in particular, not python3-foo-doc).
For the locale data, the policy doesn't say either way (Python libraries
with separate version-independent data are somewhat rare), but I agree that
python- is likely to be the most appropriate choice here too.
A good way to decide this is to think about what we would do if we had a
Python 4 that is incompatible with Python 3 (which I assume will happen
eventually, although hopefully not for a few years). If these packages
would be shared between python3-babel and python4-babel, then they should
be named with an unversioned python- prefix. That's the reasoning for why
the documentation gets a python- prefix.
The unversioned python- namespace is shared between "Python 2 specifically"
and "not specific to a Python version" for historical reasons: Python 1.x
and 2.x were sufficiently compatible that there was no need to distinguish
between python1-foo and python2-foo.
smcv
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Should Binaries provided by python-babel have a "python3-" prefix? Nilesh Patra <npatra974@gmail.com> - 2020-11-26 13:40 +0100
Re: Should Binaries provided by python-babel have a "python3-" prefix? Thomas Goirand <zigo@debian.org> - 2020-11-26 18:00 +0100
Re: Should Binaries provided by python-babel have a "python3-" prefix? Steffen Möller <steffen_moeller@gmx.de> - 2020-11-26 22:40 +0100
Re: Should Binaries provided by python-babel have a "python3-" prefix? Simon McVittie <smcv@debian.org> - 2020-11-27 13:20 +0100
Re: Should Binaries provided by python-babel have a "python3-" prefix? Thomas Goirand <zigo@debian.org> - 2020-11-27 14:20 +0100
csiph-web