Skip to content

chore(deps): upgrade python dependency stack#5

Merged
uwe-schwarz merged 1 commit into
mainfrom
codex/deps-auto-commit-20260414
Apr 14, 2026
Merged

chore(deps): upgrade python dependency stack#5
uwe-schwarz merged 1 commit into
mainfrom
codex/deps-auto-commit-20260414

Conversation

@uwe-schwarz

Copy link
Copy Markdown
Owner

Summary

  • bump google-genai to >=1.73.0
  • add an explicit pydantic>=2.13.0 requirement so the env resolves the current pydantic_core line
  • add a small stdlib smoke test covering CLI startup and the expected dependency versions

Why

This refreshes the repo's Python SDK stack and confirms that upgrading pydantic now allows pydantic_core to upgrade cleanly as well.

Validation

  • .venv/bin/python -m unittest discover -s tests -p 'test_dependency_stack.py' -v
  • .venv/bin/python auto-commit.py --help
  • .venv/bin/python -m pip list --outdated --format=columns

Resulting versions

  • google-genai==1.73.0
  • pydantic==2.13.0
  • pydantic_core==2.46.0

- Bump google-genai to 1.73.0
- Add pydantic >=2.13.0
- Introduce tests/test_dependency_stack.py for version checks

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8686bc914a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".



def parse_version(raw: str) -> tuple[int, ...]:
return tuple(int(part) for part in raw.split("."))

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Parse versions with PEP 440 semantics

Replace the integer-splitting parser here with a real version parser because this implementation breaks on valid distribution versions such as 2.13.0.post1/2.13.0rc1 (raises ValueError) and can misorder equivalents like 1.73 vs 1.73.0 ((1, 73) < (1, 73, 0)). In those cases the new dependency check will fail even when installed packages actually meet the minimum constraints.

Useful? React with 👍 / 👎.

@uwe-schwarz uwe-schwarz merged commit af23596 into main Apr 14, 2026
1 check passed
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