-
Notifications
You must be signed in to change notification settings - Fork 736
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ignore Cargo.lock for subfolders #1131
Conversation
The documentation is not available anymore as the PR was closed or merged. |
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.
Shouldn't we remove tokenizers/Cargo.lock
too ?
I think it already is right? I only see |
My bad ! |
Hi! I was just wondering why these lock files were removed? The NixOS build of tokenizers' python bindings uses the lock file to reproducibly fetch the rust dependencies: https://github.com/NixOS/nixpkgs/blob/eafd00c16a2113ca38017f63fd1b348384e422b4/pkgs/development/python-modules/tokenizers/default.nix#L72-L76. Without it we'd have to manually generate a lock file our self at each version bump, and that may be different than what's actually used in pypi.org. |
Because Cargo.lock within the bindings folders are constantly changing, leading to very noisy PRs. It's the same reason they weren't added in In any case, it shouldn't be committed in the library folder (since it's a library) but could be kept in the bindings. Ideally though it should be only present in the release branches which is not the case right now. |
Hmm, I ran into the same problem. It's hard to reproduce tokenizers correctly without a Cargo.lock file. I created an issue for this: #1226 |
No description provided.