Skip to content

[setup-lang] Install uv when running for python#169

Merged
erayaydin merged 1 commit into
mainfrom
chore/install-uv-for-python
Jul 1, 2026
Merged

[setup-lang] Install uv when running for python#169
erayaydin merged 1 commit into
mainfrom
chore/install-uv-for-python

Conversation

@erayaydin

Copy link
Copy Markdown
Member

Summary

  • Install uv with astral-sh/setup-uv action for Python projects in the setup-lang action

Note

uv is installed unconditionally for all Python projects without an opt-in input or uv.lock check. setup-uv is fast and harmless if unused, and any Python SDK adopting uv would need it. Adding an input just creates one more thing every caller has to remember to set.

@erayaydin
erayaydin requested a review from Copilot July 1, 2026 16:58
@erayaydin erayaydin self-assigned this Jul 1, 2026
@changeset-bot

changeset-bot Bot commented Jul 1, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 44048a2

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

⚠️ This PR doesn't contain any changesets. If there are user-facing changes, don't forget to run:

pnpm exec changeset

to create a changeset.

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

This PR will create a minor release 🚀

⚠️ This is a test run of the release-notes-comment action that can be found in .github/workflows/analyze-commits.yml

1.5.0 (2026-07-01)

Features

  • bump third-party actions for setup-lang (27c5afe)
  • conventional-changelog-dx-team: convert ESM (80f5663)
  • setup-lang: install uv when run for python (44048a2)

Bug Fixes

  • add default and required to major version (7062145)
  • add permissions for the move workflow (be71e80)
  • conventional-changelog-dx-team: add exports (33b55b0)
  • peel annotated tags and quote inputs (823dfcb)
  • use fully ref in reachability check (76b027c)
  • use merge-base for main reachability check (fde94d0)

Copilot AI 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.

Pull request overview

This PR updates the internal setup-lang composite GitHub Action to ensure uv is installed whenever the action is used for Python projects, enabling Python repositories to adopt uv without additional workflow changes.

Changes:

  • Add an Install uv step gated on inputs.language == 'python' using astral-sh/setup-uv (pinned to a commit SHA).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@erayaydin
erayaydin marked this pull request as ready for review July 1, 2026 17:00
@erayaydin
erayaydin requested a review from a team as a code owner July 1, 2026 17:00
@erayaydin
erayaydin merged commit d424f7e into main Jul 1, 2026
13 of 14 checks passed
@erayaydin
erayaydin deleted the chore/install-uv-for-python branch July 1, 2026 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants