-
Notifications
You must be signed in to change notification settings - Fork 949
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 sync in a Docker container doesn't copy the project #7126
Comments
My first guess is that this is because you're doing something weird with your |
this is the default pyproject that uv created + build-system. It's all in the repo: https://github.com/hynek/uv-reproducer/blob/main/pyproject.toml
|
By weird, I meant that you were copying it into a |
FWIW, switching
or
doesn't help either. Interestingly, the former adds a
and flit creates a I've also just noticed that the These all look like editable installs to me. To be clear: adding HTH when this becomes a priority. The workaround is easy enough. |
🤦 I didn't scroll down and see that there's a second layer. It looks like you're not copying the source code into the final image layer? That's why it doesn't work, since we're doing an editable install. The We're interested in adding non-editable install support (#5792) but I don't think this is intended to work as written today. |
heh yeah that’s what I’ve been trying to say in discord already but my English is still limited 🙈 given there’s #5792 and it was all just a miscommunication, I guess we can close this? |
Yeah haha let's track there. Sorry. |
Sorry for the opaque title, but since you mentioned on Discord you couldn't reproduce, so I'm just describing what I'm seeing.
I've created a minimal repro for you at https://github.com/hynek/uv-reproducer – you can start the build by running
just
if you've installed it.Due to the
/app/bin/python -Ic 'import tc'
at the end, the build fails.The ls on the line before looks like this:
So the deps sync works, but from the app pkg there's just dist-info.
If I replace:
by
it works.
The text was updated successfully, but these errors were encountered: