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 ?

Path csiph.com!tncsrv06.tnetconsulting.net!3.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From Stefano Rivera <stefanor@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: dh_python3: file in /usr/lib/python3.12/dist-packages ?
Date Tue, 27 Feb 2024 18:00:01 +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>
X-Mailbox-Line From debian-python-request@lists.debian.org Tue Feb 27 16:56:48 2024
Old-Return-Path <stefano@rivera.za.net>
X-Amavis-Spam-Status No, score=-106.772 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIMWL_WL_HIGH=-0.002, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FOURLA=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, LDO_WHITELIST=-5, T_SCC_BODY_TEXT_LINE=-0.01, USER_IN_DKIM_WELCOMELIST=-0.01, USER_IN_DKIM_WHITELIST=-100] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -4.6
Mail-Followup-To debian-python@lists.debian.org
X-Gpg-Public-Key http://www.rivera.za.net/stefano.gpg
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Disposition inline
User-Agent NeoMutt/20220429
X-Mailing-List <debian-python@lists.debian.org> archive/latest/21479
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20240227165624.hal7tmn5d2dqrce7@satie.tumbleweed.org.za
Approved robomod@news.nic.it
Lines 36
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Tue, 27 Feb 2024 16:56:24 +0000
X-Original-Message-ID <20240227165624.hal7tmn5d2dqrce7@satie.tumbleweed.org.za>
X-Original-References <ZdqGdoHK1JypgwIY@pina.cat> <20240225013541.t7cpd3vojm4vdciw@satie.tumbleweed.org.za> <ZdvN-lRJp6qFfKXZ@pina.cat> <ZdvUsHkxKRClMM4M@pina.cat>
Xref csiph.com linux.debian.maint.python:15501

Show key headers only | 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