Replace C++ backend with standalone MCAP backend + PyPI publishing - #20
Merged
Conversation
- Remove baglab_cpp_backend (required ROS 2 rosbag2_cpp) - Add baglab_mcap_backend using Foxglove mcap C++ reader + custom CDR deserializer with mmap optimization (no ROS 2 dependency) - Add mcap_repo as git submodule (pinned at e606c2b) - Add cibuildwheel CI workflow for PyPI wheel publishing (Linux x86_64) - Add baglab[mcap] optional dependency for easy installation - Update bag.py with mcap backend integration and auto-selection Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add [tool.uv.sources] to resolve baglab-mcap-backend locally - Update test.yml to build mcap backend instead of deleted cpp backend - Add submodules: true to checkout step - Regenerate uv.lock Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Align baglab-mcap-backend version to 0.2.1 (same as baglab) - Merge publish-mcap-backend.yml into publish.yml as parallel jobs - Both baglab and baglab-mcap-backend publish on the same v* tag Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
baglab_cpp_backend(ROS 2 rosbag2_cpp dependent) and replace withbaglab_mcap_backendusing Foxglove mcap C++ reader + custom CDR deserializer (no ROS 2 dependency)mcap_repoas git submodule for header-only mcap librarypublish-mcap-backend.yml) to build manylinux x86_64 wheels for Python 3.10/3.11/3.12 and publish to PyPI onmcap-backend-v*tagsbaglab[mcap]optional dependency so users canpip install baglab[mcap]Test plan
pip install baglab(pure Python) still workspip install baglab_mcap_backendfrom local build works on Ubuntu 22.04pip install baglab_mcap_backendfrom local build works on Ubuntu 24.04🤖 Generated with Claude Code