uv: prerelease if-necessary, matching python-commerce - #98
Merged
Merged
Conversation
vvillait88
added a commit
that referenced
this pull request
Oct 4, 2026
## Summary Releases 2.7.1, carrying everything merged since 2.7.0: - deprecation notes on `refresh` and on the `create_session` `address` and `operator_token` arguments, which the API ignores (#101) - `X-Quota-Reset` documented as a UTC date rather than a timestamp (#100) - docstring and README cleanup (#99) - the uv prerelease rule matching python-commerce (#98) and a dependency sweep, uv 0.12.23 (#97) Worked with: Varun. Out of scope: no runtime behavior changes; the deprecated options keep working as before. ## Type of change - [ ] Bug fix (no breaking change) - [ ] New feature (no breaking change) - [ ] Breaking change (existing callers must update) - [x] Docs, tests, or internal maintenance only ## Public API none. The deprecations are docstring notes only; signatures and wire formats are unchanged. ## Test plan `ruff check`, `ruff format --check`, `ty check` and `pytest` (177 passed, 2 skipped, 99.82% coverage) pass locally on this branch. ## Checklist - [x] Tests cover the new behavior, and the suite passes locally - [x] Lint, format, and type checks pass - [x] Docs and README examples updated if the public surface changed - [x] No secrets, credentials, or personal data in the diff or the tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replaces
prerelease = "disallow"withprerelease = "if-necessary", matching python-commerce (agentscore/python-commerce#149). A blanketdisallowalso refuses packages that have never published a stable version, and uv then silently keeps an older version of whatever needs them; that held fastapi back in python-commerce and core's store and failed Dependabot outright.if-necessaryadmits a prerelease only where no stable release exists, and any package that reaches for a beta it does not need gets its own constraint (python-commerce pinsweb3<8; nothing in this tree needs one).This tree relocks with no changes and no prereleases.
Type of change
Public API
None.
[tool.uv]is development-only, so no release.Test plan
uv lock --upgradereports no changes, noa/b/rcversion inuv.lock, anduv run pytest testspasses (177 passed, 2 skipped).Checklist