Skip to content

Auto-update octree to v3.2.1#9818

Open
waruqi wants to merge 1 commit intodevfrom
autoupdate-octree-v3.2.1
Open

Auto-update octree to v3.2.1#9818
waruqi wants to merge 1 commit intodevfrom
autoupdate-octree-v3.2.1

Conversation

@waruqi
Copy link
Copy Markdown
Member

@waruqi waruqi commented Apr 23, 2026

New version of octree detected (package version: v2.5, last github version: v3.2.1)

@waruqi waruqi added the auto-update Automatic update label Apr 23, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request adds version v3.2.1 to the octree package. Feedback indicates that this version introduces breaking changes, including a header rename and API modifications, which will cause the existing test block to fail. The test configuration needs to be updated to support the new version's requirements.

set_urls("https://github.com/attcs/Octree/archive/refs/tags/$(version).tar.gz",
"https://github.com/attcs/Octree.git", {submodules = false})

add_versions("v3.2.1", "1bc840bc34563419372391734b1283a10eb0eb224ba3f7d8c00880bdca47031f")
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.

high

The update to v3.2.1 introduces breaking changes that will cause the package tests to fail. In the upstream repository (OrthoTree), the main header was renamed from octree.h to OrthoTree.h starting with version 3.0.0. Additionally, the API has changed significantly, meaning the code snippet in on_test (lines 34-47) which uses legacy types like OctreePointC will no longer compile. The on_test block needs to be updated to support the new version's header and API, potentially using version-aware logic to maintain compatibility with v2.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-update Automatic update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant