-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Docker build with workspace package #7936
Comments
It looks like that version of Dracopy does not define Hence, when we attempt to build that project in an isolated environment we see the error:
Is there a newer version of that package that properly declares its dependencies? If not you'll need to disable build isolation and manually install its build dependencies beforehand (i.e. See more details about build isolation https://docs.astral.sh/uv/pip/compatibility/#pep-517-build-isolation (and #2252) |
Weirdly enough, this seems to be an issue of trying to build the image on an M1 Mac vs. on a Linux machine. DracoPy doesn't properly pull it's pre-built wheel when I attempt to build the image on Mac and tries to build from source (where the error is happening), but it works just fine when I build the image on my Ubuntu machine, with the same base image used on both. Thanks so much for your help and quick response, this is good to know for the future! |
Sam happens to me but with library
What blow my mind is that I can build perfectly fine in x86 linux OS 🙃 |
Thanks for such an amazing tool in
uv
, it has been an awesome addition in my work as an analyst in academic research. I'm trying to build out a docker image of the workspace using the docker guide in the docs, but I'm running into the following error while trying to build the image.My workspace looks like this:
My root
pyproject.toml
:and finally my Dockerfile
Any ideas on a solution would be great. Thanks!
The text was updated successfully, but these errors were encountered: