Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1838207 - python-matplotlib fails to build with numpy 1.19.x
Summary: python-matplotlib fails to build with numpy 1.19.x
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-matplotlib
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Elliott Sales de Andrade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1848152
Blocks: F33FTBFS 1509657 1838442
TreeView+ depends on / blocked
 
Reported: 2020-05-20 16:07 UTC by Miro Hrončok
Modified: 2020-06-30 05:42 UTC (History)
11 users (show)

Fixed In Version: python-matplotlib-3.3.0-0.1.rc1.fc33
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-30 05:42:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github matplotlib matplotlib pull 17289 0 None closed Prepare for ragged array warnings in NumPy 1.19 2020-06-30 05:38:11 UTC

Description Miro Hrončok 2020-05-20 16:07:50 UTC
python-matplotlib fails to build with Python 3.9.0b1.

We have built numpy 1.19.0rc1 from dist git. This built hasn't happened yet in Fedora rawhide, but eventually will. Seems like matplotlib fails with a lot of tests because of a new deprecation warning:

numpy.VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray


For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.9/fedora-rawhide-x86_64/01399175-python-matplotlib/

For all our attempts to build python-matplotlib with Python 3.9, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.9/package/python-matplotlib/

Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.9:
https://copr.fedorainfracloud.org/coprs/g/python/python3.9/

Let us know here if you have any questions.

Python 3.9 will be included in Fedora 33. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.9.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon.
We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 Miro Hrončok 2020-05-20 16:09:36 UTC
Setting the severity to high, because we'd like to proceed with Koji side tag rebuilds really soon.

I think we shall report this to upstream and than make the tests not fail on this.

Comment 2 Elliott Sales de Andrade 2020-05-20 19:47:40 UTC
This is already known upstream.

Comment 3 Miro Hrončok 2020-05-20 19:58:04 UTC
Thanks Elliott. Do we need that PR backported, or is filtering the warnings good for now?

Comment 4 Miro Hrončok 2020-05-21 11:59:39 UTC
numpy 1.19 was temporarily reverted, but I'm keeping this open for future reference

Comment 5 Miro Hrončok 2020-06-02 10:29:17 UTC
numpy 1.19 is back in.

Comment 6 Elliott Sales de Andrade 2020-06-04 07:37:18 UTC
There should be an rc out by next week.


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