Bug 2237692
Summary: | rubygem-aruba should not BuildRequire /usr/bin/python3 | ||
---|---|---|---|
Product: | [Fedora] Fedora EPEL | Reporter: | Lumír Balhar <lbalhar> |
Component: | rubygem-aruba | Assignee: | Troy Dawson <tdawson> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | epel8 | CC: | bkearney, mtasaka, strzibny, tdawson, vondruch |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | rubygem-aruba-0.14.14-1.el8.2 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-09-21 01:51:18 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: |
Description
Lumír Balhar
2023-09-06 12:22:33 UTC
A lot has been said about RHEL, but this comes from Fedora. Therefore should be solved there first, if needed. So what is recommendation for Fedora? Also looking at the sources, the irony is that it seems that with all the magic you wrote above and what not, the specific test case might be skipped after all: https://github.com/cucumber/aruba/blob/e9192bec97e8d26c7382efee5f8bbd06fb96a924/features/step_definitions/hooks.rb#L3-L7 https://github.com/cucumber/aruba/blob/e9192bec97e8d26c7382efee5f8bbd06fb96a924/features/03_testing_frameworks/cucumber/steps/command/run_commands_which_require_a_shell.feature#L14-L39 IOW how to make packaging nightmare from naive test case You can depend on python3-devel in Fedora/EPEL. But here actually python3-devel is not needed, all needed is /usr/bin/python3. If you are okay with the fact that /usr/bin/python3 can be provided by Python versions 3.6, 3.8, 3.9, and 3.11 now and possibly more in the future, it's fine. In this case, it's build-time-only dependency. Also, in the guidelines: Every package that uses Python (at runtime and/or build time) and/or installs Python modules MUST explicitly include BuildRequires: python3-devel in its .spec file, even if Python is not actually invoked during build time. https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_distro_wide_guidelines For Fedora (i.e. not for EPEL), I just killed python related test and so removed BR: python entirely: the (python related) test is not important anyway. Thank you. I implemented that change for epel8. I'll have an updated build in a little bit. FEDORA-EPEL-2023-06046a646d has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-06046a646d FEDORA-EPEL-2023-06046a646d has been pushed to the Fedora EPEL 8 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-06046a646d See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-EPEL-2023-06046a646d has been pushed to the Fedora EPEL 8 stable repository. If problem still persists, please make note of it in this bug report. |