Repository navigation
build: dev deps mandatory via PEP 735 dependency-group - #59
Merged
Merged
Conversation
uv sync without flags now installs the full test toolbelt (aioresponses, pytest, syrupy, hypothesis, mypy, ruff ...). Previously the dev set lived only in [project.optional-dependencies] dev and required --all-extras — fresh clones silently missed the `snapshot` fixture from syrupy and test_cli_snapshots.py would error. - Add [dependency-groups] dev mirroring the extras list; uv auto- installs it so contributors need not remember --all-extras. - Keep [project.optional-dependencies] dev for the pip CI matrix (pip install ".[dev]"), tightened the syrupy floor to >=6.0 to match the version CI has been running since PR #55. - README.md and docs/development.md drop --all-extras from the setup snippet; docs call out the test-mutation opt-in flag. - uv.lock regenerated. CI (nightly.yml, tests.yml, mutation.yml) keeps --all-extras so test-mutation gets picked up where it is needed. Co-Authored-By: Claude Opus 4.7 <[email protected]> Claude-Session: https://claude.ai/code/session_01RgkYaQACLxezeceA1hrXQs
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
uv syncohne Flags installiert ab sofort die komplette Test-Toolkette (aioresponses, pytest, syrupy, hypothesis, mypy, ruff ...). Vorher saß dasdev-Set nur in[project.optional-dependencies]und brauchte--all-extras; frische Clones hatten diesnapshot-Fixture von syrupy nicht undtests/test_cli_snapshots.pylief infixture 'snapshot' not found.[dependency-groups] dev(PEP 735) spiegelt die Dev-Extras. uv liest die Default-Gruppe automatisch ein.[project.optional-dependencies] devbleibt stehen, damit der pip-Pfad intests.yml(pip install ".[dev]") weiterhin greift. syrupy-Floor dort auf>=6.0angehoben (passt zur Version, die seit PR test: snapshot tests for CLI output via syrupy #55 in CI läuft).README.mdunddocs/development.mdzeigen jetztuv syncstattuv sync --all-extras; die Docs weisen auf--extra test-mutationfür den Opt-in-Mutmut-Lauf hin.uv.lockneu gerendert.nightly.yml,tests.yml,mutation.yml) behalten--all-extras, damittest-mutationdort erreichbar bleibt, wo es gebraucht wird.Test plan
rm -rf .venv && uv syncinstalliert syrupy automatisch (+ syrupy==6.1.1)uv run pytest→ 547 passed, 34 skipped (Integration ohne Credentials)uv run ruff check→All checks passed!🤖 Generated with Claude Code
https://claude.ai/code/session_01RgkYaQACLxezeceA1hrXQs