From 9a4bfcf2d9173d2fb92d839fed999f09f70cb93b Mon Sep 17 00:00:00 2001 From: reubenmiller Date: Tue, 21 Apr 2026 22:25:54 +0200 Subject: [PATCH 1/4] chore: update python-dotenv dependency version to 1.2.2 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index c4815b9..82f56fa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,7 @@ classifiers = [ dynamic = ["version"] dependencies = [ "c8y-api >= 1.10, < 1.11", - "python-dotenv >= 1.0.0, < 1.1.0", + "python-dotenv >= 1.2.2, < 1.3.0", "pyyaml >= 6.0, < 7.0", "requests >= 2.32.0, < 2.33.0", "tenacity >= 8.1.0, < 8.2.0", From 546d40dcc912f8357878272da0a0ab0d2851d7b7 Mon Sep 17 00:00:00 2001 From: reubenmiller Date: Tue, 21 Apr 2026 22:28:33 +0200 Subject: [PATCH 2/4] chore: update minimum python version to 3.10 --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 82f56fa..bfac6b9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ write_to = "c8y_test_core/_version.py" name = "c8y_test_core" description = "Core test library for Cumulocity IoT" readme = "README.md" -requires-python = ">=3.8" +requires-python = ">=3.10" keywords = ["CumulocityIoT", "testing"] license = {text = "MIT"} classifiers = [ @@ -24,7 +24,7 @@ dependencies = [ "c8y-api >= 1.10, < 1.11", "python-dotenv >= 1.2.2, < 1.3.0", "pyyaml >= 6.0, < 7.0", - "requests >= 2.32.0, < 2.33.0", + "requests >= 2.33.0, < 2.34.0", "tenacity >= 8.1.0, < 8.2.0", "randomname >= 0.1.5, < 0.2.0", ] From 56917363d4aeb2ba775f972933816c190671efe5 Mon Sep 17 00:00:00 2001 From: reubenmiller Date: Tue, 21 Apr 2026 22:28:45 +0200 Subject: [PATCH 3/4] ci: remove testing on python 3.9 --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index f01da77..2594972 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -18,7 +18,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] steps: # Checkout either the PR or the branch From d0a4ef1aa2ce623d139022af215deca990a6b563 Mon Sep 17 00:00:00 2001 From: reubenmiller Date: Tue, 21 Apr 2026 22:37:14 +0200 Subject: [PATCH 4/4] on windows call python instead of python3 --- justfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/justfile b/justfile index 2e4094c..1103645 100644 --- a/justfile +++ b/justfile @@ -1,12 +1,15 @@ # Note: Windows stores virtual environment scripts under Scripts/ directory instead of bin/ +# and uses 'python'/'pip' instead of 'python3'/'pip3' venv_bin := if os_family() == "windows" { ".venv/Scripts" } else { ".venv/bin" } +python := if os_family() == "windows" { "python" } else { "python3" } +pip := if os_family() == "windows" { "pip" } else { "pip3" } # Install python virtual environment venv: - [ -d .venv ] || python3 -m venv .venv - {{venv_bin}}/pip3 install . + [ -d .venv ] || {{python}} -m venv .venv + {{venv_bin}}/{{pip}} install . # Run unit tests test: - {{venv_bin}}/python3 -m unittest -v + {{venv_bin}}/{{python}} -m unittest -v