Hello, currently python-scikit-learn fails to build in f40 and rawhide
https://bugzilla.redhat.com/show_bug.cgi?id=2261602

The problem is a series of incompatible pointer conversions that
appear in cython generated C code.
The code has classes defined in cython and in the offending code
"self" is passed as a pointer to the base class with a conversion to
the derived class

sklearn/metrics/_dist_metrics.c: In function
‘__pyx_f_7sklearn_7metrics_13_dist_metrics_19EuclideanDistance32_dist_csr’:
sklearn/metrics/_dist_metrics.c:51033:90: error: passing argument 1 of
‘__pyx_f_7sklearn_7metrics_13_dist_metrics_19EuclideanDistance32_rdist_csr’
from incompatible pointer type [-Wincompatible-pointer-types]

note: expected ‘struct
__pyx_obj_7sklearn_7metrics_13_dist_metrics_EuclideanDistance32 *’
but argument is of type ‘struct
__pyx_obj_7sklearn_7metrics_13_dist_metrics_DistanceMetric32 *’

Regards, Sergio
--
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to