python / python/cpython

Consider running `Hypothesis` tests with `-We`

Abierto
#136,409 0 comentarios 0 reacciones 1 asignado Ver en GitHub

@sobolevn ya está trabajando en esto.

Desde el 8/7/2025.

infra tests
Lenguaje dominante
Python
Estrellas
77.2k
Forks
35.9k
Métricas de merge de PR
Métricas de PR pendientes

Descripción

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
  • -We can 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.

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.