-
Notifications
You must be signed in to change notification settings - Fork 3k
must be python3.10 for uv-seed #41695
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tentative approval. Make certain pullrequest is totally green. Please queue up a fast internal build to exercise all of the environments. Maybe appconfiguration
or one like that?
/azp run python - appconfiguration - ci |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR ensures UV seed commands run with Python 3.10 and standardizes pip invocations in tox.
- Default
pip_impl
now usespython -m pip
. - Removed redundant
python -m
wrappers in install commands. - Pinned the MCP server’s Python requirement to 3.10 and adjusted the
tox-uv
version constraint.
Reviewed Changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.
File | Description |
---|---|
eng/tox/tox.ini | Switched default pip implementation to python -m pip and updated install verbs. |
eng/tools/mcp/azure-sdk-python-mcp/pyproject.toml | Changed requires-python to ==3.10.* and lowered tox-uv minimum version. |
Comments suppressed due to low confidence (3)
eng/tox/tox.ini:28
- Update this comment to reflect that the default pip implementation is now
python -m pip
instead of plainpip
.
# Set TOX_PIP_IMPL=uv pip to use uv pip, or TOX_PIP_IMPL=pip (default) to use standard pip
eng/tools/mcp/azure-sdk-python-mcp/pyproject.toml:6
- [nitpick] The
requires-python
constraint is pinned to==3.10.*
, which prevents patch-level Python 3.10 updates and disallows Python 3.11+. Consider using a range like>=3.10,<4.0
unless exact pinning is required.
requires-python = "==3.10.*"
eng/tools/mcp/azure-sdk-python-mcp/pyproject.toml:16
- [nitpick] The minimum version constraint for
tox-uv
was lowered from>=1.26.0
to>=1.25.0
. Please confirm that this change aligns with compatibility requirements and does not reintroduce fixes made in newer releases.
"tox-uv>=1.25.0",
No pipelines are associated with this pull request. |
Azure Pipelines successfully started running 1 pipeline(s). |
pinning to 3.10 for now for setuptools, and making default python -m so uv can run properly