Bug 2048089 - python3-extension-helpers provides python3dist(extension-helpers) = 0
Summary: python3-extension-helpers provides python3dist(extension-helpers) = 0
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-extension-helpers
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mattia Verga
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: python3dist0
TreeView+ depends on / blocked
 
Reported: 2022-01-29 12:17 UTC by Miro Hrončok
Modified: 2022-08-14 12:24 UTC (History)
5 users (show)

Fixed In Version: python-extension-helpers-1.0.0-1.fc38 python-extension-helpers-1.0.0-1.fc37
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-14 12:21:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2022-01-29 12:17:06 UTC
The package python3-extension-helpers has the following automatic provide:

  python3dist(extension-helpers) = 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 Ben Cotton 2022-02-08 20:26:11 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.

Comment 2 Mattia Verga 2022-08-14 08:21:46 UTC
(In reply to Miro Hrončok from comment #0)
> The package python3-extension-helpers has the following automatic provide:
> 
>   python3dist(extension-helpers) = 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.

I've been trying to upgrade the package version and fix this, but I'm still getting:
`Provides: python-extension-helpers = 1.0.0-1.fc38 python3-extension-helpers = 1.0.0-1.fc38 python3.11-extension-helpers = 1.0.0-1.fc38 python3.11dist(extension-helpers) = 1 python3dist(extension-helpers) = 1`

Miro, do you have any idea why the automatic provides macro is stripping the minor version?

Comment 3 Mattia Verga 2022-08-14 08:54:47 UTC
I've almost forgot: here it is the scratch build
https://koji.fedoraproject.org/koji/taskinfo?taskID=90780167

Comment 4 Miro Hrončok 2022-08-14 10:55:11 UTC
That is correct. Version 1.0.0 == 1 in Python's terms, so the dependency generator strips all trailing zeros.

Comment 5 Fedora Update System 2022-08-14 12:20:38 UTC
FEDORA-2022-c10bc4f4e6 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2022-c10bc4f4e6

Comment 6 Fedora Update System 2022-08-14 12:21:34 UTC
FEDORA-2022-c10bc4f4e6 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2022-08-14 12:22:45 UTC
FEDORA-2022-7fc17b0773 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-7fc17b0773

Comment 8 Fedora Update System 2022-08-14 12:24:31 UTC
FEDORA-2022-7fc17b0773 has been pushed to the Fedora 37 stable repository.
If problem still persists, 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.