Skip to content

Review/stories 1 1 and 1 2 patches#2

Merged
lesnik512 merged 2 commits into
mainfrom
review/stories-1-1-and-1-2-patches
May 13, 2026
Merged

Review/stories 1 1 and 1 2 patches#2
lesnik512 merged 2 commits into
mainfrom
review/stories-1-1-and-1-2-patches

Conversation

@lesnik512
Copy link
Copy Markdown
Member

No description provided.

lesnik512 and others added 2 commits May 13, 2026 16:22
- CHANGELOG: httpx2 constraint matches pyproject (>=2.0.0,<3.0); fix
  broken [Unreleased] compare link (HEAD...HEAD → commits/main).
- pyproject: refactor [all] extra to self-reference siblings to
  prevent version drift.
- README: document the [niquests] extra alongside [msgspec]/[otel]/[all].
- CI: drop duplicate --cov flag (addopts already injects --cov source).
- Story 1.1 doc: fix File List header miscount (15 → 14); status → done.
- New docs/deferred-work.md: log items intentionally deferred from this
  review (fork-PR codecov, just publish env-var guards, uv_build window,
  3.14 wheel risk, unpinned ruff/ty, no [test] extra).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- response.py: Response.text falls back to UTF-8 when the declared
  charset is unknown (wraps decode in try/except LookupError); class
  docstring now documents `elapsed` as wall-clock seconds.
- tests: add quote-stripping coverage (charset="latin-1" / charset='latin-1'),
  add UTF-8 fallback test for unknown charset, and tighten equality
  tests with !=-against-variants for both Request and Response.
- Story 1.2 doc: AC8 typo ("frozen on all 4 dataclasses" → "all 5");
  status → done.
- docs/deferred-work.md: log 10 items deferred from the review (charset
  parser robustness, header/URL/with_* validation, Timeout/Limits guards,
  multi-valued params, streaming bodies, json() charset, @Final).

Post-patch: just lint-ci clean, 27 tests pass (+3 new), 100% coverage
retained.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@lesnik512 lesnik512 self-assigned this May 13, 2026
@lesnik512 lesnik512 merged commit 805fcd0 into main May 13, 2026
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