Skip to content

Merge 6.8.0 release branch to master - #2726

Merged
akenmorris merged 52 commits into
masterfrom
amorris/merge-6.8.0
Nov 23, 2026
Merged

akenmorris merged 52 commits into
masterfrom
amorris/merge-6.8.0

Conversation

@akenmorris

Copy link
Copy Markdown
Contributor

Brings the fixes made on the 6.8 release branch back to master: the macOS 14 minimum version check, Intel Mac DeepSSM handling, the Linux locale startup fix, the PyTorch temp directory, the Windows uninstaller, and the RunUseCase.py import message.

Where both sides changed the same code, master's newer version is kept, and master stays at 6.9.0-dev. Please merge this with a merge commit, not a squash, so the release history stays connected.

Start the 6.8.0 release from a release branch instead of bumping master.
master now keeps its -dev version string permanently, so there is no
post-release bump back.

Update the release process doc to match, and fix the release notes
filename it referenced.
Fill in the 6.8.0 release notes from the 93 commits since v6.7.0, grouped
as back-end / front-end / documentation / fixes / platform.

Point the home page at the 6.8 banner and tour video, and document the
new correspondence-quality command and its Python API in the analyze
workflow page.  The CLI reference in ShapeWorksCommands.md is generated
at deploy time and picks up the new command on its own.
No Studio doc was updated during the 6.8 cycle, leaving the new viewer
and analysis features undocumented.  Adds coverage for the bounding box,
scale bar, axis-aligned Views dropdown, shape-relative glyph sizing,
Export All Meshes, the Regression tab, and editing cutting-plane centers
and normals from the constraints table.

Also documents early stopping, whose eight parameters had no coverage
since it shipped in 6.7, and geodesic_remesh_percent, whose meaning
changed in 6.8.
Lines rendered in the viewers are aliased -- most visibly the new bounding
box, but it applies to cutting planes, contours and mesh silhouettes too.

The obvious fix, multisampling, is not available: the surface format sets
samples to 0 on purpose because MSAA breaks the depth reads used for pick
position (c971ffa).  FXAA runs as a post-process pass instead, so it
smooths edges without touching the depth buffer and picking is unaffected.

Enabled on the lightbox renderer and on each per-viewer renderer.  Exported
screenshots pick it up as well, since export_to_pixmap() reuses these same
renderers in its offscreen window.
The status bar holds the last log message indefinitely, so a file path or
debug line stays on screen long after it is useful.  That is awkward when
capturing screenshots for the documentation, which then leak local paths.

Clicking the message now clears it, along with the severity icon that was
set with it.  The log window keeps the history.  The message is left
untouched otherwise, so a completion notice from a long optimization is
still there when you come back to it.
At 1.5 the edges are thin enough that FXAA treats them as a subpixel
feature and blends them toward the background unevenly along their
length, so the box reads as dashed.

Widening to 2.5 gives the edge enough coverage to survive the blend.
Closest-triad mode puts the rulers on the box corner nearest the camera,
which is in front of the geometry, so the labels are drawn across the
shape and appear to jump sides as the nearest corner changes while
orbiting.

Outer edges keeps them on the silhouette of the box instead, where they
are neither over the shape nor hidden behind it.
Retake the three shots that predated features they are meant to show:
the viewer controls (2022, no Views button), the export menu (missing
Export All Meshes) and the Analyze view panel (missing the Regression
tab).

Add the bounding box and scale bar capture and reference it from the
viewer docs.
Studio's update checker reads version.json from the web server, so until it
is updated no existing installation learns about the release.  It was not in
the process doc, and the live copy still reports 6.6.1.
* Update release notes

* Fix clipped regression hint message in the Analysis panel

* Bring the docs deploy script up to date on the release branch

Takes master's deploy_docs.sh so the 6.8 docs can be published from this branch:
it no longer checks out gh-pages (which nbstripout leaves permanently dirty), and
it titles the version holding the "latest" alias "<version> (latest)".
A read that stalled mid-transfer failed the whole download, since only the
connect was retried. Downloads now retry the transfer itself and resume from
the bytes on disk with a Range request.

CI was downloading at all only because the empty markers in the tiny test
cache no longer counted as installed; they are honored again, and
download_test_data.sh retries on whether its tarball is complete rather than
on whether the file exists.

(cherry picked from commit 9fb2ec9)
…g it (#2634)

The docs version selector only ever showed "<version> (dev)" or a bare number,
so there was nothing to tell a reader which version the site actually redirects
to. The version that takes the "latest" alias is now titled "<version> (latest)",
and the version that loses the alias has the suffix stripped.

master builds also published straight over a released version whenever
CMakeLists.txt on master had not been bumped past the release yet, which is how
the 6.7 docs came to serve 6.8 release notes and install instructions. That case
now fails the deploy with a message pointing at the version bump.

(cherry picked from commit 247424f)
…sized image size is entered (#2639)

(cherry picked from commit 0e5f3dd)
Apply master bug fixes and dependency updates to 6.8
pip unpacks the whole install (~7 GB with CUDA) into TMPDIR before moving it
into --target, so the on-demand install failed with "No space left on device"
on systems with a small /tmp. light-the-torch also exited 0 after pip failed,
which produced a misleading "install completed but cannot be imported" error.

Point TMPDIR at a temp dir next to the per-user site-packages, and verify
that torch imports before reporting success, in both Studio/CLI and Python.
The uninstaller unregistered ".swprojc" instead of ".swproj", and without
SetRegView 64 it deleted its registry keys from the 32-bit view while the
installer wrote them to the 64-bit view.
initialize_path_handling() imbued a UTF-8 codecvt into boost::filesystem on
every platform. On POSIX, imbue() first builds boost's default locale from
the environment, which throws when LANG names a locale that isn't installed
(e.g. LANG=en_US), aborting shapeworks, Studio and the Python module.

The conversion only matters on Windows, so only do it there.
The message still told users to run install_shapeworks.sh and activate a conda env, which no longer applies with bundled Python.
6.8 builds target macOS 14, but nothing stopped installing or running on
older versions, where it failed with cryptic errors (e.g. numpy's Accelerate
build missing symbols on macOS 12).

The .pkg is now wrapped in a distribution package whose installation check
refuses older macOS, Studio sets LSMinimumSystemVersion, and Studio, the
shapeworks CLI and swpython check the OS version at startup. Document the
requirement in the install docs and release notes.
The last PyTorch with Intel macOS builds (2.2) was built against numpy 1.x
and can't exchange arrays with the bundled numpy 2.x, so DeepSSM would
install torch and then fail partway through.

Studio, the deepssm CLI command and ensure_torch() now stop with a clear
message on Intel Macs before downloading anything. Document the limitation.
DeepSSM is unsupported there, so the tests now skip instead of failing. They passed in CI only because the conda test env installs numpy<2 on Intel Macs, unlike the shipped bundle.
@akenmorris
akenmorris merged commit 13ddb6b into master Nov 23, 2026
5 checks passed
@akenmorris
akenmorris deleted the amorris/merge-6.8.0 branch November 23, 2026 23:00
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.

1 participant