From af556e0bff1a3cc8642af8ce6f09e9662eda0425 Mon Sep 17 00:00:00 2001 From: "alexei.dolgolyov" Date: Fri, 17 Apr 2026 23:40:45 +0300 Subject: [PATCH] chore: release v0.1.7 --- RELEASE_NOTES.md | 13 ++++++++++--- build-dist-linux.sh | 2 +- pyproject.toml | 8 +++----- 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index a3ff191..973fc03 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,7 +1,14 @@ -## v0.1.6 (2026-04-11) +## v0.1.7 (2026-04-17) -### Bug Fixes -- Bundle `wmi` explicitly in the Windows distribution. It's a transitive dependency of `screen-brightness-control` gated on `platform_system == "Windows"`, but pip evaluates environment markers against the host (Linux in CI), so it was silently skipped during cross-build. Now listed explicitly in both `pyproject.toml` and `build-dist-windows.sh` so the wheel lands in the Windows bundle. +### Changes +- Bundle the audio visualizer by default. `soundcard` and `numpy` are now mandatory dependencies instead of gated behind the optional `[visualizer]` extra, so the visualizer works out of the box on every install. + +--- + +### Development / Internal + +#### CI/Build +- Simplify `build-dist-linux.sh` to install `.` instead of `.[visualizer]` now that the deps are part of the base install. --- diff --git a/build-dist-linux.sh b/build-dist-linux.sh index d65ac9b..a931c69 100644 --- a/build-dist-linux.sh +++ b/build-dist-linux.sh @@ -21,7 +21,7 @@ echo "Creating virtualenv..." python3 -m venv "${DIST_DIR}/venv" source "${DIST_DIR}/venv/bin/activate" pip install --quiet --upgrade pip -pip install --quiet ".[visualizer]" +pip install --quiet "." # Remove the installed package (app source is on PYTHONPATH via launcher) rm -rf "${DIST_DIR}"/venv/lib/python*/site-packages/media_server* diff --git a/pyproject.toml b/pyproject.toml index aa92f13..97bead3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "media-server" -version = "0.1.6" +version = "0.1.7" description = "REST API server for controlling system-wide media playback" readme = "README.md" license = { text = "MIT" } @@ -32,6 +32,8 @@ dependencies = [ "pyyaml>=6.0", "mutagen>=1.47.0", "pillow>=10.0.0", + "soundcard>=0.4.0", + "numpy>=1.24.0,<2.0", ] [project.optional-dependencies] @@ -45,10 +47,6 @@ windows = [ "monitorcontrol>=3.0.0", "pystray>=0.19.0", ] -visualizer = [ - "soundcard>=0.4.0", - "numpy>=1.24.0,<2.0", -] dev = [ "pytest>=7.0", "pytest-asyncio>=0.21",