-
Notifications
You must be signed in to change notification settings - Fork 28
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
feat: Use uv package manager #988
base: main
Are you sure you want to change the base?
Conversation
@@ -57,6 +56,7 @@ FROM self-hosted as self-hosted-runtime | |||
USER root | |||
ARG EXTERNAL_DEPS_FOLDER=./external_deps | |||
RUN mkdir $EXTERNAL_DEPS_FOLDER | |||
# TODO - replace the pip install here? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO - look into the build for self-hosted?
7022337
to
eac6df1
Compare
description = "Codecov's API layer" | ||
readme = "README.md" | ||
requires-python = ">=3.12" | ||
dependencies = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO - these are ported over to align with existing requirements.in. Go through and pin these to max versions in existing requirements.txt so not introducing any regressions by using an old version of deps
fix celery
eac6df1
to
0bd1c5f
Compare
9a67ab5
to
d6067c6
Compare
Update
api
to use a more modern package manager (uv
). This will let us more easily convert to monolith in the future.Shared is getting converted in here: codecov/shared#423
Worker is getting converted in here: codecov/worker#896
Notable changes
requirements.in
1:1 into new pyproject.toml to use uv-tools for build instead of pip-compile. Any deps that appeared to be used for dev only were added todev-dependencies
. The new lockfile will beuv.lock
sentry-sdk[celery]
to fix its build error. As long as we useCeleryIntegration
, can remove the custom wrapping with_wrap_async
Closes codecov/engineering-team#2779