Bug 1853117

Summary: Fails to build with matplotlib 3.3.0rc1
Product: [Fedora] Fedora Reporter: Elliott Sales de Andrade <quantum.analyst>
Component: python-MDAnalysisAssignee: Christoph Junghans <junghans>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dominik, junghans
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-02 15:34:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Elliott Sales de Andrade 2020-07-02 03:00:36 UTC
Tests fail with matplotlib 3.3.0rc1, because the `warn` argument was removed from `matplotlib.use`.


Version-Release number of selected component (if applicable):
python-MDAnalysis-0.20.1-3.fc33


Steps to Reproduce:
1. fedpkg clone python-MDAnalysis
2. fedpkg mockbuild


Actual results:
______ ERROR collecting MDAnalysisTests/visualization/test_streamlines.py ______
/usr/lib/python3.9/site-packages/py/_path/local.py:704: in pyimport
    __import__(modname)
__init__.py:125: in <module>
    matplotlib.use('agg', warn=False)
E   TypeError: use() got an unexpected keyword argument 'warn'


Expected results:
Tests pass without error.


Additional info:
You can fetch a patch for this from upstream:
https://github.com/MDAnalysis/mdanalysis/pull/2763

Comment 1 Christoph Junghans 2020-07-02 15:27:49 UTC
https://koji.fedoraproject.org/koji/taskinfo?taskID=46466806