From b86582257204c0da5e7cc46523f7c831edda3f54 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 20 Nov 2026 04:38:03 +0000 Subject: [PATCH] chore: prepare release v0.5.1 --- CHANGELOG.rst | 17 +++++++++++++++++ de_shell/__init__.py | 2 +- upcoming_changes/45.bugfix.1.rst | 1 - upcoming_changes/45.bugfix.2.rst | 1 - upcoming_changes/45.bugfix.rst | 1 - upcoming_changes/45.new_feature.rst | 1 - 6 files changed, 18 insertions(+), 5 deletions(-) delete mode 100644 upcoming_changes/45.bugfix.1.rst delete mode 100644 upcoming_changes/45.bugfix.2.rst delete mode 100644 upcoming_changes/45.bugfix.rst delete mode 100644 upcoming_changes/45.new_feature.rst diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 001a085..1c44bfc 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -12,6 +12,23 @@ change to the sidecar protocol bumps the minor. .. towncrier release notes start +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 `_) + + +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 `_) +- 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 ``_TORCH_BACKEND`` overrides the choice. (`#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 `_) + + 0.5.0 (2026-11-16) ================== diff --git a/de_shell/__init__.py b/de_shell/__init__.py index 31ef07d..c720c6e 100644 --- a/de_shell/__init__.py +++ b/de_shell/__init__.py @@ -20,6 +20,6 @@ #: The package version — the one place it is written. pyproject.toml reads it #: (dynamic version) and the release workflow refuses a tag that disagrees. -__version__ = "0.5.0" +__version__ = "0.5.1" __all__ = ["ipc", "log_stream", "process_guard", "debug_flags", "compute"] diff --git a/upcoming_changes/45.bugfix.1.rst b/upcoming_changes/45.bugfix.1.rst deleted file mode 100644 index 1a43271..0000000 --- a/upcoming_changes/45.bugfix.1.rst +++ /dev/null @@ -1 +0,0 @@ -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. diff --git a/upcoming_changes/45.bugfix.2.rst b/upcoming_changes/45.bugfix.2.rst deleted file mode 100644 index 0eda33d..0000000 --- a/upcoming_changes/45.bugfix.2.rst +++ /dev/null @@ -1 +0,0 @@ -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 ``_TORCH_BACKEND`` overrides the choice. diff --git a/upcoming_changes/45.bugfix.rst b/upcoming_changes/45.bugfix.rst deleted file mode 100644 index 1fdb6c0..0000000 --- a/upcoming_changes/45.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -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. diff --git a/upcoming_changes/45.new_feature.rst b/upcoming_changes/45.new_feature.rst deleted file mode 100644 index 0190369..0000000 --- a/upcoming_changes/45.new_feature.rst +++ /dev/null @@ -1 +0,0 @@ -``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.