Bug 2318849

Summary: Implement PEP 735 – Dependency Groups in pyproject.toml
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: pyproject-rpm-macrosAssignee: Miro Hrončok <mhroncok>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: marcel, maxwell, mhroncok, python-packagers-sig
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pyproject-rpm-macros-1.16.0-1.fc42 pyproject-rpm-macros-1.16.0-1.fc41 pyproject-rpm-macros-1.16.0-1.fc40 pyproject-rpm-macros-1.16.0-1.fc39 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-11-06 14:12:25 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: 2318843, 2322800    

Description Miro Hrončok 2024-10-15 19:48:47 UTC
https://peps.python.org/pep-0735/

%pyproject_buildrequires should gain a new option to install a dependency group (e.g. -g).

tox https://github.com/tox-dev/tox/pull/3409 can have dependency groups in the toxenv, so support via https://github.com/fedora-python/tox-current-env/issues/81 is necessary.

Comment 1 Miro Hrončok 2024-10-29 16:59:55 UTC
https://github.com/fedora-python/tox-current-env/issues/81 is done. Changes in %pyproject_buildrequires can now follow:


 1. Read dependency_groups information from tox when -e/-t is used (we need to handle cases when tox --print-dependency-groups-to does not work yet).
 2. Add -g option to read dependency_groups directly. See https://peps.python.org/pep-0735/#reference-implementation

Comment 2 Miro Hrončok 2024-11-06 11:35:13 UTC
*** Bug 2324092 has been marked as a duplicate of this bug. ***

Comment 3 Fedora Update System 2024-11-06 14:10:24 UTC
FEDORA-2024-733d4dc0f1 (pyproject-rpm-macros-1.16.0-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-733d4dc0f1

Comment 4 Fedora Update System 2024-11-06 14:12:25 UTC
FEDORA-2024-733d4dc0f1 (pyproject-rpm-macros-1.16.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 5 Fedora Update System 2024-11-06 14:14:50 UTC
FEDORA-2024-0c2ddb6a6b (pyproject-rpm-macros-1.16.0-1.fc40 and python-tox-current-env-0.0.14-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-0c2ddb6a6b

Comment 6 Fedora Update System 2024-11-06 14:15:04 UTC
FEDORA-2024-e508437a37 (pyproject-rpm-macros-1.16.0-1.fc39 and python-tox-current-env-0.0.14-1.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-e508437a37

Comment 7 Fedora Update System 2024-11-06 14:15:32 UTC
FEDORA-2024-39a2456ba7 (pyproject-rpm-macros-1.16.0-1.fc41 and python-tox-current-env-0.0.14-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-39a2456ba7

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

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

Comment 9 Fedora Update System 2024-11-07 05:18:33 UTC
FEDORA-2024-0c2ddb6a6b 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-0c2ddb6a6b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-0c2ddb6a6b

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

Comment 10 Fedora Update System 2024-11-07 05:42:34 UTC
FEDORA-2024-39a2456ba7 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-39a2456ba7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-39a2456ba7

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

Comment 11 Fedora Update System 2024-11-11 02:20:11 UTC
FEDORA-2024-39a2456ba7 (pyproject-rpm-macros-1.16.0-1.fc41 and python-tox-current-env-0.0.14-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 12 Fedora Update System 2024-11-11 05:09:22 UTC
FEDORA-2024-0c2ddb6a6b (pyproject-rpm-macros-1.16.0-1.fc40 and python-tox-current-env-0.0.14-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 13 Fedora Update System 2024-11-12 04:21:34 UTC
FEDORA-2024-e508437a37 (pyproject-rpm-macros-1.16.0-1.fc39 and python-tox-current-env-0.0.14-1.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2024-11-12 14:30:43 UTC
FEDORA-2024-5e21c207a5 (python-tox-4.23.2-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-5e21c207a5

Comment 15 Fedora Update System 2024-11-12 14:30:44 UTC
FEDORA-2024-80383e00f4 (python-tox-4.23.2-1.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-80383e00f4

Comment 16 Fedora Update System 2024-11-12 14:30:45 UTC
FEDORA-2024-064fcc41c0 (python-tox-4.23.2-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-064fcc41c0

Comment 17 Fedora Update System 2024-11-13 02:13:49 UTC
FEDORA-2024-80383e00f4 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-80383e00f4`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-80383e00f4

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

Comment 18 Fedora Update System 2024-11-13 02:44:06 UTC
FEDORA-2024-5e21c207a5 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-5e21c207a5`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-5e21c207a5

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

Comment 19 Fedora Update System 2024-11-13 20:40:34 UTC
FEDORA-2024-064fcc41c0 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-064fcc41c0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-064fcc41c0

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

Comment 20 Fedora Update System 2024-11-18 11:51:10 UTC
FEDORA-EPEL-2024-3e70c28ac7 (python-tox-4.23.2-1.el10_0) has been submitted as an update to Fedora EPEL 10.0.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-3e70c28ac7

Comment 21 Fedora Update System 2024-11-19 02:51:49 UTC
FEDORA-EPEL-2024-3e70c28ac7 has been pushed to the Fedora EPEL 10.0 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-3e70c28ac7

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

Comment 22 Fedora Update System 2024-11-20 14:03:53 UTC
FEDORA-2024-80383e00f4 (python-tox-4.23.2-1.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 23 Fedora Update System 2024-11-20 16:21:46 UTC
FEDORA-2024-5e21c207a5 (python-tox-4.23.2-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 24 Fedora Update System 2024-11-21 03:35:17 UTC
FEDORA-2024-064fcc41c0 (python-tox-4.23.2-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 25 Fedora Update System 2024-11-27 02:57:08 UTC
FEDORA-EPEL-2024-3e70c28ac7 (python-tox-4.23.2-1.el10_0) has been pushed to the Fedora EPEL 10.0 stable repository.
If problem still persists, please make note of it in this bug report.