From 173d159d9a945f16fe81cfc4baf0482b2ddea8a7 Mon Sep 17 00:00:00 2001 From: Bartosz Date: Fri, 12 Jun 2026 01:20:03 +0200 Subject: [PATCH 1/3] Modernize the CI test matrix Run the CI test job across a Python version matrix of 3.11, 3.12 and 3.13 instead of a single fixed 3.13 interpreter. --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c4653ba..7596ae4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,12 +8,16 @@ on: jobs: test: runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + python-version: ['3.11', '3.12', '3.13'] steps: - uses: actions/checkout@v5 - name: Set up Python uses: actions/setup-python@v6 with: - python-version: '3.13' + python-version: ${{ matrix.python-version }} cache: pip - run: pip install -r requirements-dev.txt - name: Byte-compile sources From 4566b64d6b6d4a26b6eeba29cb03f720ad9382cd Mon Sep 17 00:00:00 2001 From: Bartosz Date: Mon, 7 Sep 2026 14:28:53 +0200 Subject: [PATCH 2/3] =?UTF-8?q?Run=20specs=20on=20Python=203.9=E2=80=933.1?= =?UTF-8?q?3.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 2 +- readme.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7596ae4..8b41feb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.11', '3.12', '3.13'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] steps: - uses: actions/checkout@v5 - name: Set up Python diff --git a/readme.md b/readme.md index 23a1833..022e7cd 100644 --- a/readme.md +++ b/readme.md @@ -1,7 +1,7 @@ # Castle demo application: Python This project demonstrates key Castle workflows in a Python / Flask app built on -the [castle](https://github.com/castle/castle-python) SDK (7.1). +the [castle](https://github.com/castle/castle-python) SDK (7.x). ## What's demonstrated @@ -37,7 +37,7 @@ These are the only two values you need to configure. ## Running locally -The castle 7.1 SDK requires **Python 3.9 or newer** (tested with Python 3.13). +The castle 7.x SDK requires **Python 3.9 or newer** (tested with Python 3.9–3.13). ```bash git clone https://github.com/castle/castle-python-example.git From f5e242f390d140eeaf944a146e33cb7cc1c376a4 Mon Sep 17 00:00:00 2001 From: Bartosz Date: Mon, 7 Sep 2026 14:31:34 +0200 Subject: [PATCH 3/3] =?UTF-8?q?Run=20specs=20on=20Python=203.10=E2=80=933.?= =?UTF-8?q?13.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 2 +- readme.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8b41feb..ec463ec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] + python-version: ['3.10', '3.11', '3.12', '3.13'] steps: - uses: actions/checkout@v5 - name: Set up Python diff --git a/readme.md b/readme.md index 022e7cd..89607a4 100644 --- a/readme.md +++ b/readme.md @@ -37,7 +37,7 @@ These are the only two values you need to configure. ## Running locally -The castle 7.x SDK requires **Python 3.9 or newer** (tested with Python 3.9–3.13). +The castle 7.x SDK requires **Python 3.9 or newer**. This app is tested on Python 3.10–3.13. ```bash git clone https://github.com/castle/castle-python-example.git