-
Notifications
You must be signed in to change notification settings - Fork 1.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
Ship Cargo.lock in the source distribution #1508
Conversation
Alright, I'll reopen the PR over there, thanks @alamb! |
Hm, it looks like github actions hasn't been set up for that repo, so I'll leave this PR open for now. |
@@ -77,6 +77,9 @@ jobs: | |||
- name: Build Python package | |||
run: maturin build --release --no-sdist --strip | |||
|
|||
- name: Check that the lock file is up to date | |||
run: git diff --exit-code Cargo.lock |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you use --frozen
and --locked
per doc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, great idea. Thanks
after #1518 is merged please consider merging to that repo instead. thanks! |
Ok, thanks. I'll just proactively move it over |
Closing in favor of datafusion-contrib/datafusion-python#7 |
Which issue does this PR close?
It doesn't close an issue as far as I know.
Rationale for this change
Build systems like
nix
needCargo.lock
to build reproducible Rust packages.The
Cargo.lock
file is necessary to generate a hash for a crate's dependencies.Without the
What changes are included in this PR?
Cargo.lock
resulting from runningmaturin build
pyproject.toml
to ship theCargo.lock
in the source distributionAre there any user-facing changes?
No API changes.
Does user-facing mean only API changes?