Skip to content

build: derive Python version from Cargo - #21

Merged
qartik merged 1 commit into
mainfrom
codex-sync-package-versions
Sep 24, 2026
Merged

qartik merged 1 commit into
mainfrom
codex-sync-package-versions

Conversation

@qartik

@qartik qartik commented Sep 24, 2026

Copy link
Copy Markdown
Member

Summary

  • make Cargo.toml the single source of truth for the package version
  • let Maturin derive the Python distribution version through PEP 621 dynamic metadata
  • keep a test guard that rejects a second explicit Python version
  • update the generated uv lock metadata for the dynamic root package

Validation

  • cargo test --locked: 17 unit tests and 1 doctest passed
  • uv lock --check
  • uv run src/scripts/ci_checks.sh: Clippy, formatting, ty, Rust tests, and 38 Python tests passed
  • uv build --sdist --wheel produced qir_formatter-0.3.0.tar.gz and qir_formatter-0.3.0-cp310-abi3-macosx_11_0_arm64.whl
  • repository hooks passed

This PR only synchronizes Rust and Python version metadata. It does not add automatic version bumping or release creation.

@qartik
qartik marked this pull request as ready for review September 24, 2026 15:55
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-24T15:58:11.876710Z c2f11a2 Draft marked ready
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@qartik
qartik merged commit 50a826e into main Sep 24, 2026
2 checks passed
@qartik
qartik deleted the codex-sync-package-versions branch September 24, 2026 16:11
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