Skip to content

test(packaging): keep exact uv_build pin contract upgrade-safe - #167

Merged
seonghobae merged 1 commit into
mainfrom
fix/packaging-build-backend-pin-contract
Aug 12, 2026
Merged

test(packaging): keep exact uv_build pin contract upgrade-safe#167
seonghobae merged 1 commit into
mainfrom
fix/packaging-build-backend-pin-contract

Conversation

@seonghobae

@seonghobae seonghobae commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Repository-owned CI defect exposed by #163

Dependabot PR #163 updates the exact uv_build pin from 0.12.1 to 0.12.3, but tests/test_packaging_metadata.py hard-coded the old version. Exact-head CI therefore installs successfully and then fails one repository-owned assertion despite the source retaining an exact uv_build==X.Y.Z pin.

This PR starts from protected main d4c54f4cabea289b48ad6050e52d6a86d284828b and changes only that contract test. It keeps the reproducibility requirement strict by requiring one exact semantic-version pin (uv_build==X.Y.Z) and explicitly rejecting range-based uv_build>=... requirements, while leaving the actual version authority in pyproject.toml where dependency update tooling can change it deliberately.

No production code, dependency version, lockfile, provider behavior, schema, credential, workflow, release authority, or protected-branch policy changes. This is independent of the Dependabot branch and avoids racing its pyproject.toml ownership.

Merge only on an unchanged exact head after current CI/security/central required workflows are terminal-success and review threads are clear.

Summary by CodeRabbit

  • 테스트
    • 패키징 메타데이터 검증을 강화했습니다.
    • uv_build 버전이 정확한 X.Y.Z 형식으로 고정되었는지 확인하며, 버전 범위 지정은 계속 거부합니다.

@coderabbitai

coderabbitai Bot commented Aug 12, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: b88db669-b7cd-41dd-97ed-776927dff2f5

📥 Commits

Reviewing files that changed from the base of the PR and between d4c54f4 and 9353068.

📒 Files selected for processing (1)
  • tests/test_packaging_metadata.py

📝 Walkthrough

Walkthrough

패키징 메타데이터 테스트가 uv_build 요구사항을 정규식으로 검증하도록 변경되었습니다. 정확한 X.Y.Z 버전 고정 형식은 허용하고, 범위 지정 형식은 계속 거부합니다.

Changes

패키징 메타데이터 검증

Layer / File(s) Summary
uv_build 버전 고정 검증
tests/test_packaging_metadata.py
테스트가 특정 버전 문자열 대신 X.Y.Z 형식을 정규식으로 검증합니다. uv_build>= 범위 지정 요구사항은 계속 거부합니다.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed 제목은 uv_build의 정확한 버전 고정 계약을 업그레이드에 안전하게 유지하는 변경 사항을 명확하게 요약합니다.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/packaging-build-backend-pin-contract

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@seonghobae
seonghobae merged commit 422a2aa into main Aug 12, 2026
35 checks passed
@seonghobae
seonghobae deleted the fix/packaging-build-backend-pin-contract branch August 12, 2026 18:02
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