Bug 2210605 - python-geoplot: FTBFS in Fedora Rawhide
Summary: python-geoplot: FTBFS in Fedora Rawhide
Keywords:
Status: POST
Alias: None
Product: Fedora
Classification: Fedora
Component: python-geoplot
Version: 39
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Elliott Sales de Andrade
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-28 23:38 UTC by Orion Poplawski
Modified: 2023-08-16 08:09 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Orion Poplawski 2023-05-28 23:38:55 UTC
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

Comment 1 Elliott Sales de Andrade 2023-07-27 10:07:18 UTC
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

Comment 2 Fedora Release Engineering 2023-08-16 08:09:54 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.


Note You need to log in before you can comment on or make changes to this bug.