You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafusion.apache.org by gi...@apache.org on 2026/09/17 16:10:35 UTC

(datafusion) branch asf-site updated: Publish built docs triggered by 62f039f0d9583054b81d47b2f08b6728a14ac452

This is an automated email from the ASF dual-hosted git repository.

github-actions[bot] pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/datafusion.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new fb568feab0 Publish built docs triggered by 62f039f0d9583054b81d47b2f08b6728a14ac452
fb568feab0 is described below

commit fb568feab03cb10bca45dceb58d04d0352399de0
Author: github-actions[bot] <gi...@users.noreply.github.com>
AuthorDate: Thu Sep 17 16:10:29 2026 +0000

    Publish built docs triggered by 62f039f0d9583054b81d47b2f08b6728a14ac452
---
 .../1e336e540124589d1e27210fa4f805f6/rust_lint.sh    |  3 +++
 _sources/contributor-guide/testing.md.txt            | 20 ++++++++++++++++++++
 contributor-guide/testing.html                       | 17 +++++++++++++++++
 searchindex.js                                       |  2 +-
 4 files changed, 41 insertions(+), 1 deletion(-)

diff --git a/_downloads/1e336e540124589d1e27210fa4f805f6/rust_lint.sh b/_downloads/1e336e540124589d1e27210fa4f805f6/rust_lint.sh
index 5862302d25..7e17dea9db 100644
--- a/_downloads/1e336e540124589d1e27210fa4f805f6/rust_lint.sh
+++ b/_downloads/1e336e540124589d1e27210fa4f805f6/rust_lint.sh
@@ -113,6 +113,7 @@ ensure_tool "hawkeye" "cargo install hawkeye --locked"
 ensure_tool "typos" "cargo install typos-cli --locked"
 ensure_tool "lychee" "cargo install lychee --locked --version ${LYCHEE_VERSION}"
 ensure_tool "cargo-audit" "cargo install cargo-audit --locked"
