Skip to content

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

Merged
merged 2 commits into from
Jun 23, 2025
Merged

must be python3.10 for uv-seed #41695

merged 2 commits into from
Jun 23, 2025

Conversation

l0lawrence
Copy link
Member

@l0lawrence l0lawrence commented Jun 20, 2025

pinning to 3.10 for now for setuptools, and making default python -m so uv can run properly

@l0lawrence l0lawrence changed the title must by python3.10 for uv-seed must be python3.10 for uv-seed Jun 20, 2025
@l0lawrence l0lawrence marked this pull request as ready for review June 20, 2025 20:48
@Copilot Copilot AI review requested due to automatic review settings June 20, 2025 20:48
Copy link
Member

@scbedd scbedd left a 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?

@l0lawrence
Copy link
Member Author

l0lawrence commented Jun 20, 2025

/azp run python - appconfiguration - ci

Copy link
Contributor

@Copilot Copilot AI left a 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 uses python -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 plain pip.
# 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",

Copy link

No pipelines are associated with this pull request.

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@l0lawrence l0lawrence merged commit 48821ba into Azure:main Jun 23, 2025
36 checks passed
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.

2 participants