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 2048083

Summary: python3-azure-sdk-tools provides python3dist(azure-sdk-tools) = 0
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: python-azure-sdk-toolsAssignee: Major Hayden 🤠 <mhayden>
Status: CLOSED ERRATA QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: mhayden
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-azure-sdk-tools-0.0.0~git.2.a5a4ef4-4.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-02-13 01:15:02 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:    
Bug Blocks: 2048077    

Description Miro Hrončok 2022-01-29 12:12:45 UTC
The package python3-azure-sdk-tools has the following automatic provide:

  python3dist(azure-sdk-tools) = 0

It appears that the actual package version was lost during the packaging process. 

In most cases, this is caused by using a Source that misses version information, e.g. A GitHub tarball when the project uses setuptools_scm or pbr. See https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_source_files_from_pypi

This bugzilla was created in a batch, so it does not have information about the exact cause for this package. If you need help figuring out why this happens in this particular package, feel free to ask.

Comment 1 Major Hayden 🤠 2022-01-31 13:08:36 UTC
Bah, closed the wrong ticket.

Comment 2 Major Hayden 🤠 2022-01-31 13:11:41 UTC
@mhroncok The upstream version is actually '0.0.0'[0]. How should I proceed here?

[0] https://github.com/Azure/azure-sdk-for-python/blob/main/tools/azure-sdk-tools/setup.py

Comment 3 Miro Hrončok 2022-01-31 13:19:46 UTC
That is indeed rather weird. I suppose you could sed it in %prep to set the actual version.

OTOH upstream doesn't seem to care about this much, they don't release on PyPI at all. Maybe the metatada* should be deleted altogether?

* /usr/lib/python3.10/site-packages/azure_sdk_tools-0.0.0.dist-info/

Comment 4 Fedora Update System 2022-02-04 16:34:57 UTC
FEDORA-2022-e2fe4c22b3 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-e2fe4c22b3

Comment 5 Fedora Update System 2022-02-05 02:12:10 UTC
FEDORA-2022-e2fe4c22b3 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-e2fe4c22b3`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-e2fe4c22b3

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Ben Cotton 2022-02-08 20:15:02 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.

Comment 7 Fedora Update System 2022-02-13 01:15:02 UTC
FEDORA-2022-e2fe4c22b3 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.