Simon Josefsson
2024-12-20 22:10:02 UTC
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?
- 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
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?
- 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
Package: wnpp
Severity: wishlist
* 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
Severity: wishlist
* 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