Bug 2244282 - %pyproject_buildrequires -R with -x/-t/-e should fail
Summary: %pyproject_buildrequires -R with -x/-t/-e should fail
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pyproject-rpm-macros
Version: rawhide
Hardware: Unspecified
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-10-15 12:19 UTC by Miro Hrončok
Modified: 2023-12-27 03:17 UTC (History)
5 users (show)

Fixed In Version: pyproject-rpm-macros-1.11.0-1.fc40 pyproject-rpm-macros-1.11.0-1.fc39 pyproject-rpm-macros-1.11.0-1.fc38
Clone Of:
Environment:
Last Closed: 2023-12-14 12:59:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources pyproject-rpm-macros pull-request 427 0 None None None 2023-12-11 12:51:36 UTC

Description Miro Hrončok 2023-10-15 12:19:54 UTC
The %pyproject_buildrequires -x, -t, and -e options all imply -r (which is the default anyway).

Using the -R option (disables -r) together with -x, -t, or -e should not be possible, however, it seems it is. When used that way, the -R option is currently silently ignored. That's not nice.


pyproject-rpm-macros-1.10.0-1

Reproducible: Always

Steps to Reproduce:
%pyproject_buildrequires -R -x foo
Actual Results:  
runtime requirements are generated

Expected Results:  
the macro explicitly fails

Comment 2 Fedora Update System 2023-12-14 12:58:11 UTC
FEDORA-2023-5c3c30efe7 has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-5c3c30efe7

Comment 3 Fedora Update System 2023-12-14 12:59:11 UTC
FEDORA-2023-5c3c30efe7 has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Fedora Update System 2023-12-14 13:45:31 UTC
FEDORA-2023-36695c32fa has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-36695c32fa

Comment 5 Fedora Update System 2023-12-14 13:45:31 UTC
FEDORA-2023-d2fed10480 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-d2fed10480

Comment 6 Fedora Update System 2023-12-15 01:20:08 UTC
FEDORA-2023-36695c32fa 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-2023-36695c32fa`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-36695c32fa

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2023-12-15 02:36:05 UTC
FEDORA-2023-d2fed10480 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-d2fed10480`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-d2fed10480

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2023-12-22 02:42:36 UTC
FEDORA-2023-36695c32fa has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2023-12-27 03:17:04 UTC
FEDORA-2023-d2fed10480 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.