Skip to content

ci: Pin litellm<=1.96 for generating test suites - #7147

Merged
alexander-alderman-webb merged 3 commits into
masterfrom
webb/litellm/pin
Aug 10, 2026
Merged

ci: Pin litellm<=1.96 for generating test suites#7147
alexander-alderman-webb merged 3 commits into
masterfrom
webb/litellm/pin

Conversation

@alexander-alderman-webb

Copy link
Copy Markdown
Contributor

Description

There's an unhandled exception in the package:

Traceback (most recent call last):
  File "/home/runner/work/sentry-python/sentry-python/.tox/py3.10-litellm-v1.97.0rc1/lib/python3.10/site-packages/litellm/main.py", line 5160, in completion
    model_response: Final = ModelResponse()
  File "/home/runner/work/sentry-python/sentry-python/.tox/py3.10-litellm-v1.97.0rc1/lib/python3.10/site-packages/litellm/types/utils.py", line 2019, in __init__
    choices = [Choices()]
  File "/home/runner/work/sentry-python/sentry-python/.tox/py3.10-litellm-v1.97.0rc1/lib/python3.10/site-packages/litellm/types/utils.py", line 1519, in __init__
    params["message"] = Message()
  File "/home/runner/work/sentry-python/sentry-python/.tox/py3.10-litellm-v1.97.0rc1/lib/python3.10/site-packages/litellm/types/utils.py", line 1290, in __init__
    super().__init__(
  File "/home/runner/work/sentry-python/sentry-python/.tox/py3.10-litellm-v1.97.0rc1/lib/python3.10/site-packages/pydantic/main.py", line 263, in __init__
    validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self)
  File "/home/runner/work/sentry-python/sentry-python/.tox/py3.10-litellm-v1.97.0rc1/lib/python3.10/site-packages/pydantic/_internal/_mock_val_ser.py", line 100, in __getattr__
    raise PydanticUserError(self._error_message, code=self._code)
pydantic.errors.PydanticUserError: `Message` is not fully defined; you should define `ChatCompletionReasoningSummaryTextBlock`, then call `Message.model_rebuild()`.

Issues

Reminders

@alexander-alderman-webb
alexander-alderman-webb requested a review from a team as a code owner August 10, 2026 08:15

@sentrivana sentrivana left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oof. Thanks for reporting this to them!

@github-actions

github-actions Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Codecov Results 📊

99506 passed | ⏭️ 6623 skipped | Total: 106129 | Pass Rate: 93.76% | Execution Time: 344m 19s

📊 Comparison with Base Branch

Metric Change
Total Tests 📉 -477
Passed Tests 📉 -477
Failed Tests
Skipped Tests

All tests are passing successfully.

✅ Patch coverage is 100.00%. Project has 2506 uncovered lines.
✅ Project coverage is 89.98%. Comparing base (base) to head (head).

Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
+ Coverage    89.98%    89.98%        —%
==========================================
  Files          193       193         —
  Lines        25014     25014         —
  Branches      9032      9032         —
==========================================
+ Hits         22509     22508        -1
- Misses        2505      2506        +1
- Partials      1435      1436        +1

Generated by Codecov Action

@alexander-alderman-webb alexander-alderman-webb changed the title ci: Pin litellm<=1.96 for generating tests ci: Pin litellm<=1.96 for generating test suites Aug 10, 2026
@alexander-alderman-webb
alexander-alderman-webb merged commit 59ccc7c into master Aug 10, 2026
145 checks passed
@alexander-alderman-webb
alexander-alderman-webb deleted the webb/litellm/pin branch August 10, 2026 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants