Bump dependencies & add 3.12/13 support

This commit is contained in:
Andras Schmelczer 2026-10-27 16:17:58 +00:00
commit 6a8d669755
3 changed files with 130 additions and 85 deletions

View file

@ -7,6 +7,7 @@ on:
- 'docs/**'
- 'great_ai/**'
- 'mkdocs.yaml'
- 'pyproject.toml'
- '.forgejo/workflows/docs.yml'
workflow_dispatch:
@ -29,11 +30,11 @@ jobs:
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
- name: Set up Python
run: uv python install 3.10
run: uv python install 3.13
- name: Install dependencies
run: |
uv venv --python 3.10
uv venv --python 3.13
uv pip install '.[dev]'
- name: Build documentation

View file

@ -17,7 +17,7 @@ jobs:
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
- name: Set up Python
run: uv python install 3.10
run: uv python install 3.13
# Forgejo cannot use PyPI trusted publishing (OIDC), so authenticate with
# an API token, the same way the sibling repos publish their packages.

View file

@ -24,14 +24,14 @@ jobs:
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
- name: Set up Python
run: uv python install 3.10
run: uv python install 3.13
- name: Install dependencies
# --seed gives the venv its own pip, which scripts/check-python.sh shells
# out to for its linters; '.[dev]' provides the rest (mypy resolves the
# package's own imports against the installed tree).
run: |
uv venv --seed --python 3.10
uv venv --seed --python 3.13
uv pip install '.[dev]'
- name: Check code and formatting
@ -45,12 +45,7 @@ jobs:
strategy:
fail-fast: false
matrix:
# pyproject declares >= 3.7, but uv's standalone CPython and the current
# dependency floors (scikit-learn/numpy now require >= 3.9) no longer
# build on the older interpreters, so we test the current supported set.
# The windows leg of the old GitHub matrix is dropped: this Forgejo
# instance only has a Linux `docker` runner.
python-version: ['3.10', '3.11', '3.12', '3.13']
python-version: ['3.12', '3.13']
steps:
- uses: actions/checkout@v4