Bug 2354130 - python-tinydb FTBFS due to missing tox configuration
Summary: python-tinydb FTBFS due to missing tox configuration
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-tinydb
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jens Petersen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.14 F43FTBFS, RAWHIDEFTBFS
TreeView+ depends on / blocked
 
Reported: 2025-03-21 16:34 UTC by Miro Hrončok
Modified: 2025-04-18 09:37 UTC (History)
2 users (show)

Fixed In Version: python-tinydb-4.8.0-10.fc43
Clone Of:
Environment:
Last Closed: 2025-04-18 09:37:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources python-tinydb pull-request 2 0 None None None 2025-03-30 17:56:16 UTC

Description Miro Hrončok 2025-03-21 16:34:08 UTC
Hello.

python-tinydb 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 Jens Petersen 2025-03-30 16:17:14 UTC
Thanks Miro - help is most welcome - I didn't have time currently to look at it.

In fact I would be happy to handover the package if someone is willing to take it.


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