Repository navigation
Update for upstream version 1.6.1 - #73
Merged
Merged
Conversation
* adapt runtests to slightly different grid output
Check for size() of point list in RawFacet
* throw an error if it is 1.5. With an updated build for TetGen_jll 1.5.4+1 or 1.5.5, we may remove this.
j-fu
marked this pull request as draft
September 24, 2026 13:51
j-fu
force-pushed
the
jf/upstream-161
branch
from
September 25, 2026 21:52
032ada6 to
290fd02
Compare
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Unresolved critical pointer-lifetime and moderate compatibility, example, and test issues remain.
Review effort: Lite
Findings: 1
Open (7)
Keep conversion buffers alive during nested ccall · New Retain flags for constrained cut-prism tetrahedralization · New Pass tetmesh to save_tetgen in the test · New Fix typo in changelog: suppoirt to support · New Remove unreachable second return statement · New Fix API docstring typo: reportst to reports · New Correct holelist shape description · New
What changed in this PR
Updates TetGen.jl for upstream 1.6.1 while retaining 1.5.4 compatibility and adds save_tetgen input serialization.
Changes:
- Adds serialization support across TetGen input types.
- Adds tests for supported upstream versions.
- Updates documentation, examples, metadata, and changelog.
| File | Reviewed change |
|---|---|
test/tetgentests.jl |
Expanded integration and serialization tests. |
test/runtests.jl |
Updated test entry point and compatibility coverage. |
test/runtests-tetgen-1.5.1.jl |
Adds legacy TetGen testing. |
src/TetGen.jl |
Exports save_tetgen. |
src/rawtetgenio.jl |
Adds raw input serialization and hole handling. |
src/jltetgenio.jl |
Adds Julia IO conversion and serialization. |
src/cpptetgenio.jl |
Adds C++ IO serialization support. |
src/api.jl |
Adds mesh-level save functionality. |
README.md |
Documents supported versions and bug-report workflow. |
Project.toml |
Updates package version and dependency compatibility. |
examples/examples.jl |
Updates facet-hole and cut-prism examples. |
CHANGELOG.md |
Records the release changes. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Fix typo in comment regarding bug reports. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Removed redundant return statement in save_tetgen function. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Update changelog to include recent changes and maintain formatting. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
j-fu
marked this pull request as ready for review
September 26, 2026 21:39
Member
Author
Bumps [JuliaRegistries/TagBot](https://github.com/juliaregistries/tagbot) from 1.25.11 to 1.25.13. - [Release notes](https://github.com/juliaregistries/tagbot/releases) - [Commits](JuliaRegistries/TagBot@cded326...ffef328) --- updated-dependencies: - dependency-name: JuliaRegistries/TagBot dependency-version: 1.25.13 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* adapt runtests to slightly different grid output
Check for size() of point list in RawFacet
* throw an error if it is 1.5. With an updated build for TetGen_jll 1.5.4+1 or 1.5.5, we may remove this.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Fix typo in comment regarding bug reports. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Removed redundant return statement in save_tetgen function. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Update changelog to include recent changes and maintain formatting. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…into jf/upstream-161
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.



While the API stays the same, the behavior of the upstream version of tetgen changed quite a bit between 1.5 and 1.6. This is why we make a breaking verision here and and explicetely support
1.5 and 1.6 versions of the upstream jll.
Addresses #47