From 66873d4c2b58c65964783912723c9a48d798f3b3 Mon Sep 17 00:00:00 2001 From: uvasoftware-skippy <30219621+uvasoftware-skippy@users.noreply.github.com> Date: Sat, 15 Aug 2026 09:50:52 -0400 Subject: [PATCH] Bump CI actions; prep 1.0.1 - actions/checkout v4 -> v7, actions/setup-python v5 -> v7 (pr.yml + release.yml) - Version 1.0.1 in pyproject.toml and _version.py - User-agent unit test now derives the expected string from __version__ - CHANGELOG entry --- .github/workflows/pr.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- CHANGELOG.md | 8 ++++++++ pyproject.toml | 2 +- src/scanii/_version.py | 2 +- tests/test_client_unit.py | 4 +++- 6 files changed, 17 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 778f5b2..62facc4 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -17,9 +17,9 @@ jobs: python: ["3.13", "3.14"] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v7 with: python-version: ${{ matrix.python }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cb90c1d..a86ed94 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,11 +14,11 @@ jobs: contents: read steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: ref: ${{ github.event.release.tag_name }} - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v7 with: python-version: "3.13" diff --git a/CHANGELOG.md b/CHANGELOG.md index f531a9d..9e72bac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.0.1 — 2026-08-15 + +### Changed + +- Bumped CI actions: `actions/checkout` v4 → v7, `actions/setup-python` v5 → v7. + (Dev dependencies are unpinned ranges resolved at install time; runtime + `dependencies` remains empty — the published package is unchanged.) + ## 1.0.0 — 2026-05-05 Initial release. Replaces the unmaintained `scanii.py` skeleton. diff --git a/pyproject.toml b/pyproject.toml index 761dbe6..e44f1de 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "scanii-python" -version = "1.0.0" +version = "1.0.1" description = "Zero-dependency Python SDK for the Scanii content security API" readme = "README.md" license = "Apache-2.0" diff --git a/src/scanii/_version.py b/src/scanii/_version.py index 5becc17..5c4105c 100644 --- a/src/scanii/_version.py +++ b/src/scanii/_version.py @@ -1 +1 @@ -__version__ = "1.0.0" +__version__ = "1.0.1" diff --git a/tests/test_client_unit.py b/tests/test_client_unit.py index e0b5571..a7b495e 100644 --- a/tests/test_client_unit.py +++ b/tests/test_client_unit.py @@ -139,8 +139,10 @@ def test_constants_match_openapi_spec(self): class TestConstructor: def test_key_and_secret_accepted(self): + from scanii._version import __version__ + c = _make_client() - assert c._user_agent == "scanii-python/1.0.0" + assert c._user_agent == f"scanii-python/{__version__}" def test_token_accepted(self): c = ScaniiClient(token="mytoken", target=TARGET)