Skip to content

chore: pin faststream <0.7, swap build backend, adopt cov gate, add CLAUDE.md#3

Merged
lesnik512 merged 1 commit into
mainfrom
chore/pin-faststream-pre-0.7
Jun 4, 2026
Merged

chore: pin faststream <0.7, swap build backend, adopt cov gate, add CLAUDE.md#3
lesnik512 merged 1 commit into
mainfrom
chore/pin-faststream-pre-0.7

Conversation

@lesnik512

@lesnik512 lesnik512 commented Jun 4, 2026

Copy link
Copy Markdown
Member

Summary

Three bundled-but-independent changes preparing for the FastStream 0.7
migration (companion PR will bump to >=0.7,<0.8):

  • Tighten faststream>=0.5,<1faststream>=0.5,<0.7. Guards
    against the silent pull of 0.7 the previous loose bound allowed.
  • Swap build backend hatchlinguv_build>=0.11,<1.0. Aligns with
    the modern-python sister projects' toolchain.
  • Adopt --cov-fail-under=100 in pytest. Hardens the coverage gate
    before the migration PR.
  • Add CLAUDE.md with the standard ## Workflow section.

Design spec: planning/specs/2026-06-04-faststream-0.7-migration-design.md
(landed on main in a prior commit).

Test plan

  • just lint clean on CI.
  • just test green at 100% coverage on CI.
  • uv build produces a valid wheel locally (sanity check for the
    new backend).
  • Local uv sync walks faststream back to a <0.7 release.

🤖 Generated with Claude Code

…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>
@lesnik512 lesnik512 self-assigned this Jun 4, 2026
@lesnik512 lesnik512 merged commit 14ad17b into main Jun 4, 2026
6 checks passed
@lesnik512 lesnik512 deleted the chore/pin-faststream-pre-0.7 branch June 4, 2026 06:32
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