Make test dependencies required instead of optional #1551
+16
−3
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
This PR adds
rich,typer,python-dotenv, andwebsocketsto the required dev dependencies.Motivation and Context
Previously, these dependencies were only available when specific optional features were enabled (e.g.,
[cli],[sse]). This meant runninguv syncwithout--all-extraswouldn't install them, which was problematic because:uv syncwithout--all-extras--all-extrasflag had to be remembered and used consistently across development workflows--all-extrasto function properlyThis change makes development more ergonomic by ensuring all dependencies needed for testing are always present.
How Has This Been Tested?
uv syncnow includes rich, typer, python-dotenv, and websockets--all-extras) still work correctlyBreaking Changes
None - this only affects development workflow, not the published package.
Types of changes
Checklist
Additional context
The main benefit is that
uv syncnow "just works" without needing to remember--all-extras. The CI workflow has been updated to remove the--all-extrasflag since it's no longer needed.