getsentry / getsentry/sentry-python

Unpin Pytest on Redis tests

Abierto
#3,715 1 comentario 0 reacciones 0 asignados Ver en GitHub
Component: DX good first issue Improvement Python Quality Improvement
Lenguaje dominante
Python
Estrellas
2.2k
Forks
669
Merge medio
1 d 1 h
PR fusionados (30 d)
213

Descripción

We currently pin `pytest` for our Redis tests:

https://github.com/getsentry/sentry-python/blob/bf400904245c3809bad5f20fd637408f519e7a15/tox.ini#L585

Unpinning `pytest` causes many of the Redis tests to fail. See the status checks on https://github.com/getsentry/sentry-python/pull/3703 for details.

It seems that these test failures are occurring because data is leaking between tests. When running just one of the failing tests, the test passes.

Let's investigate what changed in Pytest in version 8.0.0 to cause this change in behavior, and see whether we can remove the version pin.

Guía de contribución

Abrir la guía de contribución

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.