Skip to content

Adopt liblsl v1.18.0.b2 and expose new API (reset_uid, sync outlet)#115

Open
cboulay wants to merge 4 commits into
mainfrom
chore/liblsl-1.18.0b2
Open

Adopt liblsl v1.18.0.b2 and expose new API (reset_uid, sync outlet)#115
cboulay wants to merge 4 commits into
mainfrom
chore/liblsl-1.18.0b2

Conversation

@cboulay

@cboulay cboulay commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

Adopts the liblsl v1.18.0.b2 prerelease and exposes the new functionality it adds.

liblsl version bump

  • Publish + CI workflows point at v1.18.0.b2 (assets are correctly named liblsl-1.18.0-*, macOS lsl.xcframework.1.18.zip).

New API surface

Tests

  • test_info.py: reset_uid round-trip (skipped on < 1.18) + NotImplementedError path on older libs.
  • test_outlet_transport.py: transport constants, default outlet, and sync round-trip (skipped on < 1.18).
  • Verified locally against the actual v1.18.0.b2 macOS dylib: 16 passed, 1 skipped; ruff clean.

The PR pull_request trigger builds all platform wheels against b2 and runs uv publish --dry-run. No PyPI upload happens until a GitHub Release is published.

cboulay added 4 commits June 20, 2026 14:10
Point the publish workflow at the liblsl v1.18.0.b2 prerelease,
which ships correctly-versioned liblsl-1.18.0-* assets (and
lsl.xcframework.1.18.zip).
Match the publish workflow so PR/push CI exercises the same beta
liblsl that the release bundles.
Wraps the new lsl_reset_uid C function (sccn/liblsl#280), which
regenerates a stream_info's UID. Useful for assigning a UID to a
locally-constructed StreamInfo before it is bound to an outlet/inlet.
Raises NotImplementedError on older liblsl that lacks the symbol.
Expose the lsl_transport_options_t flags (transp_default,
transp_bufsize_samples, transp_bufsize_thousandths, transp_sync_blocking)
and a transport_flags argument on StreamOutlet, routed through
lsl_create_outlet_ex. transp_sync_blocking enables the new synchronous
(zero-copy) outlet mode (sccn/liblsl#256) for high-bandwidth streams.
Default behavior is unchanged (async via lsl_create_outlet).
@cboulay cboulay changed the title ci: bundle liblsl v1.18.0.b2 for pylsl beta release Adopt liblsl v1.18.0.b2 and expose new API (reset_uid, sync outlet) Jun 20, 2026
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