Skip to content

CI: Use uv to manage Python environments - #114

Merged
pniedzielski merged 1 commit into
bloomberg:mainfrom
pniedzielski:ci/uv
Oct 19, 2026
Merged

pniedzielski merged 1 commit into
bloomberg:mainfrom
pniedzielski:ci/uv

Conversation

@pniedzielski

Copy link
Copy Markdown
Contributor

This patch replaces the manual Python and pip munging that we do in our build CI, using actions/setup-python, python3 -m venv, and pip, with the newer uv command. This has a few benefits:

  1. We no longer have to manage the venv location ourselves. uv handles this for us.

  2. We aren’t limited to the Python versions that are available in Ubuntu at any particular version. With uv, we can continue to support older versions of Python while we support newer versions.

  3. Familiarity. It seems like the Python community is pretty quickly switching over to using uv to manage interpreter versions and dependencies.

This patch replaces the manual Python and pip munging that we do in our
build CI, using `actions/setup-python`, `python3 -m venv`, and `pip`,
with the newer `uv` command.  This has a few benefits:

  1. We no longer have to manage the venv location ourselves.  `uv`
     handles this for us.

  2. We aren’t limited to the Python versions that are available in
     Ubuntu at any particular version.  With `uv`, we can continue to
     support older versions of Python while we support newer versions.

  3. Familiarity.  It seems like the Python community is pretty quickly
     switching over to using `uv` to manage interpreter versions and
     dependencies.

Signed-off-by: Patrick M. Niedzielski <pniedzielski@bloomberg.net>
@pniedzielski
pniedzielski requested a review from a team as a code owner October 16, 2026 19:10
@pniedzielski pniedzielski added the skip news No news entry is required label Oct 16, 2026
@pniedzielski

Copy link
Copy Markdown
Contributor Author

This should make it easier for us to deal with the current CI errors in #101.

@pniedzielski
pniedzielski merged commit 2e0151c into bloomberg:main Oct 19, 2026
32 checks passed
@pniedzielski
pniedzielski deleted the ci/uv branch October 19, 2026 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news No news entry is required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants