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


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

python3:Depends and :any

Path csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Dima Kogan <dkogan@debian.org>
Newsgroups linux.debian.maint.python
Subject python3:Depends and :any
Date Tue, 06 Aug 2024 05:40:02 +0200
Message-ID <J8jdg-31i4-1@gated-at.bofh.it> (permalink)
X-Mailbox-Line From debian-python-request@lists.debian.org Tue Aug 6 03:32:37 2024
Old-Return-Path <dkogan@debian.org>
X-Amavis-Spam-Status No, score=-109.51 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, RCVD_IN_DNSWL_MED=-2.3, UNPARSEABLE_RELAY=0.001, USER_IN_DKIM_WELCOMELIST=-0.01, USER_IN_DKIM_WHITELIST=-100] autolearn=ham autolearn_force=no
MIME-Version 1.0
Content-Type text/plain
X-Debian-User dkogan
X-Mailing-List <debian-python@lists.debian.org> archive/latest/22218
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/87ttfymila.fsf@secretsauce.net
Approved robomod@news.nic.it
Lines 22
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Tue, 06 Aug 2024 10:32:49 +0700
X-Original-Message-ID <87ttfymila.fsf@secretsauce.net>
Xref csiph.com linux.debian.maint.python:16180

Show key headers only | View raw


Hi.

I'm looking at making packages depending on python3-numpy
cross-buildable. Often this means splitting python3-numpy into a
separate python3-numpy-dev that is Multi-Arch:same. But in this case it
looks like you can ALMOST get away with a single python3-numpy package;
with some tweaks it can be Multi-Arch:same. The last sticking point is
the python3:Depends subst var, so I'm asking here.

As with most packages, python3-numpy has

  Depends: ${python3:Depends}

which today expands to

  Depends: python3 (<< 3.13), python3 (>= 3.12~), python3:any

Can somebody comment about why the :any is on the un-versioned
dependency only? Adding the :any to the other two would fix my problem,
and I'd like to get that added if there isn't a strong reason not to.

Thanks!

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


Thread

python3:Depends and :any Dima Kogan <dkogan@debian.org> - 2024-08-06 05:40 +0200
  Re: python3:Depends and :any Simon McVittie <smcv@debian.org> - 2024-08-06 10:50 +0200
    Re: python3:Depends and :any Dima Kogan <dima@secretsauce.net> - 2024-08-06 16:30 +0200
      Re: python3:Depends and :any Simon McVittie <smcv@debian.org> - 2024-08-06 18:00 +0200

csiph-web