Skip to content

build(dvb-si-py): declare its own workspace root (closes #720 — bindings already current) - #834

Merged
fishloa merged 1 commit into
mainfrom
work/720-transmux-py
Jul 29, 2026
Merged

fishloa merged 1 commit into
mainfrom
work/720-transmux-py

Conversation

@fishloa

@fishloa fishloa commented Jul 29, 2026

Copy link
Copy Markdown
Owner

#720 was stale — verified, not assumed

Both bindings already track the current published crates, so the rename ripple the issue anticipated had already landed:

binding manifest live on crates.io
bindings/transmux-py transmux = "0.20" transmux 0.20.0
bindings/python dvb-si = "9", dvb-t2mi = "9" dvb-si / dvb-t2mi 9.0.0

Verified end to end rather than by reading the manifests:

  • maturin build --release --locked produces transmux_py-0.1.0-cp39-abi3-macosx_11_0_arm64.whl.
  • Wheel installed into a clean venv, pytest tests -q4 passed.
  • Those tests bite: they demux the committed real capture fixtures/ts/h264_aac.ts and assert the oracle-backed counts (75 video / 131 audio samples), 90 kHz / 44.1 kHz timescales, 320x240, an RFC 6381 avc1. string, and non-empty sample bytes with the first sample flagged sync.

The one real defect found

bindings/python/Cargo.toml lacked the [workspace] stanza its sibling transmux-py carries. The root manifest's exclude keeps it out of the member glob but does not stop cargo walking up, so any cargo invocation from inside a nested git worktree adopted the repo workspace and failed:

error: current package believes it's in a workspace when it's not:
workspace: /Volumes/External/Projects/rust-broadcast/Cargo.toml

Proven to bite: with the stanza removed again cargo metadata fails as above; with it, it resolves. That asymmetry between the two sibling bindings was the actual bug behind the issue's suspicion.

Closes #720

bindings/python lacked the `[workspace]` stanza its sibling transmux-py
carries. The root manifest's `exclude` keeps it out of the member glob but
does not stop cargo walking up, so any cargo invocation from inside a nested
git worktree adopted the repo workspace and failed with "current package
believes it's in a workspace when it's not".

Verified by removing the stanza again: `cargo metadata` fails without it and
succeeds with it.

Refs #720
@fishloa
fishloa merged commit 37909ce into main Jul 29, 2026
6 checks passed
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.

bindings/transmux-py: update to transmux 0.18 (rename ripple)

1 participant