Skip to content

chore(deps): refresh project dependencies - #1374

Open
Undertone0809 wants to merge 13 commits into
mainfrom
chore/update-dependencies-20260715
Open

chore(deps): refresh project dependencies#1374
Undertone0809 wants to merge 13 commits into
mainfrom
chore/update-dependencies-20260715

Conversation

@Undertone0809

@Undertone0809 Undertone0809 commented Jul 14, 2026

Copy link
Copy Markdown
Owner

Summary

  • refresh Poetry-managed dependencies within the existing version constraints
  • regenerate poetry.lock and requirements.txt
  • preserve the public Python compatibility range (>=3.8.1,<4.0)
  • constrain tokenizers<0.21 only on Python 3.8 to avoid an incompatible native wheel, while newer Python versions continue resolving newer releases
  • make the LiteLLM factory test deterministic by mocking the provider call and asserting the generated request instead of depending on an external provider error

Why

The previous lock file was stale, but a blind refresh exposed two sources of instability:

  1. Python 3.8 resolved tokenizers==0.21.0, whose native extension failed to import in CI.
  2. The LiteLLM test called claude-2 without mocking and asserted a provider-specific error message, so upstream routing/error changes could fail the suite without a Promptulate regression.

This PR refreshes dependencies while preserving supported environments and removes the network/provider dependency from the unit test.

Validation

  • poetry check --lock passed
  • dependency installation passed
  • 74 basic tests passed on Python 3.11
  • Python 3.8 compatibility test passed with tokenizers==0.20.3
  • Ruff format and lint checks passed
  • source distribution and wheel builds passed
  • repository CI matrix passed in all 12 combinations:
    • Ubuntu, macOS, Windows
    • Python 3.8, 3.9, 3.10, 3.11

Scope

No production API or user-facing behavior is intentionally changed. The functional changes are limited to dependency resolution and deterministic test isolation.

@vercel

vercel Bot commented Jul 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
promptulate Ready Ready Preview, Comment Jul 14, 2026 5:38pm

Request Review

@Undertone0809
Undertone0809 marked this pull request as ready for review July 14, 2026 17:40
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.

1 participant