Description of problem: The latest version of Fiona uses an optional dependency line of: `all = ["Fiona[calc,s3,test]"]` [1] and also has "Fiona[s3]" in its test extra [2]. When using `pyproject_buildrequires`; this attempts to install python3dist(fiona[s3]) during a build, which doesn't exist. In order to get a build working, I've had to patch the `pyproject.toml` to expand the optional dependencies [3]. Version-Release number of selected component (if applicable): 1.6.2-1.fc39 Steps to Reproduce: 1. fedpkg clone python-fiona 2. Delete the second patch 3. fedpkg mockbuild Actual results: DEBUG util.py:443: No matching package to install: 'python3dist(fiona[s3])' Expected results: Dependencies are installed Additional info: [1] https://github.com/Toblerity/Fiona/blob/1.9.1/pyproject.toml#L47 [2] https://github.com/Toblerity/Fiona/blob/1.9.1/pyproject.toml#L51 [3] https://src.fedoraproject.org/rpms/python-fiona/blob/rawhide/f/0002-Remove-self-referencing-dependencies.patch
This is the first time I've seen anything like this. Seems like pip supports it now: https://github.com/pypa/setuptools/issues/1260#issuecomment-1044771738
The latest version of attrs has something similar: https://github.com/python-attrs/attrs/blob/a9e9579e4e2c3491026e2cb64ba5e0b1c5a0a89e/pyproject.toml#L45
https://src.fedoraproject.org/rpms/pyproject-rpm-macros/pull-request/379
FEDORA-2023-0023e4e06c has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-0023e4e06c
FEDORA-2023-0023e4e06c has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2023-63635ff1df has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-63635ff1df
FEDORA-2023-43dcf540b0 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-43dcf540b0
FEDORA-2023-43dcf540b0 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-43dcf540b0` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-43dcf540b0 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-63635ff1df has been pushed to the Fedora 37 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-63635ff1df` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-63635ff1df See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-43dcf540b0 has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2023-63635ff1df has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.