Skip to content

Migrate from optional-dependencies to dependency-groups - #1

Closed
harupy wants to merge 9 commits into
mainfrom
migrate-to-dependency-groups
Closed

Migrate from optional-dependencies to dependency-groups#1
harupy wants to merge 9 commits into
mainfrom
migrate-to-dependency-groups

Conversation

@harupy

@harupy harupy commented Jan 24, 2026

Copy link
Copy Markdown
Owner

Summary

Migrates the Python SDK from pip's optional-dependencies pattern to uv's dependency-groups pattern for dev dependencies.

Changes

  • pyproject.toml: Changed [project.optional-dependencies] to [dependency-groups]
  • README.md: Updated installation instructions to use uv sync instead of pip install -e ".[dev]"
  • uv.lock: Regenerated with new dependency format

Copilot AI and others added 9 commits January 23, 2026 19:08
* Initial plan

* Update Python minimum version requirement to 3.9+

Co-authored-by: friggeri <106686+friggeri@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: friggeri <106686+friggeri@users.noreply.github.com>
* Initial plan

* Add list_sessions method to Python SDK client

Co-authored-by: friggeri <106686+friggeri@users.noreply.github.com>

* Improve type annotations for list_sessions method

Co-authored-by: friggeri <106686+friggeri@users.noreply.github.com>

* Add delete_session method to Python SDK client

Co-authored-by: friggeri <106686+friggeri@users.noreply.github.com>

* Use RuntimeError for consistent exception handling in delete_session

Co-authored-by: friggeri <106686+friggeri@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: friggeri <106686+friggeri@users.noreply.github.com>
* Re-run uv lock

* Make the lint work

* fix(python): fix list_sessions and delete_session e2e tests

The tests were failing because:
1. Sessions only persist to disk after a message is sent
2. There's a brief delay before session files are written

Changes:
- Add send_and_wait() calls to persist sessions before listing
- Add small delay before list_sessions() to allow file sync

* Fix test
* Initial plan

* Add image support documentation to all SDK READMEs

Co-authored-by: friggeri <106686+friggeri@users.noreply.github.com>

* Update python/README.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: friggeri <106686+friggeri@users.noreply.github.com>
Co-authored-by: Adrien Friggeri <adrien@friggeri.net>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Bumps [githubnext/gh-aw](https://github.com/githubnext/gh-aw) from 0.36.0 to 0.37.1.
- [Release notes](https://github.com/githubnext/gh-aw/releases)
- [Changelog](https://github.com/githubnext/gh-aw/blob/main/CHANGELOG.md)
- [Commits](github/gh-aw@v0.36.0...v0.37.1)

---
updated-dependencies:
- dependency-name: githubnext/gh-aw
  dependency-version: 0.37.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Adding .NET to the devcontainer

* Update .devcontainer/devcontainer.json
Refactor get_weather function to use Pydantic for parameter validation.
LLM does not reliably pass the name of the city if the parameter description is not provided.
* Add uv sync as alternative installation option

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Adrien Friggeri <adrien@friggeri.net>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>
@harupy
harupy force-pushed the migrate-to-dependency-groups branch from d71c1be to c5792df Compare January 24, 2026 08:55
@harupy harupy closed this Jan 24, 2026
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.

5 participants