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 1770819 - python3-aodhclient fails to install in Fedora rawhide
Summary: python3-aodhclient fails to install in Fedora rawhide
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-aodhclient
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Alfredo Moralejo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F32FailsToInstall
TreeView+ depends on / blocked
 
Reported: 2019-11-11 11:59 UTC by Miro Hrončok
Modified: 2019-11-11 18:08 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-11 18:08:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2019-11-11 11:59:04 UTC
python3-aodhclient-1.3.0-1.fc32.noarch fails to install in Fedora rawhide:

  nothing provides python3-osprofiler >= 1.4.0 needed by python3-aodhclient-1.3.0-1.fc32.noarch

Comment 1 Javier Peña 2019-11-11 12:23:23 UTC
It looks like aodhclient 1.3.0 added support for osprofiler, which had been removed from Fedora because it was no longer needed by any package.

Alfredo, what do you think we should do about it?

Comment 2 Alfredo Moralejo 2019-11-11 13:00:01 UTC
(In reply to Javier Peña from comment #1)
> It looks like aodhclient 1.3.0 added support for osprofiler, which had been
> removed from Fedora because it was no longer needed by any package.
> 
> Alfredo, what do you think we should do about it?

I'm checking how to proceed. osprofiler was retired in a previous release because it pulled some deps and was just optional dep.

import in aodhclient is unconditional in code so the only solutions i can think are:


1. adding osprofiler and its requirements back.
2. reverting https://github.com/openstack/python-aodhclient/commit/fb22e9826256ef090b8ae043583fee0a4cb481fc in distgit and removing osprofiler as requires

I'd go with 2.

Comment 3 Miro Hrončok 2019-11-11 13:06:14 UTC
3. making the import optional with try-except

Comment 4 Alfredo Moralejo 2019-11-11 13:24:14 UTC
(In reply to Miro Hrončok from comment #3)
> 3. making the import optional with try-except

Yes, that'd also be an option

Comment 5 Alfredo Moralejo 2019-11-11 18:08:47 UTC
Fixed in https://koji.fedoraproject.org/koji/buildinfo?buildID=1411250


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