diff --git a/.github/actions/setup-jfrog/action.yml b/.github/actions/setup-jfrog/action.yml index 9c6e15b0..ce4e8dc6 100644 --- a/.github/actions/setup-jfrog/action.yml +++ b/.github/actions/setup-jfrog/action.yml @@ -110,9 +110,19 @@ runs: EOF chmod 600 ~/.cargo/credentials.toml - # Exported for tools like cargo-deny / cargo-llvm-cov that - # may read the env directly rather than the credentials file. - echo "CARGO_REGISTRIES_JFROG_TOKEN=Bearer ${JFROG_ACCESS_TOKEN}" >> "$GITHUB_ENV" + # NOTE: we deliberately do NOT export CARGO_REGISTRIES_JFROG_TOKEN + # into $GITHUB_ENV. cargo (and tools that shell out to it — + # cargo-deny, cargo-llvm-cov) read the token from the + # ~/.cargo/credentials.toml written above via the + # `credential-provider = ["cargo:token"]` line in config.toml, + # so the env var was redundant. Critically, the token is + # regenerated on every run, and Swatinem/rust-cache (run by + # actions-rust-lang/setup-rust-toolchain) hashes every + # `CARGO*`-prefixed env var into its cache key — so exporting a + # fresh token here gave every run a unique key and a guaranteed + # cache miss (full cold rebuild of the ~57-crate tree in every + # job). Keeping the token in the credentials file only restores + # stable cache keys and warm builds. echo "Cargo configured to use JFrog registry" diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 7951c64f..0754b0f0 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -28,6 +28,8 @@ version: 2 updates: + # Root workspace (kernel + the pyo3 member, which share the root + # Cargo.lock). - package-ecosystem: "cargo" directory: "/" schedule: @@ -41,6 +43,21 @@ updates: - "minor" - "patch" + # napi/ is a standalone Cargo workspace with its own committed + # Cargo.lock (napi CI builds with `--locked`). The root entry above + # does not see it, so without this entry napi's transitive deps + # never get security / version bumps. + - package-ecosystem: "cargo" + directory: "/napi" + schedule: + interval: "weekly" + open-pull-requests-limit: 10 + groups: + napi-cargo-minor-and-patch: + update-types: + - "minor" + - "patch" + - package-ecosystem: "github-actions" directory: "/" schedule: diff --git a/.github/workflows/close-stale.yml b/.github/workflows/close-stale.yml index 77185f7c..6bdd7ce3 100644 --- a/.github/workflows/close-stale.yml +++ b/.github/workflows/close-stale.yml @@ -29,6 +29,7 @@ permissions: jobs: stale: + name: Close stale issues and PRs runs-on: group: databricks-protected-runner-group labels: linux-ubuntu-latest diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 1b366b33..83a4f165 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -21,8 +21,25 @@ name: Coverage on: push: branches: [main] + # Path-filtered: a full instrumented rebuild (`cargo llvm-cov`) is + # expensive, so only run it when something that can move the + # coverage number changes. Docs / workflow-only PRs skip it. + paths: + - "src/**" + - "tests/**" + - "pyo3/**" + - "Cargo.toml" + - "Cargo.lock" + - ".github/workflows/coverage.yml" pull_request: branches: [main] + paths: + - "src/**" + - "tests/**" + - "pyo3/**" + - "Cargo.toml" + - "Cargo.lock" + - ".github/workflows/coverage.yml" workflow_dispatch: concurrency: diff --git a/.github/workflows/license-check.yml b/.github/workflows/license-check.yml index c718e917..07b088ea 100644 --- a/.github/workflows/license-check.yml +++ b/.github/workflows/license-check.yml @@ -31,6 +31,11 @@ on: - "Cargo.toml" - "Cargo.lock" - "deny.toml" + # napi/ is a standalone workspace with its own lockfile; its + # dependency graph is invisible to a root `cargo deny` run, so + # changes there must re-trigger this workflow to scan it. + - "napi/Cargo.toml" + - "napi/Cargo.lock" - ".github/workflows/license-check.yml" pull_request: branches: [main] @@ -38,6 +43,8 @@ on: - "Cargo.toml" - "Cargo.lock" - "deny.toml" + - "napi/Cargo.toml" + - "napi/Cargo.lock" - ".github/workflows/license-check.yml" permissions: @@ -52,7 +59,7 @@ defaults: jobs: cargo-deny: - name: cargo-deny + name: License & advisory check runs-on: group: databricks-protected-runner-group labels: linux-ubuntu-latest @@ -70,9 +77,24 @@ jobs: with: tool: cargo-deny - - name: Check licenses, advisories, bans, sources + - name: Check licenses, advisories, bans, sources (root workspace) # `licenses` is the load-bearing check; `advisories` flags # RustSec security advisories; `bans` and `sources` are # empty-permissive in our deny.toml today but the slots are - # there for future hardening. + # there for future hardening. The root workspace covers the + # kernel + pyo3 (pyo3 is a root workspace member). run: cargo deny check + + - name: Check licenses, advisories, bans, sources (napi workspace) + # napi/ is a separate Cargo workspace (its own Cargo.lock) so + # its transitive graph is NOT seen by the root run above. Scan + # it explicitly against the same deny.toml policy. `--config` + # points back at the root deny.toml so both workspaces share + # one allowlist rather than drifting. `--manifest-path` is a + # global cargo-deny flag (before the subcommand); `--config` + # is a `check` flag (after it). Both paths are absolute via + # $GITHUB_WORKSPACE so the step is immune to any + # `defaults.run.working-directory` a future edit might add + # (a relative `--config` would otherwise resolve against the + # manifest dir and look for napi/deny.toml). + run: cargo deny --manifest-path "$GITHUB_WORKSPACE/napi/Cargo.toml" check --config "$GITHUB_WORKSPACE/deny.toml" diff --git a/.github/workflows/napi-checks.yml b/.github/workflows/napi-checks.yml index 1c7d1e81..7700409e 100644 --- a/.github/workflows/napi-checks.yml +++ b/.github/workflows/napi-checks.yml @@ -49,6 +49,12 @@ concurrency: permissions: contents: read + # Required for the OIDC token exchange that the + # `.github/actions/setup-jfrog` composite uses to authenticate + # against the JFrog cargo proxy. The protected runner group blocks + # direct crates.io access, so cargo must route through the proxy. + # See go/hardened-gha. + id-token: write defaults: run: @@ -62,14 +68,14 @@ jobs: # this workflow via root Cargo.toml changes before the napi crate # has merged. precondition: - name: "Check napi/ sub-crate exists" + name: "Check napi sub-crate exists" runs-on: group: databricks-protected-runner-group labels: linux-ubuntu-latest outputs: ready: ${{ steps.check.outputs.ready }} steps: - - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: "Check for napi/Cargo.toml" id: check @@ -93,9 +99,18 @@ jobs: # All cargo commands run from the napi/ standalone workspace. working-directory: napi steps: - - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - uses: actions-rust-lang/setup-rust-toolchain@1780873c7b576612439a134613cc4cc74ce5538c # v1.15.2 + # Route cargo through the JFrog crates proxy. The protected + # runner group blocks direct crates.io, so without this every + # cargo command below fails to update the registry index. The + # composite writes ~/.cargo/config.toml (a source replacement), + # which preserves resolved versions, so `--locked` stays valid. + - uses: ./.github/actions/setup-jfrog + with: + cargo: "true" + + - uses: actions-rust-lang/setup-rust-toolchain@46268bd060767258de96ed93c1251119784f2ab6 # v1.16.1 with: components: rustfmt, clippy @@ -117,8 +132,15 @@ jobs: # Release-profile build verifies the cdylib actually links with # the production profile knobs (lto=true, codegen-units=1, - # strip="debuginfo"). Slower (~1m) but cheap insurance against - # release-only regressions that the debug-profile `cargo test` - # above wouldn't catch. + # strip="debuginfo"). The lto=true link is the slow part (~4 min + # here), and `cargo check --release` would NOT exercise it + # (check doesn't link the cdylib), so we keep the real build but + # run it only on push to main — a post-merge canary — rather + # than on every PR push. napi is not a required check, so this + # keeps PR feedback fast (fmt + clippy + test, ~2.5 min) while + # still catching release-only link regressions before they + # accumulate on main. The merge group does not run napi (no + # merge_group trigger), so main is the gate. - name: cargo build --release --locked + if: github.event_name == 'push' run: cargo build --release --locked diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 8f3833e2..e7a96734 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -25,9 +25,26 @@ on: pull_request: types: [opened, synchronize, reopened] branches: [main] + # The `protect-main` ruleset enables a merge queue and lists this + # workflow's "Unit + doc tests" job as a required status check. + # GitHub re-evaluates required checks against the merge-group ref, + # so without this trigger the queue entry hangs until + # `check_response_timeout_minutes` expires. The sibling jobs + # (Formatting / Clippy / Build (tls-rustls feature)) also run on the + # merge group — they are advisory, not required, so the extra runs + # are harmless and keep the workflow trigger simple. + merge_group: concurrency: - group: ${{ github.workflow }}-${{ github.head_ref || github.sha }} + # pull_request: coalesce per head_ref (PR branch). + # merge_group: head_ref is empty, so fall back to github.ref (the + # unique gh-readonly-queue ref) — distinct queue entries stay + # separate. + # push to main: head_ref is also empty, but falling back to + # github.ref ("refs/heads/main") would make cancel-in-progress + # cancel the previous main push's in-flight CI. Pin to github.sha + # on push so each landed commit keeps its own isolated run. + group: ${{ github.workflow }}-${{ github.event_name == 'push' && github.sha || github.head_ref || github.ref }} cancel-in-progress: true permissions: diff --git a/.github/workflows/pyo3-checks.yml b/.github/workflows/pyo3-checks.yml index e43ae918..ce050cc8 100644 --- a/.github/workflows/pyo3-checks.yml +++ b/.github/workflows/pyo3-checks.yml @@ -58,7 +58,7 @@ jobs: # kernel-only PRs that trigger this workflow via root Cargo.toml # / Cargo.lock changes. precondition: - name: "Check pyo3/ sub-crate exists" + name: "Check pyo3 sub-crate exists" runs-on: group: databricks-protected-runner-group labels: linux-ubuntu-latest @@ -99,7 +99,11 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.9", "3.12"] + # Cover the supported floor through the newest release. 3.13 + # and 3.14 exercise the GIL / free-threading changes where + # PyO3 extensions most often break. Floor is 3.10 — matches + # `requires-python` in pyo3/pyproject.toml. + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 @@ -132,7 +136,14 @@ jobs: # age filter on `db-pypi` are the baseline protection. uv # re-resolves each run within those bounds. working-directory: pyo3 - run: uv sync --group dev + # `--no-install-project` installs only the dependency groups, + # NOT the kernel cdylib itself. Without it, `uv sync` runs a + # full maturin/cargo RELEASE build of the extension here — and + # then the `maturin develop` step below rebuilds it again in + # debug, so the kernel compiled twice per matrix Python version + # (~5 min each, x5 versions). The Rust extension is built + # exactly once, by `maturin develop`. + run: uv sync --group dev --no-install-project - name: Cargo unit tests (pyo3 crate) # The pyo3 crate's Rust-side unit tests cover the GIL handoff @@ -145,7 +156,12 @@ jobs: # `develop` builds the extension and installs it into the # uv-managed venv from the previous step. Debug build is # fine for tests and ~2x faster than --release. - run: uv run maturin develop --interpreter python${{ matrix.python-version }} + # + # maturin's `develop` always targets the active virtualenv's + # interpreter and (unlike `build`) has no --interpreter flag; + # `uv run` already activates the venv `uv sync` created for the + # matrix Python version, so the interpreter is selected for us. + run: uv run maturin develop - name: pytest (no-network + live tiers) working-directory: pyo3 diff --git a/.github/workflows/trigger-integration-tests.yml b/.github/workflows/trigger-integration-tests.yml index 5af937df..ef5166b2 100644 --- a/.github/workflows/trigger-integration-tests.yml +++ b/.github/workflows/trigger-integration-tests.yml @@ -62,10 +62,12 @@ # Kernel Integration Tests result. # A missing install here means the dispatch succeeds, the # receiver runs the tests, then 403s when posting the check -# back — leaving the `in_progress` check posted by THIS -# workflow stuck forever (correctly: branch protection -# blocks merge, but operators have to know to investigate -# the App install, not the test result). +# back — so the required `Kernel Integration Tests` check is +# never created and branch protection blocks merge (fail-closed), +# but operators have to know to investigate the App install, not +# the test result. The receiver is the SOLE poster of that check +# (this workflow posts no placeholder — see the notes on the +# dispatch jobs below). # # The receiver-side timeout must be ≥ the longest realistic test # run + reasonable slack, and the merge-queue branch-protection @@ -101,6 +103,7 @@ jobs: # workspace. # ============================================================================= remove-label-on-new-commit: + name: Reset integration-test label on push if: github.event_name == 'pull_request' && github.event.action == 'synchronize' # Own concurrency group with `cancel-in-progress: false` — see the # workflow-level comment above. The label-cleanup is a @@ -182,6 +185,7 @@ jobs: # (or earlier, when a maintainer adds the label). # ============================================================================= skip-integration-tests-pr: + name: Integration tests (auto-pass on PR) if: github.event_name == 'pull_request' && github.event.action != 'labeled' runs-on: group: databricks-protected-runner-group @@ -221,6 +225,7 @@ jobs: # sticky comment to make the no-op visible. # ============================================================================= label-noop-during-rollout: + name: Integration-test label (rollout no-op notice) if: | github.event_name == 'pull_request' && github.event.action == 'labeled' && @@ -250,6 +255,7 @@ jobs: Once the variable is set, re-add the label (or push) to trigger a real run. trigger-tests-pr: + name: Dispatch integration tests (labeled PR) # Companion-PR ordering gate: only fire dispatches once the # internal repo's receiving workflow (databricks-driver-test#375 # — see the PR description) has landed. Until then, @@ -290,52 +296,22 @@ jobs: # ensures a leaked token can only fire dispatches. permission-contents: write - # Post an `in_progress` Kernel Integration Tests check at the - # PR head SHA BEFORE the dispatch. Critical for two reasons: - # - # (1) **Overwrite the stale-green race.** - # `skip-integration-tests-pr` posts `conclusion: success` - # for the same check name on every - # opened/synchronize/reopened. Without this in_progress - # overwrite, a maintainer who labels-and-merges promptly - # would ship a PR whose latest "Kernel Integration Tests" - # check is still the auto-pass from the synchronize event - # — branch protection sees green, allows merge, no real - # signal ever runs against the receiver. The in_progress - # check is now the latest until the receiver overwrites - # it on completion. - # - # (2) **Silent-drop fail-closed if the receiver's handler is - # broken / renamed.** `POST .../dispatches` returns 204 - # even when no workflow on the receiving side is listening - # for `kernel-pr-test`. If `databricks-driver-test#375` - # reverts, gets renamed (e.g. `kernel-pr-tests` plural), - # or its handler is removed: dispatch succeeds, no - # `if: failure()` fires, and without this in_progress - # check the PR would merge on stale green with zero - # signal. With this step, the `in_progress` sits forever - # until something explicitly overwrites it — branch - # protection blocks merge. The kernel-side - # `INTEGRATION_TESTS_ENABLED` var protects rollout order; - # this protects steady-state drift. - - name: Post in_progress check (overwrite stale-green / fail-closed on silent drop) - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 - with: - github-token: ${{ github.token }} - script: | - await github.rest.checks.create({ - owner: context.repo.owner, - repo: context.repo.repo, - name: 'Kernel Integration Tests', - head_sha: context.payload.pull_request.head.sha, - status: 'in_progress', - started_at: new Date().toISOString(), - output: { - title: 'Dispatching to databricks-driver-test', - summary: 'Maintainer added `integration-test` label. Dispatching to the receiver repo; it will overwrite this check with the run result. If this check stays `in_progress` for an unusually long time, the receiver-side workflow may be broken or renamed — manual investigation needed.' - } - }); - + # NOTE: no kernel-side `in_progress` placeholder is posted here. + # The receiver (databricks-sql-kernel-integration-tests.yml in + # databricks-driver-test) is the SOLE creator of the real + # "Kernel Integration Tests" check, posting in_progress -> + # completed under the integration-test GitHub App. A kernel-side + # placeholder posted via `github.token` (the github-actions app) + # cannot be updated by the receiver's App — they are distinct + # check-runs — so it would orphan as a permanent `in_progress` + # and hang the merge queue. This mirrors + # databricks/databricks-sql-python's trigger-integration-tests.yml, + # which posts no placeholder. Fail-closed on a silent dispatch + # drop is preserved by the `if: failure()` step below plus + # branch protection treating a missing required check as + # blocking; matching the required check by NAME (not pinned to a + # specific integration_id) lets either the PR-path auto-pass or + # the receiver's result satisfy the gate. - name: Build payload (PR-title-safe via JSON.stringify) id: payload uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 @@ -377,13 +353,13 @@ jobs: # cycle when each event creates a fresh comment. # # The "View status" link points at the Kernel Integration - # Tests check on this PR's head SHA. The check itself - # carries the receiver-supplied `details_url` (the - # actual workflow run on `databricks-driver-test`) once - # the receiver overwrites the `in_progress` placeholder - # we posted before dispatch. Linking to the check - # directly — rather than the receiver workflow's run-list - # — means the comment doesn't go stale across re-runs. + # Tests check on this PR's head SHA. The receiver creates + # that check (in_progress -> completed) under the + # integration-test App and supplies its own `details_url` + # (the actual workflow run on `databricks-driver-test`). + # Linking to the check directly — rather than the receiver + # workflow's run-list — means the comment doesn't go stale + # across re-runs. body: | **Kernel integration tests triggered** for `${{ github.event.pull_request.head.sha }}`. @@ -428,11 +404,19 @@ jobs: # Otherwise dispatch and let the internal repo report the result. # ============================================================================= merge-queue-kernel: + name: Dispatch integration tests (merge queue) if: github.event_name == 'merge_group' runs-on: group: databricks-protected-runner-group labels: linux-ubuntu-latest permissions: + # `contents: read` is REQUIRED: this job checks out the repo to + # diff the merge group. Declaring any `permissions:` block sets + # every unlisted scope to `none`, so without this line + # actions/checkout gets a token that can't read the repo and + # fails with "Repository not found" (exit 128) — which only + # surfaces in the merge queue, the one path that checks out code. + contents: read checks: write steps: - name: Checkout code @@ -559,31 +543,15 @@ jobs: # the matching note on the label-trigger path). permission-contents: write - # See the matching block on the label-trigger path for the - # full rationale: this `in_progress` check (a) overwrites - # any stale-green from earlier auto-pass paths and (b) - # turns a silent-drop (broken / renamed receiver-side - # handler) into a fail-closed timeout. Branch protection - # blocks merge until the receiver overwrites this check. - - name: Post in_progress check (overwrite stale-green / fail-closed on silent drop) - if: steps.changed.outputs.changed == 'true' && vars.INTEGRATION_TESTS_ENABLED == 'true' - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 - with: - github-token: ${{ github.token }} - script: | - await github.rest.checks.create({ - owner: context.repo.owner, - repo: context.repo.repo, - name: 'Kernel Integration Tests', - head_sha: '${{ github.event.merge_group.head_sha }}', - status: 'in_progress', - started_at: new Date().toISOString(), - output: { - title: 'Dispatching to databricks-driver-test (merge queue)', - summary: 'Merge group is validating; dispatching to the receiver repo. If this check stays `in_progress` past the merge-queue timeout, the receiver-side workflow may be broken or renamed — manual investigation needed.' - } - }); - + # NOTE: no kernel-side `in_progress` placeholder here either — + # see the matching note on the label-trigger path above. The + # receiver owns the real "Kernel Integration Tests" check; a + # placeholder posted under the github-actions app would orphan + # (the receiver's App can't update another app's check-run) and + # hang the queue past `check_response_timeout_minutes`. This was + # the actual cause of the first queued PR stalling. The + # `if: failure()` step below still fails the check closed on a + # dispatch error. - name: Dispatch kernel tests if: steps.changed.outputs.changed == 'true' && vars.INTEGRATION_TESTS_ENABLED == 'true' uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # v3.0.0 diff --git a/deny.toml b/deny.toml index 19b1171e..c7d37efb 100644 --- a/deny.toml +++ b/deny.toml @@ -29,6 +29,16 @@ allow = [ "Apache-2.0", "BSD-2-Clause", "BSD-3-Clause", + # CC0-1.0 is a public-domain dedication (no attribution or + # copyleft obligation). Pulled in transitively by `tiny-keccak` + # (v2.0.2) — present in BOTH the root graph (ahash -> const-random + # -> const-random-macro -> tiny-keccak) and the napi graph. The + # root `cargo deny` run was previously passing without this entry + # only because the license text was classified as "unknown" under + # confidence-threshold = 0.93 rather than matched to the explicit + # CC0-1.0 string; allow-listing it makes the policy explicit so a + # future classifier change can't silently flip it to a hard reject. + "CC0-1.0", "CDLA-Permissive-2.0", "ISC", "MIT", diff --git a/pyo3/Cargo.toml b/pyo3/Cargo.toml index c083a5ce..bd61b58e 100644 --- a/pyo3/Cargo.toml +++ b/pyo3/Cargo.toml @@ -40,8 +40,12 @@ crate-type = ["cdylib", "rlib"] [dependencies] databricks-sql-kernel = { path = ".." } -# pyo3 — abi3-py39 lets one wheel cover Python 3.9+. -pyo3 = { version = "0.26", features = ["extension-module", "abi3-py39"] } +# pyo3 — abi3-py310 builds a single stable-ABI wheel (tagged +# cp310-abi3) that loads on CPython 3.10+. The ABI floor is kept in +# step with `requires-python = ">=3.10"` in pyproject.toml; bumping +# both together avoids shipping a wheel whose ABI tag advertises an +# interpreter the package no longer claims to support. +pyo3 = { version = "0.26", features = ["extension-module", "abi3-py310"] } # Multi-thread runtime — one per Session, owned on the Rust side. tokio = { version = "1", features = ["rt-multi-thread"] } diff --git a/pyo3/pyproject.toml b/pyo3/pyproject.toml index 67c2e2ad..d374bc7c 100644 --- a/pyo3/pyproject.toml +++ b/pyo3/pyproject.toml @@ -6,7 +6,10 @@ build-backend = "maturin" name = "databricks-sql-kernel" version = "0.1.0" description = "Python bindings for the Databricks SQL Kernel (PyO3)" -requires-python = ">=3.9" +# Floor matches the tested CI matrix in +# .github/workflows/pyo3-checks.yml (3.10 .. 3.14). 3.9 is no longer +# exercised in CI, so it is not claimed as supported here. +requires-python = ">=3.10" license = { text = "Apache-2.0" } authors = [{ name = "Databricks" }] # Runtime dependency for downstream consumers. Major-version bound @@ -16,7 +19,16 @@ authors = [{ name = "Databricks" }] # uses these bounds (no committed lockfile) — see the # `[dependency-groups].dev` block below + the workflow comment in # `.github/workflows/pyo3-checks.yml` for the policy rationale. -dependencies = ["pyarrow>=14,<19"] +# +# Floor is `>=23.0.1` to match databricks-sql-connector 5.0.0 +# (databricks/databricks-sql-python#818): pyarrow only ships cp314 +# (Python 3.14) wheels from 23.x onward, so the previous `<19` ceiling +# forced a from-source build that fails on 3.14. Keeping the floor +# aligned with the connector also keeps the two surfaces installable +# side by side. The `<24` ceiling preserves the major-version upper +# bound the go/pinning-python-deps policy requires (a future pyarrow +# major then surfaces as a deliberate bump, not a silent auto-resolve). +dependencies = ["pyarrow>=23.0.1,<24"] # Dev / CI dependencies. PEP 735 standard; uv reads this directly. # CI runs `uv sync --group dev` (no `--frozen`, no committed