From 390c6ad77ec50f68ffe0833009aed3c6c734adb4 Mon Sep 17 00:00:00 2001 From: Spencer Fields <58378262+sgf36@users.noreply.github.com> Date: Mon, 28 Sep 2026 17:01:07 +0100 Subject: [PATCH 1/2] Bump version to 1.5.0 Co-Authored-By: Claude Opus 4.6 --- app/config.py | 2 +- packaging/msix/AppxManifest.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/config.py b/app/config.py index 1bc4a16..1198d9f 100644 --- a/app/config.py +++ b/app/config.py @@ -13,7 +13,7 @@ # (app/core/update_check.py) compares this against the latest GitHub release # tag to decide whether to prompt the user to update. Keep it in step with the # release tag and packaging/msix/AppxManifest.xml on every release. -APP_VERSION = "1.4.0" +APP_VERSION = "1.5.0" ICON_PATH = Path(__file__).parent / "resources" / "icons" / "app_icon.png" diff --git a/packaging/msix/AppxManifest.xml b/packaging/msix/AppxManifest.xml index 6cd76f8..a2319a8 100644 --- a/packaging/msix/AppxManifest.xml +++ b/packaging/msix/AppxManifest.xml @@ -9,7 +9,7 @@ From e5dc2992fc20eb5f364b0753c32dbf4d121e6a50 Mon Sep 17 00:00:00 2001 From: Spencer Fields <58378262+sgf36@users.noreply.github.com> Date: Tue, 29 Sep 2026 11:50:39 +0100 Subject: [PATCH 2/2] Fix test_no_price_is_invented_off_the_store failing when store_build.flag is present MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The test assumed the flag file would never exist in a dev checkout, but a leftover from a prior packaging run made STORE_BUILD=True and caused unlock_price() to hit the real Microsoft Store API (returning £24.99). Monkeypatch the store flags to False so the test is resilient to flag files on disk. Co-Authored-By: Claude Opus 4.6 --- tests/test_onboarding_screens.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/test_onboarding_screens.py b/tests/test_onboarding_screens.py index 3e4da12..abfd541 100644 --- a/tests/test_onboarding_screens.py +++ b/tests/test_onboarding_screens.py @@ -386,11 +386,14 @@ def get_store_products_async(self, kinds, ids): assert se.unlock_price() == "79,00 €" -def test_no_price_is_invented_off_the_store(): +def test_no_price_is_invented_off_the_store(monkeypatch): import app.core.mac_store_entitlement as mse import app.core.store_entitlement as se - # Tests run unpackaged and without the store flags, so neither store answers. + # Force the store flags off so a leftover flag file from a packaging run + # does not cause the test to hit the real Store API. + monkeypatch.setattr(se, "STORE_BUILD", False) + monkeypatch.setattr(mse, "MAS_BUILD", False) assert se.unlock_price() is None assert mse.unlock_price() is None