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

uv install works now #155

Merged
merged 7 commits into from Apr 20, 2024
Merged

uv install works now #155

merged 7 commits into from Apr 20, 2024

Conversation

mermelstein
Copy link
Contributor

No description provided.

@matsonj
Copy link
Owner

matsonj commented Apr 19, 2024

@mermelstein not sure whats going on but invoking uv pip install isn’t working in the make build step.

uv pip install --system --no-cache -r requirements.txt
make: uv: No such file or directory
make: *** [Makefile:2: build] Error 127

@mermelstein
Copy link
Contributor Author

aight can take a look at that step in a bit

@matsonj
Copy link
Owner

matsonj commented Apr 19, 2024

Dropping two links in here from my tl this AM.

https://dev.to/kummerer94/multi-stage-docker-builds-for-pyton-projects-using-uv-223g (h/t @PedramNavid)

https://docs.github.com/en/actions/using-jobs/running-jobs-in-a-container (h/t @davidgasquez )

I think I can do the latter option which should make uv available in the CI env. However, I think the —system flag may require elevated permissions that the container doesn’t have. But we can address that when we get there.

@matsonj
Copy link
Owner

matsonj commented Apr 19, 2024

error: Failed to install: rpds_py-0.18.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (rpds-py==0.18.0)
  Caused by: failed to create directory `/usr/local/lib/python3.10/dist-packages/rpds_py-0.18.0.dist-info`
  Caused by: Permission denied (os error 13)
make: *** [Makefile:3: build] Error 2

yeah this is the issue I am seeing with uv pip install

@matsonj matsonj merged commit f612f6d into matsonj:master Apr 20, 2024
1 check failed
@matsonj
Copy link
Owner

matsonj commented Apr 20, 2024

the gh action to deploy isn't wokring, but bc of github perm issues i will fix that in another branch.

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.

None yet

2 participants