[Debichem-devel] Bug#1027025: psi4: FTBFS with Python 3.11 as default version

Graham Inggs ginggs at debian.org
Mon Dec 26 14:48:24 GMT 2022


Source: psi4
Version: 1:1.3.2+dfsg-3
Severity: serious
Tags: ftbfs
User: debian-python at lists.debian.org
Usertags: python3.11

Hi Maintainer

Psi4 fails its build-time tests with Python 3.11 as the default
version, although the build doesn't fail outright, probably because of
the following in debian/rules:

override_dh_auto_test:
mkdir -p $(CURDIR)/builddir/tmp-scratch
-(cd builddir/tests; CTEST_OUTPUT_ON_FAILURE=TRUE ctest -L quicktests)

I've copied what I hope is the relevant part of the log below.

Regards
Graham


Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/builddir/stage/bin/psi4", line 177, in <module>
    import psi4
  File "/<<PKGBUILDDIR>>/builddir/stage/lib/x86_64-linux-gnu/psi4/__init__.py",
line 60, in <module>
    raise ImportError("{0}".format(err))
ImportError: cannot import name 'core' from partially initialized
module 'psi4' (most likely due to a circular import)
(/<<PKGBUILDDIR>>/builddir/stage/lib/x86_64-linux-gnu/psi4/__init__.py)
Exit Status: infile ( 1 ); autotest ( None ); sowreap ( None ); overall ( 1 )


0% tests passed, 143 tests failed out of 143



More information about the Debichem-devel mailing list