https://bugzilla.redhat.com/show_bug.cgi?id=2133438

Ben Beasley <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Doc Type|---                         |If docs needed, set a value
                 CC|                            |[email protected]



--- Comment #1 from Ben Beasley <[email protected]> ---
The following is a little messy, but seems to work.

>   mkdir empty
>   pushd empty
>   ln -s ../pytest.ini ../tox.ini %{buildroot}/%{python3_sitearch}/skmisc/ ./
>   %{pytest}
>   popd

The tests do fail with

> ______________ ERROR collecting skmisc/loess/tests/test_loess.py 
> _______________
> ImportError while importing test module 
> '/builddir/build/BUILD/scikit-misc-0.1.4/empty/skmisc/loess/tests/test_loess.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib64/python3.11/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> skmisc/loess/__init__.py:51: in <module>
>     from ._loess import (loess, loess_model, loess_inputs, loess_control,
> E   ImportError: 
> /builddir/build/BUILD/scikit-misc-0.1.4/empty/skmisc/loess/_loess.cpython-311-x86_64-linux-gnu.so:
>  undefined symbol: drot_

but this seems to be a real linking issue, and can be reproduced without
running the tests by removing the “-t” from %pyproject_check_imports (which I
think you should do, because the only reason for adding it seems to be to mask
the import error).

Note that “drot_” is a BLAS function, and you will need to meddle with the BLAS
linking anyway in order to use FlexiBLAS instead of using OpenBLAS directly:
https://fedoraproject.org/wiki/Changes/FlexiBLAS_as_BLAS/LAPACK_manager

That’s as much investigation as I had time for at the moment!


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2133438
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to