quantumlib / OpenFermion

The electronic structure package for quantum computers.
Apache License 2.0
1.51k stars 372 forks source link

91 tests fail #851

Closed yurivict closed 7 months ago

yurivict commented 10 months ago

See the log.

Version: 1.6.0 Python-3.9 FreeBSD 13.2

fdmalone commented 10 months ago

Thanks for raising this. The tests that are failing are due to a bug in scipy #815. What version of scipy are you using? Was openfermion installed via pip?

fdmalone commented 10 months ago

From here it looks like the additional upper limit on scipy isn't being pulled in from https://github.com/quantumlib/OpenFermion/blob/master/dev_tools/requirements/deps/runtime.txt.

yurivict commented 10 months ago

We have scipy-1.11.1

OpenFermion was installed using the FreeBSD port, not pip.

fdmalone commented 10 months ago

How are your build dependencies pulled in? Do you manually edit the Makefile? Or should these changes be pulled automatically from the openfermion requirements?

Screenshot 2023-10-30 at 10 42 33 AM

yurivict commented 10 months ago

Unfortunately, in the context of the ports framework we can't pull arbitrary versions of dependencies, because the dependency packages have fixed versions.

This explains the problem, thank you.

We will wait for the fix in scipy then.

fdmalone commented 10 months ago

Ok, thanks for your understanding! I'll keep this open for the moment so we can track it.

fdmalone commented 7 months ago

@yurivict this scipy issue is now resolved so I will close this. I will cut a new patch release shortly and (hopefully) these test failures will disappear.