Bug 2048090
| Summary: | python3-humanize provides python3dist(humanize) = 0 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
| Component: | python-humanize | Assignee: | Steve Traylen <steve.traylen> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | jakub, projects.rg, steve.traylen |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-humanize-3.13.1-3.fc36 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-02-01 00:26:58 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: | 2047774, 2048077 | ||
|
Description
Miro Hrončok
2022-01-29 12:17:21 UTC
I fail to see any relation to source tarball as there's definitely a version given as well in %prep to extract. To build, standard with macro %py3_build is used. Why setuptools_scm then as there's no BuildRequires for that? I see this in pyproject.toml: [build-system] requires = [..., "setuptools_scm[toml]>=3.4"] ... [tool.setuptools_scm] local_scheme = "no-local-version" And there is no version in either setup.py or setup.cfg. There's indeed no BuildRequires for setuptools_scm, which I believe is a mistake. Furthermore, a tarball from GitHub is used as a source, hence the version information is lost. FEDORA-2022-10cfa451bb has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-10cfa451bb FEDORA-2022-10cfa451bb has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report. python-humanize-3.13.1-2.fc36 actually removed the provides altogteher. The culprit is that %{python3_sitelib}/humanize-%{version}.dist-info/ is not owned by the package.
Here's my attempt to fix it with further cleanup: https://src.fedoraproject.org/rpms/python-humanize/pull-request/7
Thankyou , got the provides and then lost the directory and provides (it seems) when I marked the LICENSE as %license. Steve. |