Skip to content

Pre-compile requirements.txt with uv pip compile#516

Merged
danielhollas merged 2 commits intomainfrom
lock-requirements
Jan 28, 2025
Merged

Pre-compile requirements.txt with uv pip compile#516
danielhollas merged 2 commits intomainfrom
lock-requirements

Conversation

@danielhollas
Copy link
Contributor

@danielhollas danielhollas commented Jan 22, 2025

To make our CI more robust, we pin all the Python dependencies to a specific version, using uv pip compile requirements.in > requirements.txt.

We take advantage of uv's universal resolver so the generated requirements.txt file should work for all python versions >3.9 and all platforms (linux, mac, windows).

Copy link
Member

@edan-bainglass edan-bainglass left a comment

Choose a reason for hiding this comment

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

LGTM!

@danielhollas danielhollas merged commit 0639149 into main Jan 28, 2025
16 checks passed
@danielhollas danielhollas deleted the lock-requirements branch January 28, 2025 18:55
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