==================================== ERRORS ====================================
____________________ ERROR collecting tests/mixin_tests.py _____________________
ImportError while importing test module '/builddir/build/BUILD/geoplot-0.5.1/tests/mixin_tests.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)
tests/mixin_tests.py:9: in <module>
from matplotlib.axes._subplots import SubplotBase
E ModuleNotFoundError: No module named 'matplotlib.axes._subplots'
=============================== warnings summary ===============================
../../../../usr/lib64/python3.11/site-packages/sklearn/cluster/_kmeans.py:870
../../../../usr/lib64/python3.11/site-packages/sklearn/cluster/_kmeans.py:870
/usr/lib64/python3.11/site-packages/sklearn/cluster/_kmeans.py:870: FutureWarning: The default value of `n_init` will change from 10 to 'auto' in 1.4. Set the value of `n_init` explicitly to suppress the warning
warnings.warn(
../../BUILDROOT/python-geoplot-0.5.1-5.fc39.x86_64/usr/lib/python3.11/site-packages/geoplot/utils.py:74
/builddir/build/BUILDROOT/python-geoplot-0.5.1-5.fc39.x86_64/usr/lib/python3.11/site-packages/geoplot/utils.py:74: FutureWarning: iteritems is deprecated and will be removed in a future version. Use .items instead.
polys = [poly for _, poly in gaussian_polygons(points).iteritems()]
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
Test fails with matplotlib 3.7.1: