Description of problem: Package python-geoplot fails to build from source in Fedora Rawhide. Version-Release number of selected component (if applicable): 0.5.1-5.fc39 Steps to Reproduce: koji build --scratch f39 python-geoplot-0.5.1-5.fc39.src.rpm Additional info: This package is tracked by Koschei. See: https://koschei.fedoraproject.org/package/python-geoplot Reproducible: Always ____________________ 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 Likely triggered by the change from matplotlib 3.6.3 to 3.7.0
A patch was applied for this, but was not built earlier before other things broke the build. https://src.fedoraproject.org/rpms/python-geoplot/c/2a84a18935b09688e56c5952da6e76473504fd9e?branch=rawhide
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle. Changing version to 39.