Skip to content

Commit 78b4d7f

Browse files
authored
Merge pull request #15 from predict-idlab/ci-matrix_python_versions
CI: Matrix on supported Python versions Bump minimum python to 3.10
2 parents 09902a0 + 13daef3 commit 78b4d7f

File tree

3 files changed

+32
-149
lines changed

3 files changed

+32
-149
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,15 @@ on:
1010
jobs:
1111
lint:
1212
name: Run linting and format
13+
strategy:
14+
matrix:
15+
# Only test a subset of python versions, to limit compute
16+
python: [python3.10, python3.11, python3.13]
1317
runs-on: ubuntu-latest
1418
steps:
1519
- uses: actions/checkout@v4
1620
- uses: astral-sh/setup-uv@v6
17-
- run: uv python install python3.13
21+
- run: uv python install ${{ matrix.python }}
1822
- run: uv run ruff check src/obelisk/
1923
- run: uv run ruff format --check src/obelisk/
2024
- run: uv run mypy src/obelisk/
@@ -23,9 +27,11 @@ jobs:
2327
strategy:
2428
matrix:
2529
os: [ubuntu-latest, macos-latest, windows-latest]
30+
# Only test a subset of python versions, to limit compute
31+
python: [python3.10, python3.11, python3.13]
2632
runs-on: ${{ matrix.os }}
2733
steps:
2834
- uses: actions/checkout@v4
2935
- uses: astral-sh/setup-uv@v6
30-
- run: uv python install python3.13
36+
- run: uv python install ${{ matrix.python }}
3137
- run: uv run pytest

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "obelisk-py"
33
description = "The one Obelisk client to rule them all"
44
readme = "README.md"
5-
requires-python = ">=3.9,<3.14"
5+
requires-python = ">=3.10,<3.14"
66
dependencies = [
77
"ruff>=0.9.6",
88
"httpx>=0.28.1",

0 commit comments

Comments
 (0)