Skip to content

rawdog: bump python resources #221648

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 28, 2025
Merged

Conversation

BrewTestBot
Copy link
Member

Created by brew-pip-audit.

The following resources have known vulnerabilities:

https://files.pythonhosted.org/packages/f5/38/3af3d3633a34a3316095b39c8e8fb4853a28a536e55d347bd8d8e9a14b03/h11-0.14.0.tar.gz

Of those, the following were patched:

https://files.pythonhosted.org/packages/f5/38/3af3d3633a34a3316095b39c8e8fb4853a28a536e55d347bd8d8e9a14b03/h11-0.14.0.tar.gz

@github-actions github-actions bot added python Python use is a significant feature of the PR or issue rust Rust use is a significant feature of the PR or issue pip-audit labels Apr 27, 2025
@chenrui333
Copy link
Member

chenrui333 commented Apr 27, 2025

   ==> /home/linuxbrew/.linuxbrew/Cellar/rawdog/0.1.6_13/bin/rawdog test prompt 2>&1
  Error: rawdog: failed
  An exception occurred within a child process:
    Minitest::Assertion: Expected /The\ api_key\ client\ option\ must\ be\ set/ to match "/home/linuxbrew/.linuxbrew/Cellar/rawdog/0.1.6_13/libexec/lib/python3.13/site-packages/rawdog/__main__.py:59: SyntaxWarning: invalid escape sequence '\\_'
      else:
    /home/linuxbrew/.linuxbrew/Cellar/rawdog/0.1.6_13/libexec/lib/python3.13/site-packages/rawdog/__main__.py:66: SyntaxWarning: invalid escape sequence '\\_'
      
    Traceback (most recent call last):
      File \"/home/linuxbrew/.linuxbrew/Cellar/rawdog/0.1.6_13/bin/rawdog\", line 5, in <module>
        from rawdog.__main__ import main
      File \"/home/linuxbrew/.linuxbrew/Cellar/rawdog/0.1.6_13/libexec/lib/python3.13/site-packages/rawdog/__main__.py\", line 7, in <module>
        from rawdog.llm_client import LLMClient
      File \"/home/linuxbrew/.linuxbrew/Cellar/rawdog/0.1.6_13/libexec/lib/python3.13/site-packages/rawdog/llm_client.py\", line 5, in <module>
        from litellm import completion, completion_cost
      File \"/home/linuxbrew/.linuxbrew/Cellar/rawdog/0.1.6_13/libexec/lib/python3.13/site-packages/litellm/__init__.py\", line 1058, in <module>
        from .responses.main import *
      File \"/home/linuxbrew/.linuxbrew/Cellar/rawdog/0.1.6_13/libexec/lib/python3.13/site-packages/litellm/responses/main.py\", line 13, in <module>
        from litellm.responses.litellm_completion_transformation.handler import (
                LiteLLMCompletionTransformationHandler,
        )
      File \"/home/linuxbrew/.linuxbrew/Cellar/rawdog/0.1.6_13/libexec/lib/python3.13/site-packages/litellm/responses/litellm_completion_transformation/handler.py\", line 8, in <module>
        from litellm.responses.litellm_completion_transformation.streaming_iterator import (
                LiteLLMCompletionStreamingIterator,
        )
      File \"/home/linuxbrew/.linuxbrew/Cellar/rawdog/0.1.6_13/libexec/lib/python3.13/site-packages/litellm/responses/litellm_completion_transformation/streaming_iterator.py\", line 5, in <module>
        from litellm.responses.litellm_completion_transformation.transformation import (
                LiteLLMCompletionResponsesConfig,
        )
      File \"/home/linuxbrew/.linuxbrew/Cellar/rawdog/0.1.6_13/libexec/lib/python3.13/site-packages/litellm/responses/litellm_completion_transformation/transformation.py\", line 9, in <module>
        from enterprise.enterprise_hooks.session_handler import (
            ...<2 lines>...
        )
    ModuleNotFoundError: No module named 'enterprise'
    ".

downgrade litellm to 1.67.2, see BerriAI/litellm#10349

@chenrui333 chenrui333 added the test failure CI fails while running the test-do block label Apr 27, 2025
@chenrui333 chenrui333 force-pushed the brew-pip-audit-rawdog-1745780511 branch from 26af982 to 814a4bf Compare April 27, 2025 21:43
@chenrui333 chenrui333 removed the test failure CI fails while running the test-do block label Apr 27, 2025
rawdog: downgrade litellm to 1.67.2

Signed-off-by: Rui Chen <rui@chenrui.dev>
@chenrui333 chenrui333 force-pushed the brew-pip-audit-rawdog-1745780511 branch from 814a4bf to d6b45e9 Compare April 27, 2025 22:54
@chenrui333 chenrui333 added the ready to merge PR can be merged once CI is green label Apr 28, 2025
Copy link
Contributor

🤖 An automated task has requested bottles to be published to this PR.

Please do not push to this PR branch before the bottle commits have been pushed, as this results in a state that is difficult to recover from. If you need to resolve a merge conflict, please use a merge commit. Do not force-push to this PR branch.

@github-actions github-actions bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label Apr 28, 2025
@BrewTestBot BrewTestBot enabled auto-merge April 28, 2025 01:58
@BrewTestBot BrewTestBot added this pull request to the merge queue Apr 28, 2025
Merged via the queue into master with commit 02218ec Apr 28, 2025
17 checks passed
@BrewTestBot BrewTestBot deleted the brew-pip-audit-rawdog-1745780511 branch April 28, 2025 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. pip-audit python Python use is a significant feature of the PR or issue ready to merge PR can be merged once CI is green rust Rust use is a significant feature of the PR or issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants