Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 6 additions & 3 deletions justfile
Original file line number Diff line number Diff line change
@@ -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
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand All @@ -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",
]
Loading