+ensure_tool "cargo-machete" "cargo install cargo-machete --locked --version ^${CARGO_MACHETE_VERSION}"
 
 run_step() {
   local name="$1"
@@ -135,6 +136,8 @@ declare -a READONLY_STEPS=(
   "ci/scripts/check_asf_yaml_status_checks.py|false"
   "ci/scripts/markdown_link_check.sh|false"
   "ci/scripts/security_audit.sh|false"
+  "ci/scripts/check_circular_dependencies.sh|false"
+  "ci/scripts/check_unused_dependencies.sh|false"
   "ci/scripts/rust_docs.sh|false"
 )
 
diff --git a/_sources/contributor-guide/testing.md.txt b/_sources/contributor-guide/testing.md.txt
index e50e0942d0..a4332352fa 100644
--- a/_sources/contributor-guide/testing.md.txt
+++ b/_sources/contributor-guide/testing.md.txt
@@ -254,6 +254,26 @@ The audit fetches the RustSec advisory database. A new advisory or a different
 
 [cargo-audit]: https://github.com/rustsec/rustsec/blob/main/cargo-audit/README.md
 
+## Dependency Checks
+
+CI runs two dependency checks, and `./dev/rust_lint.sh` runs both:
+
+- `ci/scripts/check_circular_dependencies.sh` builds and runs [`dev/depcheck`],
+  which fails on dependency cycles between DataFusion crates.
+- `ci/scripts/check_unused_dependencies.sh` runs `cargo machete --with-metadata`
+  from the repository root. The lint suite installs [cargo-machete] with the
+  version in `ci/scripts/utils/tool_versions.sh` if it is missing.
+
+To run either check on its own:
+
+```shell
+./ci/scripts/check_circular_dependencies.sh
+./ci/scripts/check_unused_dependencies.sh
+```
+
+[`dev/depcheck`]: https://github.com/apache/datafusion/tree/main/dev/depcheck
+[cargo-machete]: https://github.com/bnjbvr/cargo-machete
+
 ## Benchmarks
 
 ### Criterion Benchmarks
diff --git a/contributor-guide/testing.html b/contributor-guide/testing.html
index 94ab572271..13cc4d7dfd 100644
--- a/contributor-guide/testing.html
+++ b/contributor-guide/testing.html
@@ -618,6 +618,22 @@ the advisory exceptions that CI uses. <code class="docutils literal notranslate"
 <p>The audit fetches the RustSec advisory database. A new advisory or a different
 <code class="docutils literal notranslate"><span class="pre">cargo-audit</span></code> version can change the result without any change to the repository.</p>
 </section>
+<section id="dependency-checks">
+<h2>Dependency Checks<a class="headerlink" href="#dependency-checks" title="Link to this heading">#</a></h2>
+<p>CI runs two dependency checks, and <code class="docutils literal notranslate"><span class="pre">./dev/rust_lint.sh</span></code> runs both:</p>
+<ul class="simple">
+<li><p><code class="docutils literal notranslate"><span class="pre">ci/scripts/check_circular_dependencies.sh</span></code> builds and runs <a class="reference external" href="https://github.com/apache/datafusion/tree/main/dev/depcheck"><code class="docutils literal notranslate"><span class="pre">dev/depcheck</span></code></a>,
+which fails on dependency cycles between DataFusion crates.</p></li>
+<li><p><code class="docutils literal notranslate"><span class="pre">ci/scripts/check_unused_dependencies.sh</span></code> runs <code class="docutils literal notranslate"><span class="pre">cargo</span> <span class="pre">machete</span> <span class="pre">--with-metadata</span></code>
+from the repository root. The lint suite installs <a class="reference external" href="https://github.com/bnjbvr/cargo-machete">cargo-machete</a> with the
+version in <code class="docutils literal notranslate"><span class="pre">ci/scripts/utils/tool_versions.sh</span></code> if it is missing.</p></li>
+</ul>
+<p>To run either check on its own:</p>
+<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>./ci/scripts/check_circular_dependencies.sh
+./ci/scripts/check_unused_dependencies.sh
+</pre></div>
+</div>
+</section>
 <section id="benchmarks">
 <h2>Benchmarks<a class="headerlink" href="#benchmarks" title="Link to this heading">#</a></h2>
 <section id="criterion-benchmarks">
@@ -726,6 +742,7 @@ the advisory exceptions that CI uses. <code class="docutils literal notranslate"
 <li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#documentation-link-checks">Documentation Link Checks</a></li>
 <li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#asf-status-check-validation">ASF Status Check Validation</a></li>
 <li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#security-audit">Security Audit</a></li>
+<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#dependency-checks">Dependency Checks</a></li>
 <li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#benchmarks">Benchmarks</a><ul class="nav section-nav flex-column">
 <li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#criterion-benchmarks">Criterion Benchmarks</a></li>
 <li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#parquet-sql-benchmarks">Parquet SQL Benchmarks</a></li>
diff --git a/searchindex.js b/searchindex.js
index 2d14224c42..2975666eba 100644
--- a/searchindex.js
+++ b/searchindex.js
@@ -1 +1 @@
-Search.setIndex({"alltitles":{"!=":[[77,"op-neq"]],"!~":[[77,"op-re-not-match"]],"!~*":[[77,"op-re-not-match-i"]],"!~~":[[77,"id19"]],"!~~*":[[77,"id20"]],"#":[[77,"op-bit-xor"]],"%":[[77,"op-modulo"]],"&":[[77,"op-bit-and"]],"(relation, name) tuples in logical fields and logical columns are unique":[[16,"relation-name-tuples-in-logical-fields-and-logical-columns-are-unique"]],"*":[[77,"op-multiply"]],"+":[[77,"op-plus"]],"-":[[77,"op-minus"]],"/":[[77,"op-divide"]],"1. Array Literal Con [...]
\ No newline at end of file
+Search.setIndex({"alltitles":{"!=":[[77,"op-neq"]],"!~":[[77,"op-re-not-match"]],"!~*":[[77,"op-re-not-match-i"]],"!~~":[[77,"id19"]],"!~~*":[[77,"id20"]],"#":[[77,"op-bit-xor"]],"%":[[77,"op-modulo"]],"&":[[77,"op-bit-and"]],"(relation, name) tuples in logical fields and logical columns are unique":[[16,"relation-name-tuples-in-logical-fields-and-logical-columns-are-unique"]],"*":[[77,"op-multiply"]],"+":[[77,"op-plus"]],"-":[[77,"op-minus"]],"/":[[77,"op-divide"]],"1. Array Literal Con [...]
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org