Skip to content

Conversation

yukuanj
Copy link
Contributor

@yukuanj yukuanj commented Oct 17, 2025

Motivation and Context

When I run the code on MacBook with the newest version uv 0.9.3 (83635a6c4 2025-10-15), uv gives the warning

warning: The tool.uv.dev-dependencies field (used in /Users/yukuan/Desktop/python-sdk/examples/servers/simple-auth/pyproject.toml, /Users/yukuan/Desktop/python-sdk/examples/servers/simple-pagination/pyproject.toml, /Users/yukuan/Desktop/python-sdk/examples/servers/simple-prompt/pyproject.toml, /Users/yukuan/Desktop/python-sdk/examples/servers/simple-resource/pyproject.toml, /Users/yukuan/Desktop/python-sdk/examples/servers/simple-streamablehttp/pyproject.toml, /Users/yukuan/Desktop/python-sdk/examples/servers/simple-streamablehttp-stateless/pyproject.toml, /Users/yukuan/Desktop/python-sdk/examples/servers/simple-tool/pyproject.toml) is deprecated and will be removed in a future release; use dependency-groups.dev instead

which says the current dev-dependencies field in multiple pyproject.toml files are deprecated. There is also related topic on the uv official website: https://docs.astral.sh/uv/concepts/projects/dependencies/#legacy-dev-dependencies

Therefore, I have replaced the deprecated dev-dependencies with dependency-groups, which addresses the warning.

How Has This Been Tested?

I have tested in MacOS 15.5 with uv 0.9.3 (83635a6c4 2025-10-15).
Also, I have cross checked with Windows 11 PC with earlier uv version uv 0.8.7 (10960bc13 2025-09-10).

Breaking Changes

No.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

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