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


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

Re: Package naming advice: python3-pyls-jsonrpc or python3-jsonrpc-server?

Path csiph.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!2.eu.feeder.erje.net!feeder.erje.net!news.in-chemnitz.de!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: Package naming advice: python3-pyls-jsonrpc or python3-jsonrpc-server?
Date Sun, 01 Nov 2020 19:40:02 +0100
Message-ID <B6qqK-1Cc-9@gated-at.bofh.it> (permalink)
References <B6puF-13o-5@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Sun Nov 1 18:35:59 2020
Old-Return-Path <smcv@debian.org>
X-Amavis-Spam-Status No, score=-7.801 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, MURPHY_SCAM1=0.1, 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=hBLW3UQ9F3aaLlg2M0bHNT0RheqZd41OWO6X/qTL5a8=; b=whTd4JCBMhBTz3MLzyJUTN+3Qc qHqJgFMBUo376nNiEPf3x6kSvYGNdjU6tph86o62UYghco79hv/2ZqslaLkGNFT8+I5YXmNDY+WKG /Wjx4N35oHfrtSNePTTq4f0mEAM6De8XYM5+RD0FERSfxqBaFnvCsUxOQgsPm7dZU4tdpsmvV1KiH O/i4zE2XLduq0V9/PdtviSvwfsu3/SdykXza4Pqbv1EasEzAyofpnAUvzcbXAoD3VOXR4ucalM7/Z JlmN5Di1Er2TEDkyLnfnJXaLqF5W5o4b75aiow+h5QiiyrloUITfz4X6FYief6QrWRxWyuad1RmrX MIfhSjYQ==;
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/18761
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20201101183540.GA56583@espresso.pseudorandom.co.uk
Approved robomod@news.nic.it
Lines 24
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sun, 1 Nov 2020 18:35:40 +0000
X-Original-Message-ID <20201101183540.GA56583@espresso.pseudorandom.co.uk>
X-Original-References <CAHj_TLAqLv-spPDirZrYxD+36+nXxmSpv0N0k7F3D_NmiQrNCA@mail.gmail.com>
Xref csiph.com linux.debian.maint.python:12997

Show key headers only | View raw


On Sun, 01 Nov 2020 at 19:36:52 +0200, Otto Kekäläinen wrote:
> I am currently reviewing the Debian packaging at
> https://salsa.debian.org/python-team/packages/python-jsonrpc-server of
> the upstream project https://github.com/palantir/python-jsonrpc-server
> 
> Upstream uses 'python-jsonrpc-server' as the repository and also the
> pip package name. Should we follow that in Debian or perhaps use the
> alternative name 'python3-pyls-jsonrpc'?
> 
> Is there some existing naming convention/policy about Python modules
> of this sort?

When you say "follow that", do you mean for the Debian source package
name (.dsc, like dbus-python), or for the Debian binary package name
(.deb, like python3-dbus)?

The binary package name should be mechanically derived from what you
import. If you 'import pyls_jsonrpc', then python3-pyls-jsonrpc is right.
If you 'import pyls.jsonrpc', then python3-pyls.jsonrpc, and so on.

The source package name is less important, and could either resemble the
binary package name or match what upstream calls it.

    smcv

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


Thread

Package naming advice: python3-pyls-jsonrpc or python3-jsonrpc-server? Otto Kekäläinen <otto@debian.org> - 2020-11-01 18:40 +0100
  Re: Package naming advice: python3-pyls-jsonrpc or  python3-jsonrpc-server? Jochen Sprickerhof <jspricke@debian.org> - 2020-11-01 19:00 +0100
  Re: Package naming advice: python3-pyls-jsonrpc or  python3-jsonrpc-server? Simon McVittie <smcv@debian.org> - 2020-11-01 19:40 +0100
    Re: Package naming advice: python3-pyls-jsonrpc or python3-jsonrpc-server? Otto Kekäläinen <otto@seravo.fi> - 2020-11-01 20:10 +0100

csiph-web