Bug 2142037
| Summary: | python-pdm-pep517 fails to build with pytest 7.2 - missing dependency on python3-setuptools | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Lumír Balhar <lbalhar> |
| Component: | python-pdm-pep517 | Assignee: | Simon de Vlieger <cmdr> |
| Status: | CLOSED ERRATA | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | cmdr |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-pdm-pep517-1.0.4-3.fc37 python-pdm-pep517-1.0.4-3.fc36 python-pdm-pep517-1.0.4-3.el9 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-11-21 01:07:30 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: | 2137514 | ||
|
Description
Lumír Balhar
2022-11-11 13:01:55 UTC
I'll add this to BuildRequires in all branches, interesting that the pyproject_buildrequires macro doesn't handle this case :) %pyproject_buildrequires should handle this if the dependency is specified in upstream metadata. I see that upstream code uses setuptools in tests and I also see setuptools in the pdm.lock but I have no idea whether this is an optional dependency just for tests. The problem might be there, not in the specfile. Strange is that setuptools is in pdm.lock but not in pyproject.toml. Do you understand pdm well enough to check it and possibly report an issue there? Not really no, for now I've added a BuildRequires for python3-setuptools and triggered builds for all branches: https://koji.fedoraproject.org/koji/packageinfo?packageID=36139 so that the immediate concern is gone. I'll have this ticket be closed by bodhi after I submit updates and might take a deeper look into the rest of it if I get to it. FEDORA-2022-b8392d0f6b has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-b8392d0f6b FEDORA-2022-ef631ada81 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-ef631ada81 FEDORA-EPEL-2022-b6bab7dc81 has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-b6bab7dc81 FEDORA-EPEL-2022-b6bab7dc81 has been pushed to the Fedora EPEL 9 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-b6bab7dc81 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2022-ef631ada81 has been pushed to the Fedora 37 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-ef631ada81` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-ef631ada81 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2022-b8392d0f6b has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-b8392d0f6b` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-b8392d0f6b See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. I fixed the problem upstream: https://github.com/pdm-project/pdm-pep517/pull/131 FEDORA-2022-ef631ada81 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2022-b8392d0f6b has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-EPEL-2022-b6bab7dc81 has been pushed to the Fedora EPEL 9 stable repository. If problem still persists, please make note of it in this bug report. |