Skip to content

fix(deps): pick up genoray 4.0.1 and drop tracing from the build - #348

Merged
d-laub merged 1 commit into
mainfrom
fix/genoray-401-drop-tracing
Aug 21, 2026
Merged

fix(deps): pick up genoray 4.0.1 and drop tracing from the build#348
d-laub merged 1 commit into
mainfrom
fix/genoray-401-drop-tracing

Conversation

@d-laub

@d-laub d-laub commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

Follow-up to #347. Moves the Python pin to genoray 4.0.1 and the svar2-codec / genoray_core git rev from 1bac5f9 (tag 4.0.0) to d66ec0e (tag 4.0.1).

Why

4.0.1 gates tracing and tracing-subscriber behind genoray's conversion feature (d-laub/genoray#165). GVL links genoray_core with default-features = false — the query-only core — and never emits or observes a tracing event, but until 4.0.1 those were unconditional dependencies and got compiled into every GVL build anyway.

#347 made this visible: aligning the Rust pin to 4.0.0 added 11 transitive crates GVL doesn't use. This removes them.

Cargo.lock: 237 → 226 crates. Gone: lazy_static, matchers, nu-ansi-term, sharded-slab, thread_local, valuable, and the five tracing* crates.

No GVL source change was needed — the genoray_core and svar2_codec APIs GVL uses are unchanged.

Also

Records the pin invariant in Cargo.toml: this rev must stay in step with the genoray Python pin, because the Rust code here reads svar2 stores that the Python package writes. A format change landing in only one of the two is invisible until it corrupts a read — which is the failure mode that let the rev sit at genoray 3.0.0 while the Python package moved to 3.4.0.

Verification

Check Result
pytest tests -q (full tree) 1130 passed, 58 skipped, 4 xfailed
pytest tests -q -m slow 6 passed, 3 skipped
cargo-test 134 + 4 passed
ruff check / ruff format --check clean
typecheck (pyrefly) 0 errors
cz bump --dry-run 0.42.0 → 0.42.1, PATCH

Typed fix(deps): deliberately: #347's build(deps): commits gave [NO_COMMITS_TO_BUMP], so genoray 4.x support merged without cutting a release. This PR ships both.

🤖 Generated with Claude Code

Moves the Python pin to genoray 4.0.1 and the svar2-codec / genoray_core git
rev from 1bac5f9 (tag 4.0.0) to d66ec0e (tag 4.0.1).

4.0.1 gates `tracing` and `tracing-subscriber` behind genoray's `conversion`
feature (d-laub/genoray#165). GVL links `genoray_core` with
`default-features = false` -- the query-only core -- and never emits or
observes a tracing event, but until 4.0.1 those crates were unconditional
dependencies and were compiled into every GVL build anyway.

Cargo.lock drops from 237 to 226 crates: lazy_static, matchers, nu-ansi-term,
sharded-slab, thread_local, valuable, and the five tracing* crates.

No GVL source change is needed; the genoray_core and svar2_codec APIs GVL uses
are unchanged. Also records the pin invariant in Cargo.toml: this rev must stay
in step with the `genoray` Python pin, because the Rust code here reads svar2
stores that the Python package writes, so a format change landing in only one
of the two is invisible until it corrupts a read.

Verified: 1130 passed / 58 skipped / 4 xfailed pytest, 6 passed slow tier,
134 + 4 cargo tests, ruff check + format clean, pyrefly 0 errors.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@d-laub
d-laub merged commit 24e48be into main Aug 21, 2026
8 checks passed
@d-laub
d-laub deleted the fix/genoray-401-drop-tracing branch August 21, 2026 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant