-
Notifications
You must be signed in to change notification settings - Fork 40
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
Use uv for CI build and deploy on GitHub action and CircleCI #618
base: main
Are you sure you want to change the base?
Conversation
46dd0e2
to
0e95007
Compare
0e95007
to
4484a2a
Compare
@Czaki I got this running green when using uv. Going to look at further optimizing things. Saves a few minutes so far on this run. |
Do you want to port these changes to CircleCI workflow as well? |
Looks like circle may take some time: they just merged uv support: |
@psobolewskiPhD I got it to pass on CircleCI by installing uv into the image until the circle image with uv is released. |
Looks like it saves about a minute. Worth it I guess? |
I would say if it a minute is saved each run that it makes good sense if it runs 10x/day. |
@@ -21,24 +24,28 @@ jobs: | |||
- run: | |||
name: Install qt libs + xvfb | |||
command: sudo apt-get update && sudo apt-get install -y xvfb libegl1 libdbus-1-3 libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xinput0 libxcb-xfixes0 x11-utils | |||
# [TODO] Remove this step once uv is installed by default in the cimg/python:3.10 image |
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.
Does uv is available on more modern images (3.11 or 3.12)?
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.
The PR adding uv was merged into the image 3 days ago (thanks @psobolewskiPhD). Unfortunately, it has been over a month since the images have been updated on docker hub. There are a few other issues that may prevent quick release https://github.com/CircleCI-Public/cimg-python/issues so I think this is a reasonable approach until the release happens in the future.
Once this lands I will open a PR on |
Description
This PR improves observability and performance for GitHub action and CircleCI when building and deploying docs.
Pre-Doc build scripts
This PR:
GitHub Action
This PR:
CircleCI
This makes similar improvements using uv that was done in the GitHub action.