Consider running `Hypothesis` tests with `-We`
Open
@sobolevn is already working on this.
Since Jul 8, 2025.
infra
tests
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 35.9k
- PR merge metrics
- PR metrics pending
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.