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


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

Bug#998151: python-trezor: incorrect binary package name, python3-trezor should be python3-trezorlib

From Soren Stoutner <soren@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.maint.python
Subject Bug#998151: python-trezor: incorrect binary package name, python3-trezor should be python3-trezorlib
Date 2024-10-04 18:50 +0200
Message-ID <JtTF7-gUlq-1@gated-at.bofh.it> (permalink)
References <JtmpP-gAjx-1@gated-at.bofh.it> <JtS6l-gTz9-7@gated-at.bofh.it> <De88V-1rf-5@gated-at.bofh.it> <JtS6l-gTz9-7@gated-at.bofh.it>
Organization Debian

Cross-posted to 2 groups.

Show all headers | View raw


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

Carsten,

On Friday, October 4, 2024 8:09:14 AM MST Carsten Schoenert wrote:
> Am 03.10.24 um 07:10 schrieb Soren Stoutner:
> > Sandro,
> > 
> > I have just taken over maintenance of python-trezor and would like to
> > rectify
> > this problem.  As I have never renamed a python binary package, I would 
like
> > to make sure I handle it correctly.
> > 
> > I can see the package is indeed installed into
> > /usr/lib/python3/dist-packages/ trezorlib, which appears to be inline with
> > the upstream source code (/src/ trezorlib).
> > 
> > I assume that fixing this involves changing the name of the binary package
> > from “python3-trezor” to “python3-trezorlib”.
> 
> why do you think this is needed?
> I don't see any reason to do so. Keep it as it is.

When I adopted this package, there was an existing bug report [1] claiming 
that the existing binary package name needs to be changed to comply with 
Python Policy.  The bug report doesn’t explain exactly what aspect doesn’t 
comply with the policy, but I assume it comes down to python3-trezor 
installing to the following two directories, which have disparate names:

/usr/lib/python3/dist-packages/trezorlib/
/usr/lib/python3/dist-packages/trezor-0.13.9.egg-info/

If this isn’t a policy violation I am in favor of leaving the package name as 
is, which is why I copied my response to the debian-python list.

> Upstream is using the name 'trezor' as package name and we should not
> derive from that if not really strong reasons are given to do this.
> Again I even don't see any more light reasons to do this renaming.

Upstream seems to use both trezor and trezorlib, with the PyPI package named 
trezor while the files are installed to trezorlib.  Perhaps that is a problem 
that upstream should address.  I would appreciate any guidance on the best way 
to proceed with the Debian packaging.

[1]  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=998151
-- 
Soren Stoutner
soren@debian.org

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


Thread

Bug#998151: python-trezor: incorrect binary package name, python3-trezor should be python3-trezorlib Soren Stoutner <soren@debian.org> - 2024-10-03 07:20 +0200
  Bug#998151: python-trezor: incorrect binary package name, python3-trezor should be python3-trezorlib Soren Stoutner <soren@debian.org> - 2024-10-04 18:50 +0200
    Bug#998151: python-trezor: incorrect binary package name, python3-trezor should be python3-trezorlib Simon McVittie <smcv@debian.org> - 2024-10-04 20:40 +0200
  Bug#998151: python-trezor: incorrect binary package name, python3-trezor should be python3-trezorlib Soren Stoutner <soren@debian.org> - 2024-10-04 20:40 +0200

csiph-web