Bug 2354089 - patool FTBFS due to missing tox configuration
Summary: patool FTBFS due to missing tox configuration
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: patool
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Robert-André Mauchin 🐧
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.14 F43FTBFS, RAWHIDEFTBFS
TreeView+ depends on / blocked
 
Reported: 2025-03-21 16:31 UTC by Miro Hrončok
Modified: 2025-04-15 18:34 UTC (History)
1 user (show)

Fixed In Version: patool-4.0.0-1.fc42 patool-4.0.0-1.fc41
Clone Of:
Environment:
Last Closed: 2025-04-15 18:00:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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

patool 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 Robert-André Mauchin 🐧 2025-04-06 12:19:31 UTC
I'm on it

Comment 3 Fedora Update System 2025-04-06 12:42:48 UTC
FEDORA-2025-c685daaa79 (patool-4.0.0-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-c685daaa79

Comment 4 Fedora Update System 2025-04-06 12:49:40 UTC
FEDORA-2025-9338636721 (patool-4.0.0-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-9338636721

Comment 5 Fedora Update System 2025-04-07 01:24:46 UTC
FEDORA-2025-9338636721 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-9338636721`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-9338636721

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

Comment 6 Fedora Update System 2025-04-07 02:12:12 UTC
FEDORA-2025-c685daaa79 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-c685daaa79`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-c685daaa79

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

Comment 7 Fedora Update System 2025-04-15 18:00:14 UTC
FEDORA-2025-c685daaa79 (patool-4.0.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 8 Fedora Update System 2025-04-15 18:34:50 UTC
FEDORA-2025-9338636721 (patool-4.0.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.


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