getsentry / getsentry/sentry-python

Unpin Pytest on Redis tests

Đang mở
#3,715 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Component: DX good first issue Improvement Python Quality Improvement
Ngôn ngữ chính
Python
Star
2.2k
Fork
669
Merge trung bình
1 ngày 1 giờ
Pull request đã merge (30 ngày)
213

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.