Bug 1695270

Summary: python2-matplotlib-data obsoletes python-matplotlib-data: fetches unnecessary python2 packages when upgrading to F30
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: python2-matplotlibAssignee: Miro Hrončok <mhroncok>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 30CC: mattias.ellert
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python2-matplotlib-2.2.4-2.fc30 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-27 21:27:26 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 Miro Hrončok 2019-04-02 18:22:16 UTC
An upgrade to Fedora 30. I have this:

$ rpm -qa | grep matplotlib
python-matplotlib-data-2.2.4-1.fc29.noarch
python3-matplotlib-tk-2.2.4-1.fc29.x86_64
python3-matplotlib-2.2.4-1.fc29.x86_64
python-matplotlib-data-fonts-2.2.4-1.fc29.noarch

$ sudo dnf system-upgrade download  --releasever=30 --setopt='module_platform_id=platform:f30'

 python2-matplotlib-data-2.2.4-1.fc30 replacing python-matplotlib-data-2.2.4-1.fc29
 python2-matplotlib-data-fonts-2.2.4-1.fc30 replacing python-matplotlib-data-fonts-2.2.4-1.fc29



I think this should not happen. The packages have:

	
%{?python_provide:%python_provide python2-matplotlib-data-fonts}
%{?python_provide:%python_provide python2-matplotlib-data}

That is causing:

Provides: python-matplotlib-data = %{version}-%{release}
Obsoletes: python2-matplotlib-data < %{version}-%{release}

And hence an unwanted dependency is pulled. Npot sure how to fix this without a breakage, but since the main package requires python2-matplotlib-data, i guess we should be OK by just removing those macros and obsoleting the packages from fedora-obsolete-packages instead.

Comment 1 Fedora Update System 2019-04-22 13:35:11 UTC
python2-matplotlib-2.2.4-2.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-da2701090e

Comment 2 Fedora Update System 2019-04-22 14:23:00 UTC
python2-matplotlib-2.2.4-2.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-da2701090e

Comment 3 Fedora Update System 2019-04-27 21:27:26 UTC
python2-matplotlib-2.2.4-2.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.