tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: hotfix for py-scipy (Re: Stumped on pytest issue)



On 12/27/23 16:46, Dr. Thomas Orgis wrote:
Committed. I hope this runs well in the bulk tests, as they probably
all(?) use netlib BLAS.


Alrighty then,

Thomas


I can confirm that the new pkg builds on NetBSD 9 and has libblas
correctly linked:

NetBSD netbsd9.acadix  bacon ~/Pkgsrc/pkgsrc/math/py-scipy 1002:
(pkgsrc): !ldd
ldd
~/Pkgsrc/pkg/lib/python3.11/site-packages/scipy/sparse/linalg/_dsolve/_superlu.so
/home/bacon/Pkgsrc/pkg/lib/python3.11/site-packages/scipy/sparse/linalg/_dsolve/_superlu.so:
        -lblas.3 => /home/bacon/Pkgsrc/pkg/lib/libblas.so.3
        -lgfortran.4 => /home/bacon/Pkgsrc/pkg/gcc7/lib/./libgfortran.so.4
        -lquadmath.0 => /home/bacon/Pkgsrc/pkg/gcc7/lib/./libquadmath.so.0
        -lm.0 => /usr/lib/libm.so.0
        -lc.12 => /usr/lib/libc.so.12
        -lgcc_s.1 => /usr/lib/libgcc_s.so.1

"make test" in wip/py-hmmlearn no longer has missing BLAS symbols, but
fails due to an hmmlearn issue.

...
lib/hmmlearn/tests/__init__.py:9: in <module>
    from hmmlearn.base import DECODER_ALGORITHMS
lib/hmmlearn/base.py:12: in <module>
    from . import _hmmc, _kl_divergence as _kl, _utils
E   ImportError: cannot import name '_hmmc' from 'hmmlearn'
(/home/bacon/Pkgsrc/pkgsrc/wip/py-hmmlearn/work/hmmlearn-0.3.0/lib/hmmlearn/__init__.py)

=========================== short test summary info
============================
ERROR  - ImportError: cannot import name '_hmmc' from 'hmmlearn'
(/home/bacon/Pkgsrc...
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection
!!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 1.67s
===============================
*** Error code 2

Stop.
bmake[1]: stopped in /home/bacon/Pkgsrc/pkgsrc/wip/py-hmmlearn
*** Error code 1

Stop.
bmake: stopped in /home/bacon/Pkgsrc/pkgsrc/wip/py-hmmlearn

This happens on all platforms with the pkgsrc package and also with the
FreeBSD port.  I'm not sure the hmmlearn test suite is even functional,
but I'll deal with this after the freeze.



Home | Main Index | Thread Index | Old Index