getsentry / getsentry/sentry-python

Unpin Pytest on Redis tests

未關閉
#3,715 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
Component: DX good first issue Improvement Python Quality Improvement
主要語言
Python
星號
2.2k
分支
669
平均合併
1 天 40 分鐘
30 天內合併 PR
212

描述

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.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。