Skip to content

check system uv for python subcommand - #1213

Merged
kevinAlbs merged 2 commits into
mongodb:masterfrom
kevinAlbs:fix-uv-min-version
Aug 4, 2026
Merged

check system uv for python subcommand#1213
kevinAlbs merged 2 commits into
mongodb:masterfrom
kevinAlbs:fix-uv-min-version

Conversation

@kevinAlbs

@kevinAlbs kevinAlbs commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

This PR checks that the system uv supports the python sub-command.

Intended to fix tasks on distros with a too-old uv. Example:

[2026/08/04 14:08:01.555] error: unrecognized subcommand 'python'
[2026/08/04 14:08:01.555] Usage: uv [OPTIONS] <COMMAND>

The uv python subcommand was added in uv 0.3.0.

@kevinAlbs
kevinAlbs force-pushed the fix-uv-min-version branch from ea393cd to 329bc57 Compare August 4, 2026 19:36
@kevinAlbs kevinAlbs changed the title require pinned version for system uv check system uv for python subcommand Aug 4, 2026
@kevinAlbs
kevinAlbs requested a review from eramongodb August 4, 2026 19:54
@kevinAlbs
kevinAlbs marked this pull request as ready for review August 4, 2026 19:54
@kevinAlbs
kevinAlbs requested a review from a team as a code owner August 4, 2026 19:54

@eramongodb eramongodb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest adding reference to a ticket to remove this workaround once the deprecated macos-11 distro is dropped from libmongocrypt's EVG config.

@kevinAlbs

Copy link
Copy Markdown
Collaborator Author

Suggest adding reference to a ticket

Good idea. Filed MONGOCRYPT-961 and noted in comment.

@kevinAlbs
kevinAlbs merged commit e35d1d0 into mongodb:master Aug 4, 2026
3 of 4 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