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


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

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

From Stefano Rivera <stefanor@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: dh_python3: file in /usr/lib/python3.12/dist-packages ?
Date 2024-02-27 18:00 +0100
Message-ID <Ic8Y9-d1eL-1@gated-at.bofh.it> (permalink)
References <IbayZ-cq1W-3@gated-at.bofh.it> <IbbEJ-cqHs-1@gated-at.bofh.it> <Ibwga-cDmH-19@gated-at.bofh.it> <IbwJb-cDM3-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Carles (2024.02.26_00:00:48_+0000)
> The first one includes, in top_level.txt:
> debian
> ping3
> 
> And the second one:
> build
> debian
> ping3
> 
> Where "ping3" is the expected module. "debian" is there because of the
> debian/ directory (I'm super sure, and AFAIK should not be there!) and
> "build" is there on the second time since, I guess, it exists at that
> time.
> 
> So, even in the package in testing, it contains "debian" which is wrong:

Yeah, that's wrong. We tried to stop this from happening a while ago,
but it doesn't appear to be working, here.
https://github.com/pypa/setuptools/pull/4001

I think you've hit the NOTE in
https://setuptools.pypa.io/en/latest/userguide/package_discovery.html#finding-simple-packages
If you (or ideally upstream) set "namespaces = false"
I think it'll behave correctly.

BTW, I see this package has patches-applied in git, so gbp can't work
with them. The team policy is to store patches-unapplied.  You can work
on the patches with git via gbp-pq.

Stefano

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272

Back to linux.debian.maint.python | Previous | NextPrevious 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