Skip to content

uv: prerelease if-necessary, matching python-commerce - #98

Merged
vvillait88 merged 1 commit into
mainfrom
uv-prerelease-if-necessary
Oct 3, 2026
Merged

vvillait88 merged 1 commit into
mainfrom
uv-prerelease-if-necessary

Conversation

@vvillait88

Copy link
Copy Markdown
Contributor

Summary

Replaces prerelease = "disallow" with prerelease = "if-necessary", matching python-commerce (agentscore/python-commerce#149). A blanket disallow also 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-necessary admits 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 pins web3<8; nothing in this tree needs one).

This tree relocks with no changes and no prereleases.

Type of change

  • Bug fix (no breaking change)
  • New feature (no breaking change)
  • Breaking change (existing callers must update)
  • Docs, tests, or internal maintenance only

Public API

None. [tool.uv] is development-only, so no release.

Test plan

uv lock --upgrade reports no changes, no a/b/rc version in uv.lock, and uv run pytest tests passes (177 passed, 2 skipped).

Checklist

  • Tests cover the new behavior, and the suite passes locally
  • Lint, format, and type checks pass
  • Docs and README examples updated if the public surface changed (no public surface changed)
  • No secrets, credentials, or personal data in the diff or the tests

@vvillait88
vvillait88 merged commit dc086e0 into main Oct 3, 2026
12 checks passed
@vvillait88
vvillait88 deleted the uv-prerelease-if-necessary branch October 3, 2026 21:22
@vvillait88 vvillait88 mentioned this pull request Oct 4, 2026
5 of 8 tasks
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
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