Bug 2318849 - Implement PEP 735 – Dependency Groups in pyproject.toml
Summary: Implement PEP 735 – Dependency Groups in pyproject.toml
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pyproject-rpm-macros
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2324092 (view as bug list)
Depends On:
Blocks: 2318843 2322800
TreeView+ depends on / blocked
 
Reported: 2024-10-15 19:48 UTC by Miro Hrončok
Modified: 2024-11-27 02:57 UTC (History)
4 users (show)

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
Clone Of:
Environment:
Last Closed: 2024-11-06 14:12:25 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 486 0 None None None 2024-11-04 12:46:22 UTC

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.


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