[Bug 2133438] Review Request: python-scikit-misc - Miscellaneous tools for data analysis and scientific computing

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

 



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

Ben Beasley <code@xxxxxxxxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Doc Type|---                         |If docs needed, set a value
                 CC|                            |code@xxxxxxxxxxxxxxxxxx



--- Comment #1 from Ben Beasley <code@xxxxxxxxxxxxxxxxxx> ---
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 -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux