You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 040a744
Browse filesBrowse the repository at this point in the historyBrowse files
Migrate packaging, dependencies and CI to uv (#127)
Move packaging, dependencies and CI from setup.py and requirements*.txt to uv.
No SDK code changes.
Packaging:
- pyproject.toml holds the PEP 621 metadata and builds with uv_build. The
runtime requirements match main's requirements.txt line for line.
- uv.lock is committed. setup.py, requirements*.txt, MANIFEST.in, pytest.ini
and the Makefile are removed.
Dependencies:
- Dev tools are exact pins in a PEP 735 dev group. pydantic-v1 and
pydantic-v2 are conflicting groups, so both lanes are locked.
- tomli is added for Python 3.10 only.
- Includes Dependabot's dev updates from #129, #131, #132 and #133.
uv version:
- CI runs the uv pinned as uv==0.12.17 in the dev group; every setup-uv step
reads it from uv.lock. The release build job pins its own uv by version and
checksum.
- [tool.uv] required-version is a floor, and exclude-newer is 7 days.
CI and hooks:
- Test, compatibility, audit, pre-commit and schema-drift jobs run through
uv. Job names are unchanged.
- The publish workflow sets the version with `uv version` and builds with
`uv build`. Build, scan and publish are unchanged.
- Dependabot uses the uv ecosystem and ignores pydantic and uv_build, which
are updated by hand.
- A local uv-lock pre-commit hook runs `uv lock --check` with the uv on PATH.
Docs:
- New CONTRIBUTING.md. Model generation moves to scripts/generate_models.sh.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments