Bug 1695270 - python2-matplotlib-data obsoletes python-matplotlib-data: fetches unnecessary python2 packages when upgrading to F30
Summary: python2-matplotlib-data obsoletes python-matplotlib-data: fetches unnecessary...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python2-matplotlib
Version: 30
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-02 18:22 UTC by Miro Hrončok
Modified: 2019-04-27 21:27 UTC (History)
1 user (show)

Fixed In Version: python2-matplotlib-2.2.4-2.fc30
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-27 21:27:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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