Skip to content

ci: install open3d on one leg per supported Python version - #81

Merged
petercorke merged 1 commit into
mainfrom
ci/open3d-test-coverage
Aug 13, 2026
Merged

ci: install open3d on one leg per supported Python version#81
petercorke merged 1 commit into
mainfrom
ci/open3d-test-coverage

Conversation

@petercorke

Copy link
Copy Markdown
Owner

Summary

Test plan

  • Verified locally in an isolated venv: with open3d installed, test_pointcloud.py::test_constructor and test_bin.py's smoke test genuinely pass (785 passed/94 skipped vs 784/95 baseline without open3d — exactly the expected one-test delta), no regressions elsewhere
  • CI will exercise the real install on 3 of the 24 matrix legs

Not fixed here: test_ros.py's open3d-gated pointcloud-publish tests remain skipped in CI — found they're also gated behind roslibpy (a separate ros extra, also never installed in CI), which open3d alone doesn't unlock. Filed as #80.

Fixes #46

🤖 Generated with Claude Code

Completes the remaining part of #46: PR #78 fixed the stale
open3d-python package name and added a python_version<3.13 marker,
but CI itself never installed open3d, so test_pointcloud.py's and
test_bin.py's open3d-guarded coverage kept running skipped/degraded
regardless.

open3d 0.19.0 ships wheels for cp310-cp312 only (confirmed via PyPI
metadata), so install it on ubuntu-latest for python-version 3.10-3.12
(one leg per supported version, opencv-version==5 arbitrarily picked
to avoid doubling up -- open3d's behaviour doesn't depend on opencv
version). No new matrix axis needed, unlike opencv4-vs-5, since
there's no per-OS/version behavioural divergence to hunt for here.

Verified locally in an isolated venv: with open3d installed,
test_pointcloud.py::test_constructor and test_bin.py's smoke test now
genuinely pass (not just unskipped) -- 785 passed/94 skipped vs the
784/95 baseline without open3d, exactly the expected one-test delta,
no regressions elsewhere.

test_ros.py's open3d-gated pointcloud-publish tests remain skipped in
CI -- found during this work that they're also gated behind roslibpy
(a separate `ros` extra, also never installed anywhere in CI), which
installing open3d alone doesn't unlock. Filed separately as #80 rather
than folding into this change.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@petercorke
petercorke merged commit fabb8c9 into main Aug 13, 2026
29 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.

open3d tests exist but have presumably always been skipped in CI

1 participant