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 2048104
Summary: | python3-zinnia provides python3dist(zinnia-python) = 0 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
Component: | zinnia | Assignee: | Peng Wu <pwu> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 36 | CC: | i18n-bugs, liangsuilong, petersen, pwu |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | zinnia-0.06-57.fc37 zinnia-0.06-57.fc36 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-02-11 03:33:20 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:26:53 UTC
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 |