Bug 2354098

Summary: python-eth-abi FTBFS due to missing tox configuration
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: python-eth-abiAssignee: Peter Lemenkov <lemenkov>
Status: CLOSED ERRATA QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: lemenkov
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-eth-abi-5.2.0-1.fc41 python-eth-abi-5.2.0-1.fc42 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-03-31 17:28:45 UTC Type: ---
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: 2322407, 2339432    

Description Miro Hrončok 2025-03-21 16:31:53 UTC
Hello.

python-eth-abi fails to build from source becasue it uses one or both of:

 - %pyproject_buildrequires -t/-e (generate dependencies via tox)
 - %tox (run tox)

without tox configuration (e.g. tox.ini or tox section of pyproject.toml/setup.cfg).

This was always supposed to fail, but regressed with tox 4.
Now it fails again.

https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/ZSHSHZKVA4XJQBJD7FMMCALKN4UP5SAJ/
https://lists.fedoraproject.org/archives/list/devel-announce@lists.fedoraproject.org/thread/N25A2BER3RUHMTBIULQ6AVWRILSL5VGW/

If this package uses tox upstream, make sure to use a source tarball that includes the tox configuration (e.g. an archive from GitHub instead of sdist from PyPI).

If this package does not use tox upstream, you cannot use the tox options.
If your package uses %pyproject_buildrequires -t/-e but does not use %tox, just drop the -t/-e option.
If your package uses %tox, replace the call with a more suitable way for running tests (e.g. %pytest).

Let me know if you need assistance. Thanks.

Comment 1 Miro Hrončok 2025-03-28 12:42:04 UTC
Hello. If you need help fixing this, please let me know. If you plan to fix this yourself, please respond. Thanks.

Comment 2 Fedora Update System 2025-03-31 10:57:31 UTC
FEDORA-2025-eda13c99f1 (python-eth-abi-5.2.0-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-eda13c99f1

Comment 3 Fedora Update System 2025-03-31 10:57:36 UTC
FEDORA-2025-45ab86c3b6 (python-eth-abi-5.2.0-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-45ab86c3b6

Comment 4 Peter Lemenkov 2025-03-31 17:03:30 UTC
(In reply to Miro Hrončok from comment #1)
> Hello. If you need help fixing this, please let me know. If you plan to fix
> this yourself, please respond. Thanks.

Hey! I've just addressed that one.

Comment 5 Miro Hrončok 2025-03-31 17:28:45 UTC
Thanks.

Comment 6 Fedora Update System 2025-04-01 03:11:08 UTC
FEDORA-2025-45ab86c3b6 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-2025-45ab86c3b6`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-45ab86c3b6

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

Comment 7 Fedora Update System 2025-04-01 03:25:35 UTC
FEDORA-2025-eda13c99f1 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-eda13c99f1`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-eda13c99f1

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

Comment 8 Fedora Update System 2025-04-09 01:52:51 UTC
FEDORA-2025-45ab86c3b6 (python-eth-abi-5.2.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 9 Fedora Update System 2025-04-11 18:25:15 UTC
FEDORA-2025-eda13c99f1 (python-eth-abi-5.2.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.