Repository navigation
build: prepare T4Scene 0.1.0 SDK release - #26
Conversation
Max-Bin
left a comment
There was a problem hiding this comment.
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.
| - 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') |
There was a problem hiding this comment.
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.
|
|
||
| ```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' |
There was a problem hiding this comment.
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
left a comment
There was a problem hiding this comment.
The release checks passed. The two earlier inline comments are follow-ups.
Prepare
v0.1.0so 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.reposmanifest.0.1.0in the Python package and both package manifests. The changelog links the SDK and generator changes merged sincev0.0.0, including windowed Protobuf decoding, ego position covariance, route start poses, and changes to route, tracked-object, and traffic-light sampling.T4SCENE_WITH_MAPS=ONwhen needed.Validation
0.1.0wheel from the source distribution. Tested the installed wheel on Python 3.10 (254 passed, 55 skipped) and 3.12 (325 passed, 10 skipped).actionlintpassed locally. GitHub CI covers the Ubuntu 24.04 archive and ROS 2 generation.