From d71e95be21770f9a104b9209e24bddbb9f9d8e1a Mon Sep 17 00:00:00 2001 From: Mick Vleeshouwer Date: Wed, 20 May 2026 21:53:34 +0200 Subject: [PATCH 1/3] Prepare for v2.0.0rc1 pre-release - Bump version to 2.0.0rc1 - Add pre-release install note to getting started docs - Remove README.md from docs PR trigger (not relevant) --- .github/workflows/docs.yml | 1 - docs/getting-started.md | 7 +++++-- pyproject.toml | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index c1183a52..d46efc22 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -9,7 +9,6 @@ on: - docs/** - mkdocs.yml - pyproject.toml - - README.md permissions: contents: read diff --git a/docs/getting-started.md b/docs/getting-started.md index 0e90305a..6ec57f1b 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -13,16 +13,19 @@ This guide will help you install the library, connect to your hub, and perform y ## Install pyOverkiz from PyPI +!!! note "Pre-release" + pyOverkiz v2 is currently in pre-release. Use the `--prerelease allow` (uv) or `--pre` (pip) flag until the stable release is available on PyPI. + ### With UV recommended ```bash -uv add pyoverkiz +uv add pyoverkiz --prerelease allow ``` ### With pip ```bash -pip install pyoverkiz +pip install --pre pyoverkiz ``` ### Optional extras diff --git a/pyproject.toml b/pyproject.toml index 725ff323..df723d23 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "pyoverkiz" -version = "2.0.0" +version = "2.0.0rc1" description = "A fully asynchronous API client for interaction with smart devices connected to OverKiz, supporting multiple vendors such as Somfy TaHoma and Atlantic Cozytouch." readme = "README.md" authors = [ From e742bc1f3449f51afc1610d66c082089e7288546 Mon Sep 17 00:00:00 2001 From: Mick Vleeshouwer Date: Wed, 20 May 2026 21:59:17 +0200 Subject: [PATCH 2/3] Fix user agent test for pre-release versions --- tests/test_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_client.py b/tests/test_client.py index bb3b6c63..023cccd8 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -1217,7 +1217,7 @@ def test_user_agent_contains_version(self): assert USER_AGENT.startswith("pyoverkiz/") version_part = USER_AGENT.split("/", 1)[1] assert version_part # not empty - assert all(c.isdigit() or c == "." for c in version_part) + assert all(c.isdigit() or c.isalpha() or c == "." for c in version_part) @pytest.mark.asyncio async def test_client_session_uses_user_agent(self): From 62d486fbbb67492241b214c22b7893c48b440a8f Mon Sep 17 00:00:00 2001 From: Mick Vleeshouwer Date: Wed, 20 May 2026 22:00:25 +0200 Subject: [PATCH 3/3] Update uv.lock for 2.0.0rc1 --- uv.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uv.lock b/uv.lock index 087387f0..99db6d82 100644 --- a/uv.lock +++ b/uv.lock @@ -1004,7 +1004,7 @@ wheels = [ [[package]] name = "pyoverkiz" -version = "2.0.0" +version = "2.0.0rc1" source = { editable = "." } dependencies = [ { name = "aiohttp" },