Skip to content

chore: upgrade direct Python dependencies and adopt Copilot SDK 1.x - #37

Merged
derf974 merged 8 commits into
mainfrom
copilot/montes-de-version
Sep 10, 2026
Merged

derf974 merged 8 commits into
mainfrom
copilot/montes-de-version

Conversation

Copilot AI commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

This PR updates the project’s direct Python dependencies on the branch and aligns the integration with the current github-copilot-sdk 1.x API. It also brings the repository metadata, examples, and test surface into line with the upgraded toolchain so PR workflows can evaluate the branch consistently.

  • Dependency upgrades

    • Bump direct runtime dependencies:
      • github-copilot-sdk → 1.0.13
      • langchain-core → >=1.6.2
      • pydantic → >=2.13.5
    • Bump direct dev constraints and refresh the lockfile:
      • langchain → >=1.4.0
      • langchain-tests → >=1.1.9
      • pytest / pytest-asyncio
      • black / ruff
  • Copilot SDK 1.x compatibility

    • Replace legacy client bootstrap wiring with the 1.x runtime connection API.
    • Preserve the existing public cli_url / cli_path model options while mapping them to RuntimeConnection.
  • Test and compatibility alignment

    • Update unit tests to assert the new connection types used by the SDK.
    • Correct the invalid model override value in the standard test configuration.
    • Reformat touched files to match the current formatter behavior.
  • Docs and repo metadata

    • Add explicit Black target version config for Python 3.13.
    • Refresh testing/version pin notes to match the upgraded dependency set.
    • Keep examples aligned with the formatter/linter expectations after the toolchain bump.
from copilot import CopilotClient
from copilot.client import RuntimeConnection

client = CopilotClient(
    connection=RuntimeConnection.for_uri("http://localhost:1234")
)

Copilot AI and others added 3 commits September 10, 2026 19:15
Co-authored-by: derf974 <9058861+derf974@users.noreply.github.com>
Co-authored-by: derf974 <9058861+derf974@users.noreply.github.com>
Co-authored-by: derf974 <9058861+derf974@users.noreply.github.com>
@derf974 derf974 changed the title Upgrade direct Python dependencies chore: upgrade direct Python dependencies Sep 10, 2026
Copilot AI and others added 2 commits September 10, 2026 19:21
Co-authored-by: derf974 <9058861+derf974@users.noreply.github.com>
Co-authored-by: derf974 <9058861+derf974@users.noreply.github.com>
Copilot AI changed the title chore: upgrade direct Python dependencies chore: upgrade direct Python dependencies and adopt Copilot SDK 1.x Sep 10, 2026
Copilot AI requested a review from derf974 September 10, 2026 19:23
@derf974
derf974 marked this pull request as ready for review September 10, 2026 19:30
derf974 and others added 2 commits September 10, 2026 22:03
Avoid awaiting non-awaitable callback results from run managers during streaming and add a regression test for sync callback managers.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…tream

Co-authored-by: derf974 <9058861+derf974@users.noreply.github.com>
@derf974
derf974 merged commit a352515 into main Sep 10, 2026
2 checks 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.

2 participants