Bug 1990879
| Summary: | Paths with spaces AND square or curly brackets are not listable in %{pyproject_files} | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
| Component: | pyproject-rpm-macros | Assignee: | Miro Hrončok <mhroncok> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | maxwell, mhroncok, ngompa13, pviktori, python-sig |
| Target Milestone: | --- | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | pyproject-rpm-macros-1.13.0-1.fc41 pyproject-rpm-macros-1.13.0-1.fc40 pyproject-rpm-macros-1.13.0-1.fc39 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-07-03 17:08:46 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: | |||
I don't know how to list such files. I've reported https://github.com/rpm-software-management/rpm/issues/1749 This bug appears to have been reported against 'rawhide' during the Fedora 35 development cycle. Changing version to 35. There has been some movement in the RPM issue. Hopefully, we'll get a fix soon. and will be able to adapt. pyproject-rpm-macros-0-47 added a worakround error message when this happens. *** Bug 2023561 has been marked as a duplicate of this bug. *** Upstream progress: https://github.com/rpm-software-management/rpm/issues/1749#issuecomment-1020420616 Upstream says RPM 4.19 is the earliest opportunity for this one. For context, RPM 4.18 is new in Fedora 37. RPM 4.19 has landed in rawhide. The first step is to fix the current hack: https://src.fedoraproject.org/rpms/pyproject-rpm-macros/pull-request/389 The next step is to rewrite the escaping code to leverage the new feature. I've put something together in https://src.fedoraproject.org/rpms/pyproject-rpm-macros/pull-request/448 but it was more complex than expected :( FEDORA-2024-c32de71b26 (pyproject-rpm-macros-1.13.0-1.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-c32de71b26 FEDORA-2024-f436e26814 (pyproject-rpm-macros-1.13.0-1.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-f436e26814 FEDORA-2024-e4c1e2cfa0 (pyproject-rpm-macros-1.13.0-1.fc39 and python-rpm-macros-3.12-8.fc39) has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2024-e4c1e2cfa0 FEDORA-2024-c32de71b26 (pyproject-rpm-macros-1.13.0-1.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2024-f436e26814 has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-f436e26814` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-f436e26814 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2024-e4c1e2cfa0 has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-e4c1e2cfa0` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-e4c1e2cfa0 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2024-f436e26814 (pyproject-rpm-macros-1.13.0-1.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2024-e4c1e2cfa0 (pyproject-rpm-macros-1.13.0-1.fc39 and python-rpm-macros-3.12-8.fc39) has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report. |
With pyproject-rpm-macros 0-46, paths like this are not listable in {pyproject_files}: .../file[foo with spaces] We get: error: Path is outside buildroot: with error: Path is outside buildroot: spaces] Even if we put the paths to "quotes". This hits noggin when packaged with tests, as they have pytest-parameterized HTTP cassettes with spaces in them.