The package python3-zinnia has the following automatic provide: python3dist(zinnia-python) = 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.
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle. Changing version to 36.
I think zinnia use swig to generate python binding. How could I provide the version information for zinnia python binding?
From the specfile: pushd python python3 setup.py install --root $RPM_BUILD_ROOT pushd From setup.py: #!/usr/bin/env python from distutils.core import setup,Extension,os import string setup(name = "zinnia-python", py_modules=["zinnia"], ext_modules = [Extension("_zinnia", ["zinnia_wrap.cxx",], libraries=["zinnia"]) ]) E.g. there is no version=... in the setup() call. Nothing in Fedora requires python3dist(zinnia-python) / python3.10dist(zinnia-python). https://pypi.org/project/zinnia-python/ does not exist either. IMHO the best solution to this problem is to rm $RPM_BUILD_ROOT%{python3_sitearch}/zinnia_python-0.0.0-py%{python3_version}.egg-info after the setup.py install call, with a reference to this bugzilla. Clearly, the metadata is not relevant for upstream. --------- Alternatively, go talk to upstream and ask them if they could set the version= in setup.py to something meninful.
FEDORA-2022-fe1b352e86 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-fe1b352e86
FEDORA-2022-fe1b352e86 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-eece6813c5 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-eece6813c5
FEDORA-2022-eece6813c5 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.
Thanks for the help! Built for Fedora rawhide and Fedora 36. Koji URL: https://koji.fedoraproject.org/koji/taskinfo?taskID=82659715 https://koji.fedoraproject.org/koji/taskinfo?taskID=82661294