Native TOML numeric faulthandler_timeout is rejected
I maintainer di solito rispondono entro 1 giorno
@hfycium ci sta già lavorando.
Dal 5/10/2026.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 25/100
Direzione di ricerca
Start by reading the pytest configuration handling for faulthandler_timeout and reproduce the issue with the provided pytest.toml example. Check how the option behaves in INI-style configuration and how other typed TOML options are handled. Done means native TOML integers and floats are accepted for this float-valued option; an open linked pull request is already addressing the issue.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
faulthandler_timeout rejects native numeric values in TOML configuration, even though the option is documented as a float and the TOML examples use a number.
Reproduction
On pytest main at f5240bef4, with Python 3.12 on Windows:
[pytest]
faulthandler_timeout = 5
Running a test produces:
ERROR: pytest.toml: config option 'faulthandler_timeout' expects a string, got int: 5
The same option works when configured through INI-style configuration or as a quoted TOML string.
Expected behavior
Native TOML integers and floats should be accepted for this float-valued option, consistent with the documentation and the other typed TOML options.
I have a small local fix and regression test ready for review.
- Lingua principale
- Python
- Stelle
- 14.6k
- Fork
- 3.5k
- Merge medio
- 1g 21h
- PR unite (30g)
- 29
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di pytest-dev/pytest
-
monkeypatch.setattr fails to undo on objects with a custom __setattr__ (regression from #14969)Forse già presa @Maurenz2530 l’ha presa 13 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
pytest-dev/pytest#15099 · 6 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Allow dotted test filenames (`*.test.py`) via one-line change to `compute_module_name`Forse di nuovo libera @siddy-stack l’ha presa 52 giorni fa e non c’è nessuna pull request aperta. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
pytest-dev/pytest#14514 · 6 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Expose CaptureManager as public APIForse di nuovo libera @harsh21234i l’ha presa 190 giorni fa e non c’è nessuna pull request aperta. Apertatype: enhancement type: feature-branch
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
pytest-dev/pytest#14186 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Docs on warnings filters should note that `ResourceWarning` is often delayedForse già presa @tanishmisra9 l’ha presa 108 giorni fa. Apertatype: docs
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
pytest-dev/pytest#9825 · 7 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
conftest.py: support importorskip at import, make every other outcome exception a usage errorForse già presa @RonnyPfannschmidt l’ha presa 3 giorni fa. Apertatopic: collection
pytest-dev/pytest#15142 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di pytest-dev/pytest
Issue simili
-
HTML: <template> content is extracted as document textForse già presa @ryanmeowy l’ha presa oggi. Apertabug html
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
docling-project/docling#4714 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG] Qdrant RAG client applies score_threshold to raw cosine similarity, not the 0-1 score it returnsForse già presa @roydonsequeira l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
Host test failure in core/direct_io.zig on Linux kernel 6.17: O_DIRECT open succeeds on procfs, so the test's 'plain' fd is not plainForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ashhart/TensorFold#536 ·
I maintainer di solito rispondono entro 1 giorno
-
area/install-update comp/cli duplicate P2 python:uv sweeper:risk-compatibility type/bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 62/100
NousResearch/hermes-agent#135440 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
Deepak3699/Ai_Mentor#244 ·
I maintainer di solito rispondono entro 1 giorno