Bug 2226331
| Summary: | python-sklearn-genetic: FTBFS in Fedora rawhide/f39 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Fedora Release Engineering <releng> | ||||||||
| Component: | python-sklearn-genetic | Assignee: | Iztok Fister Jr. <iztok> | ||||||||
| Status: | NEW --- | QA Contact: | |||||||||
| Severity: | unspecified | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | 39 | CC: | code, iztok, neuro-sig | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | Type: | --- | |||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Embargoed: | |||||||||||
| Bug Depends On: | |||||||||||
| Bug Blocks: | 2168842, 2231791 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Fedora Release Engineering
2023-07-25 19:49:28 UTC
Created attachment 1979377 [details]
build.log
file build.log too big, will only attach last 32768 bytes
Created attachment 1979378 [details]
root.log
file root.log too big, will only attach last 32768 bytes
Created attachment 1979379 [details]
state.log
==================================== ERRORS ====================================
__________ ERROR collecting genetic_selection/tests/test_selection.py __________
ImportError while importing test module '/builddir/build/BUILD/sklearn-genetic-0.5.1/genetic_selection/tests/test_selection.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
genetic_selection/__init__.py:16: in <module>
from .gscv import GeneticSelectionCV
genetic_selection/gscv.py:22: in <module>
from sklearn.utils.metaestimators import if_delegate_has_method
E ImportError: cannot import name 'if_delegate_has_method' from 'sklearn.utils.metaestimators' (/usr/lib64/python3.12/site-packages/sklearn/utils/metaestimators.py)
=========================== short test summary info ============================
ERROR genetic_selection/tests/test_selection.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.37s ===============================
https://github.com/manuel-calzolari/sklearn-genetic/issues/37
Upstream is planning to fix this next week[1], and a candidate PR might be available sooner[2]. We will also need to replace np.bool with Python bool[3][4] for numpy 1.20 and later. I went ahead and opened a PR for that[5], since that should fix the FTBFS in F37/F38. [1] https://github.com/manuel-calzolari/sklearn-genetic/issues/37#issuecomment-1674849553 [2] https://github.com/manuel-calzolari/sklearn-genetic/issues/37#issuecomment-1674854906 [3] https://github.com/manuel-calzolari/sklearn-genetic/issues/39 [4] https://github.com/manuel-calzolari/sklearn-genetic/pull/40 [5] https://src.fedoraproject.org/rpms/python-sklearn-genetic/pull-request/1 This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle. Changing version to 39. |