Skip to content

fix(ci): pin Python version in uv sync commands#17

Merged
aquemy merged 1 commit intomainfrom
fix/ci-python-version-pinning
Dec 26, 2025
Merged

fix(ci): pin Python version in uv sync commands#17
aquemy merged 1 commit intomainfrom
fix/ci-python-version-pinning

Conversation

@aquemy
Copy link
Copy Markdown
Member

@aquemy aquemy commented Dec 26, 2025

Summary

  • Add --python flag to all uv sync commands in setup-python-uv action
  • Ensures virtual environment uses explicitly installed Python version
  • Fixes build failures when uv auto-detects Python 3.14 (pydantic-core incompatible)

Problem

The validate-docs job was failing because:

  1. uv python install 3.13 installs Python 3.13
  2. uv sync --group doc was using Python 3.14 (auto-detected by uv)
  3. pydantic-core doesn't have pre-built wheels for Python 3.14
  4. Source build fails: PyO3 max supported version is 3.13

Test plan

  • Verify PR validation workflow passes
  • Verify docs build succeeds with Python 3.13

- Add --python flag to all uv sync commands in setup-python-uv action
- Ensures virtual environment uses explicitly installed Python version
- Fixes build failures when uv auto-detects Python 3.14 (pydantic-core incompatible)
@aquemy aquemy merged commit ade7f6a into main Dec 26, 2025
3 of 4 checks passed
@aquemy aquemy deleted the fix/ci-python-version-pinning branch December 26, 2025 11:41
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