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


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

Re: Old generated binary dependencies after renaming psycopg

Path csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From Tomasz Rybak <serpent@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Old generated binary dependencies after renaming psycopg
Date Mon, 30 Jan 2023 22:50:02 +0100
Message-ID <FTKci-2hfh-5@gated-at.bofh.it> (permalink)
References <FOPvX-10md-1@gated-at.bofh.it> <FOQBH-10ZS-5@gated-at.bofh.it> <FP3pf-19cS-1@gated-at.bofh.it> <FP3Sh-19tZ-1@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Mon Jan 30 21:42:12 2023
Old-Return-Path <serpent@debian.org>
X-Amavis-Spam-Status No, score=-113.873 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, PGPSIGNATURE=-5, RCVD_IN_DNSWL_MED=-2.3, SARE_MSGID_LONG40=0.637, UNPARSEABLE_RELAY=0.001, USER_IN_DKIM_WELCOMELIST=-0.01, USER_IN_DKIM_WHITELIST=-100] autolearn=ham autolearn_force=no
Content-Type multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-VxGEtR3vb4YbF617F6a4"
User-Agent Evolution 3.46.3-1
MIME-Version 1.0
X-Debian-User serpent
X-Mailing-List <debian-python@lists.debian.org> archive/latest/20760
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/a4a1d252421c23febe2234d3cc5d5ecd4d71ef3f.camel@debian.org
Approved robomod@news.nic.it
Lines 56
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Mon, 30 Jan 2023 22:25:47 +0100
X-Original-Message-ID <a4a1d252421c23febe2234d3cc5d5ecd4d71ef3f.camel@debian.org>
X-Original-References <c7502a169a14b3b823a0495644992fd701628496.camel@debian.org> <Y8ZoYe7v15xDRziy@d-and-j.net> <a411699c7cd53014689e88b43edb861aa6a15989.camel@debian.org> <7A7AC17B-1ABF-4AA7-889D-0A3F86F4D9AE@kitterman.com>
Xref csiph.com linux.debian.maint.python:14874

Show key headers only | View raw


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

On Tue, 2023-01-17 at 23:26 +0000, Scott Kitterman wrote:
> 
[ cut ]
> 
> You'll need to add a py3dist-overrides file in /debian.  The details are in the dh-python or pybuild documentation.  I don't recall where.
> 

Thanks for tip. Summary, for others with similar problems:
Solution is described in dh-python documentation
(man dh_python3, section dependencies).

Mapping of name psyscopg to python3-psycopg3 is in file
/usr/share/dh-python/dist/cpython3_fallback, provided
by dh-python. It's quite long file, containing many
of such translations.

I created debian/python3-psycopg.pydist which got installed
to /usr/share/python3/dist/python3-psycopg, and provided proper
mapping. I guess when mapping in dh-python is fixed, I'll be
able to drop *.pydist files.

Best regards, and thanks for help!

-- 
Tomasz Rybak, Debian Developer <serpent@debian.org>
GPG: A565 CE64 F866 A258 4DDC F9C7 ECB7 3E37 E887 AA8C

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


Thread

Old generated binary dependencies after renaming psycopg Tomasz Rybak <serpent@debian.org> - 2023-01-17 09:30 +0100
  Re: Old generated binary dependencies after renaming psycopg Julian Gilbey <julian@d-and-j.net> - 2023-01-17 10:40 +0100
    Re: Old generated binary dependencies after renaming psycopg Tomasz Rybak <serpent@debian.org> - 2023-01-18 00:20 +0100
      Re: Old generated binary dependencies after renaming psycopg Scott Kitterman <debian@kitterman.com> - 2023-01-18 00:50 +0100
        Re: Old generated binary dependencies after renaming psycopg Tomasz Rybak <serpent@debian.org> - 2023-01-30 22:50 +0100

csiph-web