Hi Drew (2025.02.17_13:15:52_+0000)
> python3-cffi has Suggests: python3-dev
> 
> But when actually using cffi, it needs Python.h and pyconfig.h
> (included in /usr/lib/python3/dist-packages/cffi/_cffi_include.h)

There are 4 different ways to use cffi:
https://cffi.readthedocs.io/en/stable/overview.html#id15

Most do not need python3-dev at runtime. My assumption has been that all
the ones that are appropriate for use in the Debian archive fit that.

> That suggests to me the dependency might best be bumped to a strong
> Depends: python3-dev instead of Suggests:.
> 
> Otherwise there will be unexpected errors, like the scifem test
> failures at
> https://ci.debian.net/data/autopkgtest/testing/amd64/s/scifem/57660266/log.gz

Does it need to be building cffi extensions at runtime, can't they be
built during the package build? Note that regular users can't write to
/usr/lib/ so building things at runtime is non-trivial to do correctly.

Stefano

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

Reply via email to