Hi Dima,

* Dima Kogan <dko...@debian.org> [2024-08-01 16:47]:
Thinking about this some more, I'm fairly certain that splitting the package is the correct way to do this because the -dev package shouldn't require python3 to be installed, which is currently required by numpy. Installing a foreign-architecture python3 requires qemu, so that's never what we want.

Furthermore, some packages (like "mrcal", for instance) require numpy at build-time for two purposes:

- Build-time code generation. This needs numpy:native
- Accessing numpy.pc to build the extension module. this needs
 numpy:foreign

So if we really wanted to make this work without splitting the current python3-numpy package, it would need to be Multi-Arch:same AND be happy installing only the native python3. This isn't obviously possible, and even if it were, splitting the package would make this much clearer.
The latest master HEAD in the Salsa repository has a proposed split that seems reasonably sane to me. Can you verify that it is working as you intended?


Cheers
Timo


--
⢀⣴⠾⠻⢶⣦⠀   ╭────────────────────────────────────────────────────╮
⣾⠁⢠⠒⠀⣿⡁   │ Timo Röhling                                       │
⢿⡄⠘⠷⠚⠋⠀   │ 9B03 EBB9 8300 DF97 C2B1  23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀   ╰────────────────────────────────────────────────────╯

Attachment: signature.asc
Description: PGP signature

Reply via email to