HyukjinKwon opened a new pull request, #783:
URL: https://github.com/apache/spark-connect-rust/pull/783

   ### What changes were proposed in this pull request?
   
   A follow-up of #770, which removed `thiserror` from 
`apache-spark-connect-core`. `apache-spark-connect` does not use it either: no 
file of the repository other than the manifests names `thiserror`, and no error 
derives with it. So:
   - `crates/spark-connect/Cargo.toml` no longer depends on it;
   - the workspace's `[workspace.dependencies]` no longer lists it, as no 
member uses it;
   - `LICENSE-binary` no longer lists `thiserror 2.0.18`, regenerated with 
`scripts/gen_binary_licenses.py`, as the wheels no longer link it (`cargo tree 
-p pyspark-rs -i thiserror` matches no package, with or without 
`--all-features`).
   
   `Cargo.lock` loses only that dependency edge: `object_store` and `quinn`, 
which are not linked into the wheels, still depend on `thiserror`.
   
   ### Why are the changes needed?
   
   Cargo 1.100's `unused_dependencies` lint, of the toolchain the lint job 
pins, warns about it on every build of the crate:
   
   ```
   warning: unused dependency `thiserror`
     --> crates/spark-connect/Cargo.toml:25:1
   ```
   
   #770 checked `-p apache-spark-connect-core` only, so it did not see this 
one. The published crate also pulls in a dependency it does not use.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   - `cargo +1.100.0 check --workspace --all-targets` builds, and the warning 
is gone. The two warnings left are those of `examples/wasm-udfs`, the false 
positive that #770 describes and its `[lints]`.
   - `python3 scripts/gen_binary_licenses.py --check` passes.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Opus 5.5
   
   This pull request and its description were written by Isaac.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to