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


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

python3:Depends and :any

From Dima Kogan <dkogan@debian.org>
Newsgroups linux.debian.maint.python
Subject python3:Depends and :any
Date 2024-08-06 05:40 +0200
Message-ID <J8jdg-31i4-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | 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