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


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

Re: Bug#1090912: ITP: python-grpclib -- Pure-Python gRPC implementation for asyncio

Path csiph.com!tncsrv06.tnetconsulting.net!newsfeed.endofthelinebbs.com!news.corradoroberto.it!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Soren Stoutner <soren@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Bug#1090912: ITP: python-grpclib -- Pure-Python gRPC implementation for asyncio
Date Sat, 21 Dec 2024 18:40:01 +0100
Message-ID <JWbCh-1nvM-3@gated-at.bofh.it> (permalink)
References <JWbCh-1nvM-5@gated-at.bofh.it> <JVTm2-1c9a-33@gated-at.bofh.it> <JVTm2-1c9a-31@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Sat Dec 21 17:39:22 2024
Old-Return-Path <soren@debian.org>
X-Amavis-Spam-Status No, score=-114.849 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIMWL_WL_HIGH=-0.34, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_MED=-2.3, UNPARSEABLE_RELAY=0.001, USER_IN_DKIM_WELCOMELIST=-0.01, USER_IN_DKIM_WHITELIST=-100] autolearn=ham autolearn_force=no
Organization Debian
MIME-Version 1.0
Content-Type multipart/signed; boundary="nextPart9379574.CDJkKcVGEf"; micalg="pgp-sha512"; protocol="application/pgp-signature"
X-Debian-User soren
X-Mailing-List <debian-python@lists.debian.org> archive/latest/22699
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/3601437.iIbC2pHGDl@soren-desktop
Approved robomod@news.nic.it
Lines 119
Sender robomod@news.nic.it
X-Original-Cc Simon Josefsson <simon@josefsson.org>
X-Original-Date Sat, 21 Dec 2024 10:38:57 -0700
X-Original-Message-ID <3601437.iIbC2pHGDl@soren-desktop>
X-Original-References <87jzbuf9o0.fsf__35892.499440682$1734722323$gmane$org@kaka.sjd.se> <87bjx6f1qs.fsf@kaka.sjd.se>
Xref csiph.com linux.debian.maint.python:16607

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Simon,

On Friday, December 20, 2024 3:06:35 PM MST Simon Josefsson wrote:
> Hi Python Team,
> 
> I have prepared packaging of 'grpclib' and I'm new to Python packaging,
> so I would appreciate open minded review of how this is packaged:
> 
> https://salsa.debian.org/python-team/packages/python-grpclib
> 
> Please bring up stylistic concerns, for me to learn.  I plan to upload
> this to NEW shortly.
> 
> Some of the questions/concerns I have are:
> 
> - Do the /usr/bin binaries have to go in a separate package, or could
>   they be in the python3-grpclib binary package?  I believe they are
>   developer-only tools of limited applicability.
> 
> - Naming - right now it uses this style:
> 
> Source: python-grpclib
> Package: python3-grpclib
> Package: protoc-grpclib
> 
>   Does that make sense?  Upstream calls itself 'grpclib' but using
>   'python-grpclib' in Debian seems nicer.  I see there is a
>   'rustc-protoc' in the archive, maybe this should be
>   'python-grpclib-protoc' instead?  Or 'protoc-python-grpclib'?  Or
>   'protoc-grpclib-python'?
> 
> - This uses tarballs from pypi.debian.net, which isn't identical to
>   upstream's GitHub git archive.  It seems tests/ are missing.  I've
>   approached upstream about including them in the PyPI upload --
>   https://github.com/vmagamedov/grpclib/issues/200 -- but I'm not sure
>   what the best practices are here.  Is using the pypi.debian.net
>   tarball recommended?  Or do people package the github.com tarball
>   instead?  Or directly from git?  What do we do when some stuff is
>   missing from the PyPI archive?

I am not experienced enough with Python packaging to respond to your other 
questions, but I do know that many Python packages pull from github or gitlab 
when thinks like tests are missing from PyPI, so you should feel free to do so 
when needed.

> - Man pages are missing - the tools doesn't respond to -h or --help, I
>   suppose this is an upstream request, or are there any other ideas on
>   that?
> 
> - Others?
> 
> /Simon
> 
> Simon Josefsson <simon@josefsson.org> writes:
> > Package: wnpp
> > Severity: wishlist
> > Owner: Simon Josefsson <simon@josefsson.org>
> > X-Debbugs-Cc: debian-devel@lists.debian.org, debian-
python@lists.debian.org
> > 
> > * Package name    : python-grpclib
> > 
> >   Version         : 2.0.0b7
> >   Upstream Author : Vladimir Magamedov, et al
> > 
> > * URL             : https://github.com/vmagamedov/grpclib
> > * License         : BSD-3-Clause
> > 
> >   Programming Lang: Python
> >   Description     : Pure-Python gRPC implementation for asyncio
> >  
> >  This is a Pure-Python gRPC implementation for asyncio.
> > 
> > https://salsa.debian.org/python-team/packages/python-grpclib
> > 
> > /Simon


-- 
Soren Stoutner
soren@debian.org

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


Thread

Re: Bug#1090912: ITP: python-grpclib -- Pure-Python gRPC  implementation for asyncio Simon Josefsson <simon@josefsson.org> - 2024-12-20 23:10 +0100
    Re: Bug#1090912: ITP: python-grpclib -- Pure-Python gRPC implementation for  asyncio Soren Stoutner <soren@debian.org> - 2024-12-21 18:40 +0100
    Re: Bug#1090912: ITP: python-grpclib -- Pure-Python gRPC  implementation for asyncio Simon Josefsson <simon@josefsson.org> - 2024-12-22 18:30 +0100
      Re: Bug#1090912: ITP: python-grpclib -- Pure-Python gRPC  implementation for asyncio Simon Josefsson <simon@josefsson.org> - 2024-12-23 11:00 +0100
      Re: Bug#1090912: ITP: python-grpclib -- Pure-Python gRPC  implementation for asyncio Julian Gilbey <julian@d-and-j.net> - 2024-12-23 21:10 +0100
        Re: Bug#1090912: ITP: python-grpclib -- Pure-Python gRPC  implementation for asyncio Simon Josefsson <simon@josefsson.org> - 2024-12-23 22:00 +0100

csiph-web