-
-
Notifications
You must be signed in to change notification settings - Fork 108
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
The watchfiles tarball released on PyPi do not include Cargo.lock
#192
Comments
Interesting, I would have thought it should be included, but I feel like there's a specific reason it's not. See PyO3/maturin#1153, it seems that Even if I add @messense what do you think? |
I guess cargo excludes [tool.maturin]
sdist-include = ["Cargo.lock"] |
Thanks @messense, what do you think about updating maturin to include it by default? |
Include it by default should be easy, there is a question though, do we need to provide ways to opt-out of the default? |
Humm, I can't imagine why you wouldn't want a |
Hello there 👋
Is there any particular reason why the
Cargo.lock
file is not included in the tarball released on PyPI? Having it would help buildwatchfiles
with Nix. Otherwise, one has to hardcode and update cargo hashes, which can be a burden to maintain. I saw some projects include it (for instance: cryptography-38.0.1.tar.gz undersrc/rust
). I do not know the playbook for Python-Rust projects, and I'm genuinely curious.More context: nix-community/poetry2nix#731
Have a good one!
The text was updated successfully, but these errors were encountered: