Bug 2087080

Summary: python3-azure-servicebus missing from split python3-azure-sdk
Product: [Fedora] Fedora Reporter: Karl-Johan Karlsson <karl-johan.karlsson>
Component: python-azure-sdkAssignee: Major Hayden 🤠 <mhayden>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 35CC: mhayden
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: 2022-05-25 19:56:39 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:
Bug Depends On: 2087202    
Bug Blocks:    

Description Karl-Johan Karlsson 2022-05-17 09:17:41 UTC
Description of problem:

In Fedora 34, the package python3-azure-sdk contained the module azure_servicebus, version 7.0.0b2, and provided python3dist(azure-servicebus). After python3-azure-sdk was broken up into lots of small packages for Fedora 35 in bug 1953789, I can no longer find a package providing python3dist(azure-servicebus).

How reproducible:

Always.

Steps to Reproduce:

1. dnf install 'python3dist(azure-servicebus)'

Expected results:

1. python3-azure-sdk or python3-azure-servicebus is installed
2. This Python snippet runs and prints the version of Azure-Servicebus:
python -c 'from azure.servicebus import __version__; print(__version__)'
7.0.0b2

Actual results:

Error: Unable to find a match: python3dist(azure-servicebus)

Additional information:

Looking at https://src.fedoraproject.org/rpms/ it appears that the package is missing from Fedora 36 also, but I haven't attempted to upgrade to it yet.

Comment 1 Major Hayden 🤠 2022-05-17 11:59:47 UTC
Thanks for catching this Karl-Johan. I'm preparing a spec for review.

Comment 2 Major Hayden 🤠 2022-05-17 14:34:56 UTC
I plan to get a package review up shortly for python-azure-servicebus in rawhide, F36, and F35, but the python3-azure-sdk package already provides azure-servicebus in Fedora 34:

----------------------------------------
$ podman run --rm -it --pull always registry.fedoraproject.org/fedora:34 dnf -qq whatprovides "python3dist(azure-servicebus)"

python3-azure-sdk-5.0.0-4.fc34.noarch : Microsoft Azure SDK for Python
Repo        : fedora
Matched from:
Provide    : python3dist(azure-servicebus) = 7~b2
----------------------------------------

Let me know if I misunderstood the problem.

Comment 3 Karl-Johan Karlsson 2022-05-17 14:44:42 UTC
Yes, in Fedora 34 python3-azure-sdk provides python3dist(azure-servicebus), and that is what our code has been using so far.

The problem appears when I attempt to run on Fedora 35, where nothing provides python3dist(azure-servicebus), and python3-azure-sdk no longer exists.

Comment 4 Major Hayden 🤠 2022-05-17 14:50:07 UTC
Thank you, Karl-Johan. I understand now. I've just opened a package review ticket for python-azure-servicebus: BZ 2087202

Comment 5 Karl-Johan Karlsson 2022-05-25 10:25:47 UTC
With the new packages appearing on the mirrors, my code now works on Fedora 35 and 36. Thanks!

Comment 6 Major Hayden 🤠 2022-05-25 19:56:39 UTC
Thanks for letting me know! 🎉