-
Notifications
You must be signed in to change notification settings - Fork 3k
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.lock ends up in root of site-packages #3053
Comments
@mquinnfd , wdyt? |
So we've been doing this for a fair amount of time with ![]() This is mostly to give people a SBOM for what is in their built package specifically. This is easy to remove, but a couple of things I guess:
Perhaps we can tuck it into a different folder somewhere if necessary, it's certainly not mandatory if |
As I said, To observe a problem, one would have to find two misbehaved packages, let's say , pip install locust
cat .venv/site-packages/uv.lock # this is from locust
pip install grasshopper
cat .venv/site-packages/uv.lock # this is now from grasshopper
pip uninstall grasshopper
cat .venv/site-packages/uv.lock # fails, file is missing Other package managers, such as As for SBOM: lovely! But starting with what actually ships, a la #2438, in a standard format (e.g. SPDX/CycloneDX) rather than whatever-build-tool is in use would be a lot more accurate. But where to ship this is another story: while CPython has been shipping an spdx SBOM for a while, it's not included in the distribution, and I've yet to see this discussion evolve into a PEP. |
I see, thanks for the explanation --- Would this be an issue for both the It's an easy one for us to remove if @cyberw is OK with it, we can toss a standardised SBOM onto the backlog somewhere, I don't think we have people depending on finding the lock file with the tarball currently (p.s. interesting behaviour generally, I didn't expect that it the top level files would end up in the root of site packages 🤔) |
Merged that PR. A standardized SBOM somewhere would be nice, but I don't particularly need it, so no rush from my side (we didn't have anything like it before Poetry so apparently we could live for a long time without it :) |
Prerequisites
Description
Congrats on 2.32.10.
The
tar.gz
and.whl
now include auv.lock
which ends up in the root ofsite-packages
.This isn't a huge problem for
pip
and friends, which will happily overwrite files, but downstreams can get a little touchy about clobbering files.On conda-forge, I'm deleting it before install.
Command line
pip install locust
Locustfile contents
-
Python version
3.9
Locust version
2.32.10
Operating system
linux
The text was updated successfully, but these errors were encountered: