Skip to content

Commit 977267d

Browse files
authored
chore(python): test on 3.12 through 3.14; floor moves to 3.12 (#256)
## Summary Tests the client on every interpreter it supports, 3.12 through 3.14, in a fail-fast-off matrix like the Node matrix in the TypeScript client, and moves the floor from 3.11 to 3.12 now that robosystems itself runs on 3.14. Python 3.10 reached end of life this month and 3.11 has been security-only since 2024; PyPI's interpreter breakdown for this package shows 3.11 at about an eighth of version-tagged installs, which this PR trades for a floor the scientific stack is converging on. ## Changes - **Packaging** — `requires-python` 3.11 → 3.12; the 3.11 classifier dropped and 3.14 added; basedpyright's `pythonVersion` now the floor (3.12) so the typecheck is against what we promise, not what we develop on. - **CI** — `test.yml` runs the whole job (pytest, ruff, basedpyright, GraphQL codegen drift gate) under `matrix.python-version: ['3.12', '3.13', '3.14']`, `fail-fast: false`. The checks are now named `test (3.12)`, `test (3.13)`, `test (3.14)`; the Main Branch ruleset's required check moves from `test` to those three, as the TypeScript client's does for `test (22)` / `test (24)`. - **Release build** — `create-release.yml` builds and publishes on 3.14. No generated code, facade or model changed. ## Compatibility INTERNAL to the emitted surface. Packaging note for the release notes: a consumer on Python 3.11 keeps resolving to 2.14.2 and receives no later release. ## Testing Suite run locally in scratch venvs on 3.12, 3.13 and 3.14 and on the old 3.11 floor: 688 passed, 17 skipped on each. `ruff check`, `ruff format --check` and `basedpyright` clean on the new lock with the 3.12 typecheck target. The codegen drift gate was not run locally; CI runs it on all three legs. No distribution built. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
2 parents 06b8368 + b549f57 commit 977267d

3 files changed

Lines changed: 11 additions & 7 deletions

File tree

‎.github/workflows/create-release.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Setup Python
3535
uses: actions/setup-python@v7
3636
with:
37-
python-version: "3.13"
37+
python-version: "3.14"
3838

3939
- name: Install uv
4040
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
@@ -157,7 +157,7 @@ jobs:
157157
- name: Setup Python
158158
uses: actions/setup-python@v7
159159
with:
160-
python-version: "3.13"
160+
python-version: "3.14"
161161

162162
- name: Install dependencies
163163
run: |

‎.github/workflows/test.yml‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,21 @@ on:
99
jobs:
1010
test:
1111
runs-on: ubuntu-24.04
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
python-version: ['3.12', '3.13', '3.14']
1216
permissions:
1317
contents: read
1418
timeout-minutes: 5
1519
steps:
1620
- name: Checkout
1721
uses: actions/checkout@v7
1822

19-
- name: Setup Python
23+
- name: Setup Python ${{ matrix.python-version }}
2024
uses: actions/setup-python@v7
2125
with:
22-
python-version: "3.13"
26+
python-version: ${{ matrix.python-version }}
2327

2428
- name: Install uv
2529
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0

‎pyproject.toml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "robosystems-client"
33
version = "2.14.2"
44
description = "Python client library for the RoboSystems financial intelligence platform"
55
readme = "README.md"
6-
requires-python = ">=3.11"
6+
requires-python = ">=3.12"
77
authors = [
88
{name = "RFS LLC"},
99
]
@@ -20,9 +20,9 @@ classifiers = [
2020
"Natural Language :: English",
2121
"Operating System :: OS Independent",
2222
"Programming Language :: Python :: 3",
23-
"Programming Language :: Python :: 3.11",
2423
"Programming Language :: Python :: 3.12",
2524
"Programming Language :: Python :: 3.13",
25+
"Programming Language :: Python :: 3.14",
2626
"Topic :: Office/Business :: Financial",
2727
"Topic :: Office/Business :: Financial :: Accounting",
2828
"Topic :: Software Development :: Libraries :: Python Modules",
@@ -82,7 +82,7 @@ include = [
8282
include = ["robosystems_client/clients"]
8383
exclude = ["tests"]
8484
extraPaths = ["."]
85-
pythonVersion = "3.13"
85+
pythonVersion = "3.12"
8686
venvPath = "."
8787
venv = ".venv"
8888
typeCheckingMode = "standard"

0 commit comments

Comments
 (0)