diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 4b4999e..a3ff191 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,17 +1,9 @@ -## v0.1.5 (2026-04-11) +## v0.1.6 (2026-04-11) ### Bug Fixes -- Make WebSocket token query parameter optional to prevent connection failures for clients that authenticate via other means ([34eb7c7](https://git.dolgolyov-family.by/alexei.dolgolyov/media-player-server/commit/34eb7c7)) -- Fetch playback status eagerly on new WebSocket connection instead of waiting for the next poll cycle ([d09a0b9](https://git.dolgolyov-family.by/alexei.dolgolyov/media-player-server/commit/d09a0b9)) +- 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. --- -
-All Commits - -| Hash | Message | Author | -|------|---------|--------| -| [34eb7c7](https://git.dolgolyov-family.by/alexei.dolgolyov/media-player-server/commit/34eb7c7) | fix(ws): make WebSocket token parameter optional | alexei.dolgolyov | -| [d09a0b9](https://git.dolgolyov-family.by/alexei.dolgolyov/media-player-server/commit/d09a0b9) | fix(ws): fetch status eagerly on new WebSocket connection | alexei.dolgolyov | - -
+### Contributors +- @alexei.dolgolyov — 1 change diff --git a/build-dist-windows.sh b/build-dist-windows.sh index f7973f2..fa49ed3 100644 --- a/build-dist-windows.sh +++ b/build-dist-windows.sh @@ -60,12 +60,18 @@ CORE_DEPS=( ) # Windows-specific dependencies +# NOTE: wmi is a transitive dep of screen-brightness-control gated on +# `platform_system == "Windows"`. pip evaluates env markers against the HOST +# (Linux in CI), so it gets skipped during cross-build. Listed explicitly here +# so the wheel actually lands in the Windows bundle. Same gotcha as the +# uvicorn[standard]/uvloop case documented above. WIN_DEPS=( "winsdk>=1.0.0b10" "pywin32>=306" "comtypes>=1.2.0" "pycaw>=20230407" "screen-brightness-control>=0.20.0" + "wmi>=1.5.1" "monitorcontrol>=3.0.0" ) diff --git a/pyproject.toml b/pyproject.toml index e2496ea..aa92f13 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "media-server" -version = "0.1.5" +version = "0.1.6" description = "REST API server for controlling system-wide media playback" readme = "README.md" license = { text = "MIT" } @@ -41,6 +41,7 @@ windows = [ "comtypes>=1.2.0", "pycaw>=20230407", "screen-brightness-control>=0.20.0", + "wmi>=1.5.1", "monitorcontrol>=3.0.0", "pystray>=0.19.0", ]