Path: csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod From: Tomasz Rybak 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: References: 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: 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: archive/latest/20760 List-ID: List-URL: 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: X-Original-References: <7A7AC17B-1ABF-4AA7-889D-0A3F86F4D9AE@kitterman.com> Xref: csiph.com linux.debian.maint.python:14874 --=-VxGEtR3vb4YbF617F6a4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2023-01-17 at 23:26 +0000, Scott Kitterman wrote: >=20 [ cut ] >=20 > 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. >=20 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! --=20 Tomasz Rybak, Debian Developer GPG: A565 CE64 F866 A258 4DDC=C2=A0F9C7 ECB7 3E37 E887 AA8C --=-VxGEtR3vb4YbF617F6a4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQJHBAABCgAxFiEE1bhtbqZEgXjcK9cyggqgxGY3jWkFAmPYNdsTHHNlcnBlbnRA ZGViaWFuLm9yZwAKCRCCCqDEZjeNaWdKD/9MbqB8EbC/yGH3+lbO2czn9pEmqDFB Vze5bnRX02gwHPTmgWQptFvITzUdj2GVXFLbdJRqGP/RDOiBqnWMvHTOfkP9Fbkh o0upcykSZkJSvp04VKX+JRaSyI+hF1y1mEPy9V7kK/+yaJZJhG/OQkBvxk6Mg6NO NHL4OSV/3ux/U+h4C4lhNBZR3sj4+WARMSJ4qzFWN4VinOvjsm/l0EjkBkEju6se pHdqyfkpK4ySro26T4PkKdo+SOdjvtuY9+lA876lZo+MofzMvXUBbEoWJ1QADgWA pCcAI5h7FuCLpCscTLvJWsAfS+5/p//nnCNrBt9EHwW3l5cZRhhbBBDE7Y8j03+Y npwrI3IpixvyodSPyhDYLHCm+/dPvR78tl8E+NV/1C2WiRWh+74Mvyi+I69KaOae 8xGEG3N8nvCvWG9TOE38KeIsn1G/Ux7rnZvPuW+gzpnKGw9kmYW8PqYBcBaDM3sr 7nNSKfuFOBQk4i+lBcCV9sTJ+duLySHnLordZy4UBWt4/qziSkSAD7UDEYkV1x7s oztppQMVqE/hXoqAt6T1XJ8Fgr8Eg7ibrsFYWAtAHf0NfJ7XB/s67Inwr40+K37L 94g78b+lcgST9wxex1t5n6c3f6IUYkkU7zc5fxnYhPNHTbhmL2yF4BImG1gchIH9 p10Bh4Gv3bbrHg== =RM7S -----END PGP SIGNATURE----- --=-VxGEtR3vb4YbF617F6a4--