Skip to content

build: prepare T4Scene 0.1.0 SDK release - #26

Merged
xtk8532704 merged 2 commits into
mainfrom
kem/t4scene-release-v0.1.0
Dec 2, 2026
Merged

xtk8532704 merged 2 commits into
mainfrom
kem/t4scene-release-v0.1.0

Conversation

@xtk8532704

Copy link
Copy Markdown
Contributor

Prepare v0.1.0 so Python and C++ consumers can install T4Scene from release artifacts. ROS 2 workspaces build the C++ SDK and generator through colcon from the release commit pinned in their .repos manifest.

  • Set 0.1.0 in the Python package and both package manifests. The changelog links the SDK and generator changes merged since v0.0.0, including windowed Protobuf decoding, ego position covariance, route start poses, and changes to route, tracked-object, and traffic-light sampling.
  • Make tag builds and manually dispatched CI runs produce a tested Python wheel and source distribution, plus standalone C++ SDK archives for Ubuntu 22.04 and 24.04. The archives provide the Scene and Protobuf targets. Build the native map codec from source with T4SCENE_WITH_MAPS=ON when needed.
  • Document how to publish the tested artifacts, verify their checksums, and install the SDK by version.

Validation

  • Built the 0.1.0 wheel from the source distribution. Tested the installed wheel on Python 3.10 (254 passed, 55 skipped) and 3.12 (325 passed, 10 skipped).
  • On Ubuntu 22.04, built independent consumers against the unpacked C++ archive after deleting the staging prefix. All four C++ tests and 42 Python/C++ exchange tests passed.
  • The manifest version check and actionlint passed locally. GitHub CI covers the Ubuntu 24.04 archive and ROS 2 generation.

@xtk8532704
xtk8532704 requested a review from Max-Bin December 2, 2026 11:52
@xtk8532704
xtk8532704 marked this pull request as ready for review December 2, 2026 11:52

@Max-Bin Max-Bin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This prepares v0.1.0 and adds release artifacts for Python and for the standalone C++ SDK on Ubuntu 22.04 and 24.04. The C++ jobs test downstream consumers against the unpacked archives.

All PR checks passed. I verified the three manifest versions, ran the C++ README example against the relocated Ubuntu 22.04 archive, and ran the Python suite on 3.10 using a wheel built on 3.12 (254 passed, 55 skipped). The release-upload steps are gated to tag and manual CI runs. PR CI run

I’d merge based on those checks. I left two follow-ups on the release wheel test and the Python install example.

Comment thread .github/workflows/ci.yml Outdated
- name: Test installed Python data interfaces
run: .venv/bin/python -I -m pytest t4scene/python/tests -q -ra --junitxml="$RUNNER_TEMP/python.xml"
- name: Upload the tested Python distributions
if: matrix.python-version == '3.12' && (github.ref_type == 'tag' || github.event_name == 'workflow_dispatch')

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1. Test the published wheel on Python 3.10

Each matrix job builds its own wheel, and this step selects the 3.12 build for release. The 3.10 job checks the minimum NumPy and Protobuf versions against a separate build, so CI can pass even if a packaging change in the 3.12 build breaks the wheel for 3.10 users. Build the distributions once and have both matrix jobs install the same wheel before releasing it.

Comment thread t4scene/python/README.md Outdated

```bash
python -m pip install 't4scene @ git+https://github.com/tier4/T4Scene.git@v0.0.0'
python -m pip install 't4scene[maps,tensor]==0.1.0'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2. Show the base install first

This command pulls in Torch and Lanelet2 even for readers who only need Scene records and Protobuf. Use python -m pip install 't4scene==0.1.0' in the example and name [maps] and [tensor] as opt-in extras.

Max-Bin
Max-Bin previously approved these changes Dec 2, 2026

@Max-Bin Max-Bin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The release checks passed. The two earlier inline comments are follow-ups.

@xtk8532704
xtk8532704 merged commit aef44be into main Dec 2, 2026
9 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.

2 participants