Bug 2171682
| Summary: | python-pandas: FTBFS in Fedora rawhide/f38 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Fedora Release Engineering <releng> |
| Component: | python-pandas | Assignee: | Ben Beasley <code> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | code, epel-packagers-sig, jonathan, mail, neuro-sig, orion, python-packagers-sig, sergio.pasra, thrnciar, tomspur, wfp5p |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-pandas-1.5.3-2.fc39 python-pandas-1.5.3-2.fc38 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-04-14 06:29:49 UTC | 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: | 2117176, 2135404, 2168842 | ||
|
Description
Fedora Release Engineering
2023-02-20 12:00:53 UTC
I think the correct solution to this will be to finish validating the update to 1.5.3 and build that. https://src.fedoraproject.org/rpms/python-pandas/pull-request/14 Just did a fedpkg mockbuild --enablerepo=local for Rawhide on x86_64, and got the following:
=================================== FAILURES ===================================
______________________ TestDataFramePlots.test_plain_axes ______________________
[gw0] linux -- Python 3.11.3 /usr/bin/python3
self = <pandas.tests.plotting.frame.test_frame.TestDataFramePlots object at 0x7f
df2a0107d0>
def test_plain_axes(self):
# supplied ax itself is a SubplotAxes, but figure contains also
# a plain Axes object (GH11556)
fig, ax = self.plt.subplots()
fig.add_axes([0.2, 0.2, 0.2, 0.2])
> Series(np.random.rand(10)).plot(ax=ax)
../../../BUILDROOT/python-pandas-1.5.3-1.fc39.x86_64/usr/lib64/python3.11/site-p
ackages/pandas/tests/plotting/frame/test_frame.py:1960:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../../BUILDROOT/python-pandas-1.5.3-1.fc39.x86_64/usr/lib64/python3.11/site-p
ackages/pandas/plotting/_core.py:1000: in __call__
return plot_backend.plot(data, kind=kind, **kwargs)
../../../BUILDROOT/python-pandas-1.5.3-1.fc39.x86_64/usr/lib64/python3.11/site-p
ackages/pandas/plotting/_matplotlib/__init__.py:71: in plot
plot_obj.generate()
../../../BUILDROOT/python-pandas-1.5.3-1.fc39.x86_64/usr/lib64/python3.11/site-p
ackages/pandas/plotting/_matplotlib/core.py:455: in generate
self._adorn_subplots()
../../../BUILDROOT/python-pandas-1.5.3-1.fc39.x86_64/usr/lib64/python3.11/site-p
ackages/pandas/plotting/_matplotlib/core.py:679: in _adorn_subplots
handle_shared_axes(
../../../BUILDROOT/python-pandas-1.5.3-1.fc39.x86_64/usr/lib64/python3.11/site-p
ackages/pandas/plotting/_matplotlib/tools.py:410: in handle_shared_axes
layout[row_num(ax), col_num(ax)] = ax.get_visible()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
x = <Axes: >
> row_num = lambda x: x.get_subplotspec().rowspan.start
E AttributeError: 'NoneType' object has no attribute 'rowspan'
This is a match for https://github.com/matplotlib/matplotlib/issues/25538, which should be fixed by https://github.com/pandas-dev/pandas/pull/52150. I will try backporting it.
FEDORA-2023-6148fe4ccb has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-6148fe4ccb FEDORA-2023-6148fe4ccb has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report. Thank you! FEDORA-2023-9eb8529663 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-9eb8529663 FEDORA-2023-9eb8529663 has been pushed to the Fedora 38 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-9eb8529663` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-9eb8529663 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2023-9eb8529663 has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report. |