Bug 2048082 - ansible-collections-openstack provides python3dist(ansible-collections-openstack-cloud) = 0
Summary: ansible-collections-openstack provides python3dist(ansible-collections-openst...
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: ansible-collections-openstack
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Sagi Shnaidman
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: python3dist0
TreeView+ depends on / blocked
 
Reported: 2022-01-29 12:12 UTC by Miro Hrončok
Modified: 2022-11-11 15:29 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-11 15:29:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2022-01-29 12:12:15 UTC
The package ansible-collections-openstack has the following automatic provide:

  python3dist(ansible-collections-openstack-cloud) = 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 Alan Pevec 2022-01-31 12:08:06 UTC
FTR analysis by Alfredo:
"ansible-collections-openstack is actually not a python module and it's not in pypi.
 It just uses python packaging tooling to install it but does it make sense at all to provide  python3dist(ansible-collections-openstack-cloud) in RPMs and egg-inf
 I don't think that other packages which depend on it should use python3dist but package name or other virtual provides.
 I've checked that other ansible collections are creating provides using ansible macros:
ansible-collection(ansible.posix) = 1.3.0

 the right solution is to move it to standard ansible collections packaging
"

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

Comment 3 Karolina Surma 2022-11-11 15:29:17 UTC
The package no longer creates an incorrect automatic provide.


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