Bug#1004907: psi4: incorrect location for Python extension?

2022-03-26 Thread Stefano Rivera
Control: reopen -1

> This was fixed in pybind11 bug 1006615.

Oops, it wasn't, I misread the issue.

SR

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



Bug#1004907: psi4: incorrect location for Python extension?

2022-02-03 Thread Graham Inggs
Source: psi4
Version: 1:1.3.2+dfsg-2
Severity: important
Tags: ftbfs
User: debian-pyt...@lists.debian.org
Usertags: python3.10

Hi Maintainer

I noticed psi4 has a build-dependency on python3-dev, and will require
a rebuild for Python 3.10 to build
core.cpython-310-x86_64-linux-gnu.so instead of
core.cpython-39-x86_64-linux-gnu.so, however it does not appear on the
tracker [1].

I believe this is due to the Python extension being installed in
/usr/lib/x86_64-linux-gnu/psi4/ instead of
/usr/lib/python3/dist-packages/psi and the psi binary package not
picking up the expected dependencies on python3 (<< 3.11), python3 (>=
3.10~).

I'm not sure if this is something that needs to be fixed upstream, or
whether we should just relocate the files in the debian packaging.

Without these dependencies, psi4 will not pull in the correct version
of python3 for autopkgtests with chemps2.

Regards
Graham


[1] https://release.debian.org/transitions/html/python3.10-default.html