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 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 diff --git a/pyproject.toml b/pyproject.toml index c4815b9..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 = [ @@ -22,9 +22,9 @@ 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", + "requests >= 2.33.0, < 2.34.0", "tenacity >= 8.1.0, < 8.2.0", "randomname >= 0.1.5, < 0.2.0", ]