The package python3-typer-cli has the following automatic provide: python3dist(typer-cli) = 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’m away from a suitable computer at the moment, but I’ll investigate this in the next week or two.
https://github.com/tiangolo/typer-cli/blob/0.0.12/pyproject.toml has: [tool.poetry] version = "0" [build-system] requires = ["poetry>=0.12"] [tool.poetry-version-plugin] source = "init" I guess the https://pypi.org/project/poetry-version-plugin/ is supposed to set the version properly but it is not listed in build-system.requires :/
Furthermore, not only is it not yet packaged in Fedora, but it requires an unreleased version of poetry[1]. I think the best approach will be just to patch the version number into pyproject.toml in the conventional form[2]. I wish Python packaging would fail loudly rather than falling back to zero whenever something goes wrong with one of the various schemes for shuffling Python package version numbers around. [1] https://github.com/tiangolo/poetry-version-plugin#how-to-use [2] https://python-poetry.org/docs/pyproject/#version
> I think the best approach will be just to patch the version number into pyproject.toml in the conventional form. I agree. I will send you a PR, so you can review it on your non-suitable computer. > I wish Python packaging would fail loudly rather than falling back to zero... This is a common problem with setuptools (see e.g. https://github.com/pypa/setuptools/issues/2329) but in this case, I'd say it does not fall back to zero, the zero is clearly there, set in the metadata.
https://src.fedoraproject.org/rpms/python-typer-cli/pull-request/1
> I wish Python packaging would fail loudly rather than falling back to zero... We can do that at least in RPM packaging: https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/K35JCFVJLETVUOICQM634OSYBYQ3Q2WQ/
FEDORA-2022-e6c873c915 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-e6c873c915
FEDORA-2022-e6c873c915 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-3fbd60e576 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-3fbd60e576
FEDORA-2022-b19d0471dc has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2022-b19d0471dc
FEDORA-2022-b19d0471dc has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-b19d0471dc` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-b19d0471dc See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-3fbd60e576 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-3fbd60e576` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-3fbd60e576 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-3fbd60e576 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-b19d0471dc has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report.