[Debichem-devel] Bug#976169: psi4: autopkgtest regression in testing: ImportError: cannot import name 'core' from partially initialized module 'psi4'

Paul Gevers elbrus at debian.org
Mon Nov 30 20:46:58 GMT 2020


Source: psi4
Version: 1:1.3.2-3
X-Debbugs-CC: debian-ci at lists.debian.org
Severity: serious
User: debian-ci at lists.debian.org
Usertags: regression

Dear maintainer(s),

With a recent change in testing (I believe the added support of
Python3.9) the autopkgtest of psi4 started to fail. I copied some of the
output at the bottom of this report. Can you please investigate the
situation and fix it?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

https://ci.debian.net/data/autopkgtest/testing/amd64/p/psi4/8534048/log.gz

autopkgtest [19:22:54]: test testsuite.sh: [-----------------------
Running test simint/scf5... Traceback (most recent call last):
  File "/usr/lib/x86_64-linux-gnu/psi4/__init__.py", line 55, in <module>
    from . import core
ImportError: cannot import name 'core' from partially initialized module
'psi4' (most likely due to a circular import)
(/usr/lib/x86_64-linux-gnu/psi4/__init__.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/psi4", line 177, in <module>
    import psi4
  File "/usr/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)
(/usr/lib/x86_64-linux-gnu/psi4/__init__.py)
FAILED
LOG:


2020-11-30 19:22
Skipping test gcp/hf3c
Running test python/energy... Traceback (most recent call last):
  File "/usr/lib/x86_64-linux-gnu/psi4/__init__.py", line 55, in <module>
    from . import core
ImportError: cannot import name 'core' from partially initialized module
'psi4' (most likely due to a circular import)
(/usr/lib/x86_64-linux-gnu/psi4/__init__.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/psi4", line 177, in <module>
    import psi4
  File "/usr/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)
(/usr/lib/x86_64-linux-gnu/psi4/__init__.py)
FAILED
LOG:


2020-11-30 19:22
Skipping test v2rdm_casscf/v2rdm3
Skipping test cfour/sp-rhf-ccsd_t_
Running test sapt1... Traceback (most recent call last):
  File "/usr/lib/x86_64-linux-gnu/psi4/__init__.py", line 55, in <module>
    from . import core
ImportError: cannot import name 'core' from partially initialized module
'psi4' (most likely due to a circular import)
(/usr/lib/x86_64-linux-gnu/psi4/__init__.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/psi4", line 177, in <module>
    import psi4
  File "/usr/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)
(/usr/lib/x86_64-linux-gnu/psi4/__init__.py)
FAILED
LOG:


2020-11-30 19:22
Skipping test libefp/qchem-qmefp-sp
Skipping test dftd3/energy
Running test erd/scf5... Traceback (most recent call last):
  File "/usr/lib/x86_64-linux-gnu/psi4/__init__.py", line 55, in <module>
    from . import core
ImportError: cannot import name 'core' from partially initialized module
'psi4' (most likely due to a circular import)
(/usr/lib/x86_64-linux-gnu/psi4/__init__.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/psi4", line 177, in <module>
    import psi4
  File "/usr/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)
(/usr/lib/x86_64-linux-gnu/psi4/__init__.py)
FAILED
LOG:


2020-11-30 19:22
Running test scf-property... Traceback (most recent call last):
  File "/usr/lib/x86_64-linux-gnu/psi4/__init__.py", line 55, in <module>
    from . import core
ImportError: cannot import name 'core' from partially initialized module
'psi4' (most likely due to a circular import)
(/usr/lib/x86_64-linux-gnu/psi4/__init__.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/psi4", line 177, in <module>
    import psi4
  File "/usr/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)
(/usr/lib/x86_64-linux-gnu/psi4/__init__.py)
FAILED
LOG:


2020-11-30 19:22
Skipping test mrcc/ccsdt
Running test dfmp2-1... Traceback (most recent call last):
  File "/usr/lib/x86_64-linux-gnu/psi4/__init__.py", line 55, in <module>
    from . import core
ImportError: cannot import name 'core' from partially initialized module
'psi4' (most likely due to a circular import)
(/usr/lib/x86_64-linux-gnu/psi4/__init__.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/psi4", line 177, in <module>
    import psi4
  File "/usr/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)
(/usr/lib/x86_64-linux-gnu/psi4/__init__.py)
FAILED
LOG:


2020-11-30 19:22
Running test fcidump... Traceback (most recent call last):
  File "/usr/lib/x86_64-linux-gnu/psi4/__init__.py", line 55, in <module>
    from . import core
ImportError: cannot import name 'core' from partially initialized module
'psi4' (most likely due to a circular import)
(/usr/lib/x86_64-linux-gnu/psi4/__init__.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/psi4", line 177, in <module>
    import psi4
  File "/usr/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)
(/usr/lib/x86_64-linux-gnu/psi4/__init__.py)
FAILED
LOG:


2020-11-30 19:22
Running test psi4numpy/rhf... Traceback (most recent call last):
  File "/usr/lib/x86_64-linux-gnu/psi4/__init__.py", line 55, in <module>
    from . import core
ImportError: cannot import name 'core' from partially initialized module
'psi4' (most likely due to a circular import)
(/usr/lib/x86_64-linux-gnu/psi4/__init__.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/psi4", line 177, in <module>
    import psi4
  File "/usr/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)
(/usr/lib/x86_64-linux-gnu/psi4/__init__.py)
FAILED
LOG:


2020-11-30 19:22
Running test psi4numpy/rhf-hessian... Traceback (most recent call last):
  File "/usr/lib/x86_64-linux-gnu/psi4/__init__.py", line 55, in <module>
    from . import core
ImportError: cannot import name 'core' from partially initialized module
'psi4' (most likely due to a circular import)
(/usr/lib/x86_64-linux-gnu/psi4/__init__.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/psi4", line 177, in <module>
    import psi4
  File "/usr/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)
(/usr/lib/x86_64-linux-gnu/psi4/__init__.py)
FAILED
LOG:


2020-11-30 19:22
Skipping test pcmsolver/scf
Skipping test pcmsolver/opt-fd
Skipping test dkh/molpro-2order
Skipping test pasture-ccsorttransqt2/ccenergy_driver
Skipping test gdma/gdma1
Running test json/schema-1-gradient... Traceback (most recent call last):
  File "/usr/lib/x86_64-linux-gnu/psi4/__init__.py", line 55, in <module>
    from . import core
ImportError: cannot import name 'core' from partially initialized module
'psi4' (most likely due to a circular import)
(/usr/lib/x86_64-linux-gnu/psi4/__init__.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/psi4", line 177, in <module>
    import psi4
  File "/usr/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)
(/usr/lib/x86_64-linux-gnu/psi4/__init__.py)
FAILED
LOG:


2020-11-30 19:22
Running test chemps2/scf-n2... Traceback (most recent call last):
  File "/usr/lib/x86_64-linux-gnu/psi4/__init__.py", line 55, in <module>
    from . import core
ImportError: cannot import name 'core' from partially initialized module
'psi4' (most likely due to a circular import)
(/usr/lib/x86_64-linux-gnu/psi4/__init__.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/psi4", line 177, in <module>
    import psi4
  File "/usr/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)
(/usr/lib/x86_64-linux-gnu/psi4/__init__.py)
FAILED
LOG:


2020-11-30 19:22
Running test casscf-sp... Traceback (most recent call last):
  File "/usr/lib/x86_64-linux-gnu/psi4/__init__.py", line 55, in <module>
    from . import core
ImportError: cannot import name 'core' from partially initialized module
'psi4' (most likely due to a circular import)
(/usr/lib/x86_64-linux-gnu/psi4/__init__.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/psi4", line 177, in <module>
    import psi4
  File "/usr/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)
(/usr/lib/x86_64-linux-gnu/psi4/__init__.py)
FAILED
LOG:


2020-11-30 19:22
Running test cc1... Traceback (most recent call last):
  File "/usr/lib/x86_64-linux-gnu/psi4/__init__.py", line 55, in <module>
    from . import core
ImportError: cannot import name 'core' from partially initialized module
'psi4' (most likely due to a circular import)
(/usr/lib/x86_64-linux-gnu/psi4/__init__.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/psi4", line 177, in <module>
    import psi4
  File "/usr/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)
(/usr/lib/x86_64-linux-gnu/psi4/__init__.py)
FAILED
LOG:


2020-11-30 19:22
Running test tu1-h2o-energy... Traceback (most recent call last):
  File "/usr/lib/x86_64-linux-gnu/psi4/__init__.py", line 55, in <module>
    from . import core
ImportError: cannot import name 'core' from partially initialized module
'psi4' (most likely due to a circular import)
(/usr/lib/x86_64-linux-gnu/psi4/__init__.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/psi4", line 177, in <module>
    import psi4
  File "/usr/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)
(/usr/lib/x86_64-linux-gnu/psi4/__init__.py)
FAILED
LOG:


2020-11-30 19:22
Skipping test snsmp2/he-he
Some tests failed
autopkgtest [19:22:56]: test testsuite.sh: -----------------------]

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debichem-devel/attachments/20201130/d1c572ad/attachment.sig>


More information about the Debichem-devel mailing list