chore: pin faststream <0.7, swap build backend, adopt cov gate, add CLAUDE.md#3
Merged
Merged
Conversation
…LAUDE.md Three independently-motivated changes bundled per the migration design (planning/specs/2026-06-04-faststream-0.7-migration-design.md): 1. Tighten the faststream dependency from "faststream>=0.5,<1" to "faststream>=0.5,<0.7". Guards against the silent pull of 0.7 the previous <1 bound allowed. Companion PR (chore/faststream-0.7-migration) bumps to >=0.7,<0.8 and drops <0.7 support entirely. 2. Swap build backend from hatchling to uv_build. Matches the toolchain used across the modern-python sister projects. 3. Adopt --cov-fail-under=100 in pytest addopts. Hardens the coverage gate before the migration PR disturbs anything. Also creates CLAUDE.md with the standard ## Workflow section so future AI sessions on this repo get the same brief as the sister projects. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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
Three bundled-but-independent changes preparing for the FastStream 0.7
migration (companion PR will bump to >=0.7,<0.8):
faststream>=0.5,<1→faststream>=0.5,<0.7. Guardsagainst the silent pull of 0.7 the previous loose bound allowed.
hatchling→uv_build>=0.11,<1.0. Aligns withthe modern-python sister projects' toolchain.
--cov-fail-under=100in pytest. Hardens the coverage gatebefore the migration PR.
CLAUDE.mdwith the standard## Workflowsection.Design spec:
planning/specs/2026-06-04-faststream-0.7-migration-design.md(landed on main in a prior commit).
Test plan
just lintclean on CI.just testgreen at 100% coverage on CI.uv buildproduces a valid wheel locally (sanity check for thenew backend).
uv syncwalksfaststreamback to a <0.7 release.🤖 Generated with Claude Code