[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



--- Comment #2 from Sandro <gui1ty@xxxxxxxxxxxxx> ---
(In reply to Ben Beasley from comment #1)
> The following is a little messy, but seems to work.

If it works, it works. ;) Will use it as suggested and move on to solving the
linking issue.

> 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).

You are kind of right. I wanted to get this build, so I could move on. The
intention has always been to get the tests working to the extend possible.

> 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!

Thanks for your expertise. Looks like I've signed up for some real science...


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
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