Bug 2294510 - %pyproject_buildrequires -N should not echo python3dist(pip), as pip is not needed in that case
Summary: %pyproject_buildrequires -N should not echo python3dist(pip), as pip is not n...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pyproject-rpm-macros
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-06-27 10:00 UTC by Miro Hrončok
Modified: 2024-10-20 00:53 UTC (History)
4 users (show)

Fixed In Version: pyproject-rpm-macros-1.15.0-1.fc42 pyproject-rpm-macros-1.15.0-1.fc41 pyproject-rpm-macros-1.15.0-1.fc40 pyproject-rpm-macros-1.15.1-1.fc39
Clone Of:
Environment:
Last Closed: 2024-09-23 18:44:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources pyproject-rpm-macros pull-request 475 0 None None None 2024-09-23 12:44:01 UTC

Description Miro Hrončok 2024-06-27 10:00:47 UTC
%pyproject_buildrequires -N stands for "not using the Python build system"

As such, we don't need to generate the dependency on pip.

For almost all the packages, this does not matter, but it matters for python-pip. See https://src.fedoraproject.org/rpms/python-pip/pull-request/137#comment-200749

Note that there are a couple of packages using %pyproject_buildrequires -N, so we should double-check we are not breaking them:

rpm-specs/libsemigroups.spec
142:%pyproject_buildrequires -N docs/requirements.txt

rpm-specs/ansible-collection-kubernetes-core.spec
87:%pyproject_buildrequires -N tests/unit/requirements.txt

rpm-specs/ansible-collection-community-crypto.spec
34:%pyproject_buildrequires -N tests/unit/requirements.txt

rpm-specs/pgadmin4.spec
183:%pyproject_buildrequires -N requirements.txt

rpm-specs/python-pip.spec
240:%pyproject_buildrequires -N tests/requirements.txt

rpm-specs/crosswords.spec
151:%pyproject_buildrequires -N requirements.txt

rpm-specs/azure-cli.spec
179:%pyproject_buildrequires -N src/azure-cli/requirements.py3.Linux.txt

Comment 1 Fedora Update System 2024-09-23 18:39:47 UTC
FEDORA-2024-c1ee568637 (pyproject-rpm-macros-1.15.0-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-c1ee568637

Comment 2 Fedora Update System 2024-09-23 18:44:45 UTC
FEDORA-2024-c1ee568637 (pyproject-rpm-macros-1.15.0-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 3 Fedora Update System 2024-09-23 18:47:40 UTC
FEDORA-2024-f17e2f559b (pyproject-rpm-macros-1.15.0-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-f17e2f559b

Comment 4 Fedora Update System 2024-09-23 18:47:41 UTC
FEDORA-2024-aa49f791e5 (pyproject-rpm-macros-1.15.0-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-aa49f791e5

Comment 5 Fedora Update System 2024-09-23 18:47:43 UTC
FEDORA-2024-97e69afef1 (pyproject-rpm-macros-1.15.0-1.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-97e69afef1

Comment 6 Fedora Update System 2024-09-24 01:46:42 UTC
FEDORA-2024-97e69afef1 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-97e69afef1`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-97e69afef1

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

Comment 7 Fedora Update System 2024-09-24 02:03:38 UTC
FEDORA-2024-f17e2f559b 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-f17e2f559b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-f17e2f559b

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

Comment 8 Fedora Update System 2024-09-24 19:51:26 UTC
FEDORA-2024-aa49f791e5 has been pushed to the Fedora 41 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-aa49f791e5`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-aa49f791e5

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

Comment 9 Fedora Update System 2024-09-27 02:00:24 UTC
FEDORA-2024-aa49f791e5 (pyproject-rpm-macros-1.15.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.

Comment 10 Fedora Update System 2024-10-01 20:08:11 UTC
FEDORA-2024-f17e2f559b (pyproject-rpm-macros-1.15.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.

Comment 11 Fedora Update System 2024-10-05 01:33:11 UTC
FEDORA-2024-97e69afef1 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-97e69afef1`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-97e69afef1

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

Comment 12 Fedora Update System 2024-10-20 00:53:45 UTC
FEDORA-2024-97e69afef1 (pyproject-rpm-macros-1.15.1-1.fc39) has been pushed to the Fedora 39 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.