Consider running `Hypothesis` tests with `-We`
Offen
@sobolevn arbeitet bereits daran.
Seit 08.7.2025.
infra
tests
- Vorherrschende Sprache
- Python
- Sterne
- 77.2k
- Forks
- 35.9k
- PR-Merge-Kennzahlen
- PR-Kennzahlen ausstehend
Beschreibung
Currently we never run tests in CI with -We.
» ag '\-W(e| error)' .github
.github/workflows/build.yml
79: run: autoreconf -ivf -Werror
This might be a problem for several reasons:
- Warnings might be raised and unseen for quite some time
-Wecan break something that it should not break, we never check for it
This is especially true for Hypothesis runs, which has its own warnings, sometimes not very expected ones, like in https://github.com/python/cpython/pull/136384
My proposal: let's try to research if it is possible and if it is a good idea. And maybe eventually run Hypothesis tests with -We in our CI.
Please, share your ideas / concerns about this change.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.