We currently pin pytest for our Redis tests:
Unpinning pytest causes many of the Redis tests to fail. See the status checks on #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.
We currently pin
pytestfor our Redis tests:sentry-python/tox.ini
Line 585 in bf40090
Unpinning
pytestcauses many of the Redis tests to fail. See the status checks on #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.