Bug 1877977 - %pyproject_buildrequires -t does not respect the "extras" option from tox testenv configuration
Summary: %pyproject_buildrequires -t does not respect the "extras" option from tox tes...
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:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-10 23:17 UTC by Miro Hrončok
Modified: 2021-02-04 13:31 UTC (History)
5 users (show)

Fixed In Version: pyproject-rpm-macros-0-30.fc34 pyproject-rpm-macros-0-30.fc33 pyproject-rpm-macros-0-30.fc32 pyproject-rpm-macros-0-30.fc31 pyproject-rpm-macros-0-37.eln109
Clone Of:
Environment:
Last Closed: 2020-10-01 15:59:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github fedora-python tox-current-env pull 33 0 None closed Add the --print-extras-to(-file) option 2021-02-04 13:42:22 UTC

Description Miro Hrončok 2020-09-10 23:17:30 UTC
tox testenvs can specify extras, e.g:

[testenv]
deps = ...
commands = ...
extras =
    dev
    full

Documentation: https://tox.readthedocs.io/en/latest/config.html#conf-extras

"""A list of “extras” to be installed with the sdist or develop install. For example, extras = testing is equivalent to [testing] in a pip install command. These are not installed if skip_install is true."""

`%pyproject_buildrequires -t` does not understand this. It should.

Inspired by: https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/message/V27ZYNWDOW2VL2HP4VEPMBQSBH3HLJF7/

Comment 1 Miro Hrončok 2020-09-11 13:15:41 UTC
Working on adapting tox-current-env

Comment 3 Fedora Update System 2020-10-01 15:58:26 UTC
FEDORA-2020-6b747c26e1 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-6b747c26e1

Comment 4 Fedora Update System 2020-10-01 15:58:31 UTC
FEDORA-2020-20741bd099 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-20741bd099

Comment 5 Fedora Update System 2020-10-01 15:58:37 UTC
FEDORA-2020-7d84d3ea99 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-7d84d3ea99

Comment 6 Fedora Update System 2020-10-01 15:59:45 UTC
FEDORA-2020-7b01d713e7 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2020-10-02 01:48:16 UTC
FEDORA-2020-20741bd099 has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-20741bd099`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-20741bd099

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

Comment 8 Fedora Update System 2020-10-02 01:53:30 UTC
FEDORA-2020-6b747c26e1 has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-6b747c26e1`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-6b747c26e1

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

Comment 9 Fedora Update System 2020-10-02 02:10:55 UTC
FEDORA-2020-7d84d3ea99 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-7d84d3ea99`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-7d84d3ea99

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

Comment 10 Fedora Update System 2020-10-05 16:34:34 UTC
FEDORA-2020-20741bd099 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2020-10-09 16:13:51 UTC
FEDORA-2020-7d84d3ea99 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2020-10-09 16:27:57 UTC
FEDORA-2020-6b747c26e1 has been pushed to the Fedora 31 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2021-02-04 13:31:00 UTC
FEDORA-2021-46d1d95820 has been pushed to the Fedora ELN 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.