Repository navigation
build(deps): Bump pytest from 9.0.3 to 9.1.1 - #8705
Draft
sentry-junior[bot] wants to merge 2 commits into
Draft
sentry-junior[bot] wants to merge 2 commits into
sentry-junior[bot] wants to merge 2 commits into
Conversation
pytest 9.1 runs one garbage collection pass where 9.0 ran five, which cut test time in getsentry/sentry (getsentry/sentry#128858). Co-Authored-By: Joshua Li <14209781+joshuarli@users.noreply.github.com> Co-Authored-By: Kedar Vaidya <kedar.vaidya@sentry.io>
pytest 9.1 turns a mark on a fixture into a collection error. test_invalid_columns_composite_query was decorated with @pytest.fixture(), so since 2023 it never ran as a test and its expected messages went stale. Drop the decorator, expect the current "Tag keys (...) not resolved" message, and sort the missing keys so the message with more than one key is stable. Co-Authored-By: Joshua Li <14209781+joshuarli@users.noreply.github.com>
sentry-junior
Bot
force-pushed
the
deps/pytest-9.1.1
branch
from
November 21, 2026 15:56
f35c67a to
00edcd2
Compare
This was referenced Nov 23, 2026
Contributor
Author
CI timing: before → afterAfter: run 44921798153 attempt 1 and attempt 2. The
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pytest 9.1 runs one garbage collection pass where 9.0 ran five. getsentry/sentry got a measurable test-time drop from the same bump (getsentry/sentry#128858).
pyproject.tomlalready allows>=9.0.3, so the bump itself only touchesuv.lock.pytest 9.1 also turns a mark on a fixture into a collection error, and that broke
tests/test_snql_api.py.test_invalid_columns_composite_queryhad@pytest.fixture()stacked on itsparametrize. Because of that, it has never run as a test since it was added in #4399, and its expected error messages went stale. This PR removes the decorator and updates the messages to the currentValidation failed for entity <entity>: Tag keys (...) not resolvedformat. It also sorts the unresolved keys inEntityContainsColumnsValidator, so the message is stable when more than one key is missing; before, the order followed set iteration.Open question: snuba's tests are dominated by ClickHouse I/O, not Python allocation, so the speedup may be small.
via @joshuarli.
--
View Session [Sentry]