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


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

Re: dh_python3: file in /usr/lib/python3.12/dist-packages ?

From Carles Pina i Estany <carles@pina.cat>
Newsgroups linux.debian.maint.python
Subject Re: dh_python3: file in /usr/lib/python3.12/dist-packages ?
Date 2024-02-26 00:40 +0100
Message-ID <Ibwga-cDmH-19@gated-at.bofh.it> (permalink)
References <IbayZ-cq1W-3@gated-at.bofh.it> <IbbEJ-cqHs-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Hi,

On 25 Feb 2024 at 01:35:41, stefanor@debian.org wrote:
> Hi Carles (2024.02.25_00:14:46_+0000)
> > It generates a .deb file with a directory:
> > 
> > /usr/lib/python3.12/dist-packages/ping3-4.0.4.dist-info/
> > 
> > With two files there:
> > -INSTALLER
> > -top_level.txt
> 
> If there are files in /usr/lib/python3.*/dist-packages/ after running
> dh_python3, it means they differed between python 3.x versions.

yes...

> So to investigate, diff the files against the ones in
> /usr/lib/python3/dist-packages/ and see if you can spot why they are not
> matching.

$ ls python3.12/dist-packages/ping3-4.0.4.dist-info/
INSTALLER  top_level.txt

$ ls python3/dist-packages/ping3-4.0.4.dist-info/
entry_points.txt  INSTALLER  METADATA  top_level.txt  WHEEL

The file INSTALLER is the same:

$ diff -u python3.12/dist-packages/ping3-4.0.4.dist-info/INSTALLER python3/dist-packages/ping3-4.0.4.dist-info/INSTALLER

The file top_level.txt is different:

$ diff -u python3.12/dist-packages/ping3-4.0.4.dist-info/top_level.txt python3/dist-packages/ping3-4.0.4.dist-info/top_level.txt 
--- python3.12/dist-packages/ping3-4.0.4.dist-info/top_level.txt	2023-11-06 22:53:00.000000000 +0000
+++ python3/dist-packages/ping3-4.0.4.dist-info/top_level.txt	2023-11-06 22:53:00.000000000 +0000
@@ -1,2 +1,3 @@
+build
 debian
 ping3

> It's probably something non-reproducible in the package's build system.

Will investigate and if relevant share the problem here. This is in
salsa using the standard pipeline. Last time that I run the pipeline I
didn't have this problem. It was months ago.

If you have any ideas let me know, of course!

Thanks!

-- 
Carles Pina i Estany
https://carles.pina.cat

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


Thread

dh_python3: file in /usr/lib/python3.12/dist-packages ? Carles Pina i Estany <carles@pina.cat> - 2024-02-25 01:30 +0100
  Re: dh_python3: file in /usr/lib/python3.12/dist-packages ? stefanor@debian.org - 2024-02-25 02:40 +0100
    Re: dh_python3: file in /usr/lib/python3.12/dist-packages ? Carles Pina i Estany <carles@pina.cat> - 2024-02-26 00:40 +0100
      Re: dh_python3: file in /usr/lib/python3.12/dist-packages ? Carles Pina i Estany <carles@pina.cat> - 2024-02-26 01:10 +0100
        Re: dh_python3: file in /usr/lib/python3.12/dist-packages ? Stefano Rivera <stefanor@debian.org> - 2024-02-27 18:00 +0100

csiph-web