Skip to content

Release v0.5.1 - #46

Merged
CSSFrancis merged 1 commit into
mainfrom
release/v0.5.1
Nov 20, 2026
Merged

CSSFrancis merged 1 commit into
mainfrom
release/v0.5.1

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Release v0.5.1

Auto-generated by the Prepare Release workflow.

What changed

  • de_shell/__init__.py bumped to 0.5.1 — the one place the version is
    written, and the value publish.yml refuses to let a tag disagree with
  • Pre-flight checks passed: git dependencies pinned to SHAs or tags
  • CHANGELOG.rst assembled from the fragments in upcoming_changes/
Release notes (as they will appear in `CHANGELOG.rst`)
0.5.1 (2026-11-20)
==================

New Features
------------

- ``installTorchPerMachine`` works for a torch left out of the lock (no ``torch==`` pin) and takes ``{ reinstall: true }`` or ``{ upgrade: true }`` so a "Fix PyTorch" button can replace a torch of the wrong build, which uv otherwise keeps. (`#45 <https://github.com/directelectron/de-shell/pull/45>`_)


Bug Fixes
---------

- The setup window showed the PyTorch pill again for an app with no torch, and an offline install lost its "Installing from" line, after the first progress line: a progress line now keeps what the start set. (`#45 <https://github.com/directelectron/de-shell/pull/45>`_)
- A GPU older than sm_70 (Pascal, Maxwell) on a recent driver got a torch build with no kernels for it, because ``--torch-backend=auto`` looks only at the driver version, so every GPU operation failed; setup now reads the compute capability from ``nvidia-smi`` before downloading and installs the cu126 build for such a card, and ``<APPID>_TORCH_BACKEND`` overrides the choice. (`#45 <https://github.com/directelectron/de-shell/pull/45>`_)
- An app that leaves torch out of its lock (``[tool.uv] exclude-dependencies = ["torch"]``) got no torch on its first run and lost the one it had on every upgrade; setup now keeps an installed torch (an ``--inexact`` sync) and installs one for the machine's GPU with ``--torch-backend=auto`` only when it is missing, does not load, or has no kernels for the GPU, and a failed install is reported in the setup overlay while the app still starts and the next launch retries. (`#45 <https://github.com/directelectron/de-shell/pull/45>`_)

Review checklist

  • CHANGELOG.rst reads well — edit the assembled text directly if needed
  • Version is correct in de_shell/__init__.py
  • CI passes — but note it does NOT start on its own here: GitHub suppresses
    workflow runs for events raised with GITHUB_TOKEN, so a PR opened by this
    workflow gets no pull_request run. Close and reopen the PR, or push an
    empty commit to it, to get one. The wheel-contents leg is the one that
    matters most: it fails if de_shell/js is missing, which is the whole
    point of the package.

Manual check CI cannot cover

CI never runs Electron — it typechecks the TypeScript and runs the node unit
tests, nothing more. Before tagging a release that touched the sidecar
protocol or de_shell/js:

  • Link this tree into one app (python -m de_shell.js prints the path)
    and run that app's e2e suite against it.

After merging

Tag the merge commit on main — the tag MUST be exactly v0.5.1:

git fetch origin
git tag v0.5.1 origin/main
git push origin v0.5.1

The tag push triggers publish.yml: it refuses a tag that does not match
de_shell.__version__, builds the distributions, checks the wheel carries
de_shell/js, and uploads to PyPI through trusted publishing.

  • Confirm it actually published before telling the apps to pin it:
    uv pip index versions de-shell should list 0.5.1.

@CSSFrancis
CSSFrancis merged commit f66e59a into main Nov 20, 2026
8 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.

1 participant