Skip to content
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

update entrypoint.sh to use uv for EXTRA_PIP_PACKAGES #16291

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

zzstoatzz
Copy link
Collaborator

@zzstoatzz zzstoatzz commented Dec 9, 2024

I am thinking that this might require an integration test to make sure it plays nicely python paths during standard usage

» docker run -p 4200:4200 -e EXTRA_PIP_PACKAGES=pandas --rm uv-test -- prefect server start --host 0.0.0.0
+uv pip install pandas
Using Python 3.9.21 environment at: /usr/local
Resolved 6 packages in 229ms
Prepared 2 packages in 1.48s
Installed 2 packages in 22ms
 + numpy==2.0.2
 + pandas==2.2.3

 ___ ___ ___ ___ ___ ___ _____
| _ \ _ \ __| __| __/ __|_   _|
|  _/   / _|| _|| _| (__  | |
|_| |_|_\___|_| |___\___| |_|

Configure Prefect to communicate with the server with:

    prefect config set PREFECT_API_URL=http://0.0.0.0:4200/api

View the API reference documentation at http://0.0.0.0:4200/docs

Check out the dashboard at http://0.0.0.0:4200

@zzstoatzz zzstoatzz added development Tech debt, refactors, CI, tests, and other related work. performance Related to an optimization or performance improvement labels Dec 9, 2024
@zzstoatzz zzstoatzz self-assigned this Dec 9, 2024
Copy link

codspeed-hq bot commented Dec 9, 2024

CodSpeed Performance Report

Merging #16291 will not alter performance

Comparing uv-extra-pip-packages (13d2f89) with main (404090b)

Summary

✅ 3 untouched benchmarks

@zzstoatzz zzstoatzz force-pushed the uv-extra-pip-packages branch from 0256505 to 13d2f89 Compare December 11, 2024 01:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development Tech debt, refactors, CI, tests, and other related work. performance Related to an optimization or performance improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant