Draft: community/py3-scikit-plot: patch obsolete scipy.interp
needed for py3-scipy 1.13.x, I think
found https://github.com/reiinakano/scikit-plot/pull/120 when looking at the riscv64
package builder error for this aport with py3-scipy
1.13.0
============================= test session starts ==============================
platform linux -- Python 3.12.3, pytest-8.1.1, pluggy-1.4.0
rootdir: /home/buildozer/aports/community/py3-scikit-plot/src/scikit-plot-0.3.7
plugins: xdist-3.5.0
created: 64/64 workers
64 workers [0 items]
==================================== ERRORS ====================================
____________ ERROR collecting scikitplot/tests/test_classifiers.py _____________
ImportError while importing test module '/home/buildozer/aports/community/py3-scikit-plot/src/scikit-plot-0.3.7/scikitplot/tests/test_classifiers.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
scikitplot/__init__.py:2: in <module>
from . import metrics, cluster, decomposition, estimators
scikitplot/metrics.py:27: in <module>
from scipy import interp
E ImportError: cannot import name 'interp' from 'scipy' (/usr/lib/python3.12/site-packages/scipy/__init__.py)
______________ ERROR collecting scikitplot/tests/test_cluster.py _______________
ImportError while importing test module '/home/buildozer/aports/community/py3-scikit-plot/src/scikit-plot-0.3.7/scikitplot/tests/test_cluster.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
scikitplot/__init__.py:2: in <module>
from . import metrics, cluster, decomposition, estimators
scikitplot/metrics.py:27: in <module>
from scipy import interp
E ImportError: cannot import name 'interp' from 'scipy' (/usr/lib/python3.12/site-packages/scipy/__init__.py)
_____________ ERROR collecting scikitplot/tests/test_clustering.py _____________
ImportError while importing test module '/home/buildozer/aports/community/py3-scikit-plot/src/scikit-plot-0.3.7/scikitplot/tests/test_clustering.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
scikitplot/__init__.py:2: in <module>
from . import metrics, cluster, decomposition, estimators
scikitplot/metrics.py:27: in <module>
from scipy import interp
E ImportError: cannot import name 'interp' from 'scipy' (/usr/lib/python3.12/site-packages/scipy/__init__.py)
___________ ERROR collecting scikitplot/tests/test_decomposition.py ____________
ImportError while importing test module '/home/buildozer/aports/community/py3-scikit-plot/src/scikit-plot-0.3.7/scikitplot/tests/test_decomposition.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
scikitplot/__init__.py:2: in <module>
from . import metrics, cluster, decomposition, estimators
scikitplot/metrics.py:27: in <module>
from scipy import interp
E ImportError: cannot import name 'interp' from 'scipy' (/usr/lib/python3.12/site-packages/scipy/__init__.py)
_____________ ERROR collecting scikitplot/tests/test_estimators.py _____________
ImportError while importing test module '/home/buildozer/aports/community/py3-scikit-plot/src/scikit-plot-0.3.7/scikitplot/tests/test_estimators.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
scikitplot/__init__.py:2: in <module>
from . import metrics, cluster, decomposition, estimators
scikitplot/metrics.py:27: in <module>
from scipy import interp
E ImportError: cannot import name 'interp' from 'scipy' (/usr/lib/python3.12/site-packages/scipy/__init__.py)
______________ ERROR collecting scikitplot/tests/test_metrics.py _______________
ImportError while importing test module '/home/buildozer/aports/community/py3-scikit-plot/src/scikit-plot-0.3.7/scikitplot/tests/test_metrics.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
scikitplot/__init__.py:2: in <module>
from . import metrics, cluster, decomposition, estimators
scikitplot/metrics.py:27: in <module>
from scipy import interp
E ImportError: cannot import name 'interp' from 'scipy' (/usr/lib/python3.12/site-packages/scipy/__init__.py)
______________ ERROR collecting scikitplot/tests/test_plotters.py ______________
ImportError while importing test module '/home/buildozer/aports/community/py3-scikit-plot/src/scikit-plot-0.3.7/scikitplot/tests/test_plotters.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
scikitplot/__init__.py:2: in <module>
from . import metrics, cluster, decomposition, estimators
scikitplot/metrics.py:27: in <module>
from scipy import interp
E ImportError: cannot import name 'interp' from 'scipy' (/usr/lib/python3.12/site-packages/scipy/__init__.py)
=========================== short test summary info ============================
ERROR scikitplot/tests/test_classifiers.py
ERROR scikitplot/tests/test_cluster.py
ERROR scikitplot/tests/test_clustering.py
ERROR scikitplot/tests/test_decomposition.py
ERROR scikitplot/tests/test_estimators.py
ERROR scikitplot/tests/test_metrics.py
ERROR scikitplot/tests/test_plotters.py
============================== 7 errors in 44.60s ==============================
>>> ERROR: py3-scikit-plot: check failed
we have now downgraded the py3-scipy
aport to 1.11.4 due to issues found through py3-chaospy
!64683 (merged)