Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
python-version: [
"3.9", "3.10", "3.11", "3.12", "3.13-dev"
"3.9", "3.10", "3.11", "3.12", "3.13", "3.14"
]
os: [ubuntu-latest, macos-latest, windows-latest]

Expand All @@ -25,7 +25,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -40,7 +40,7 @@ jobs:

check_rust:
name: Check Rust
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
Expand All @@ -59,15 +59,15 @@ jobs:
working-directory: ./rust

benchmarks:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- name: Install uv
uses: astral-sh/setup-uv@v5
uses: astral-sh/setup-uv@v7

- name: Setup python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.13"
allow-prereleases: true
Expand All @@ -82,8 +82,9 @@ jobs:
uv pip install pytest==7.4.4 pyyaml==6.0.1 pytest-codspeed==3.2.0 Django==5.1.1 /home/runner/work/grimp/grimp

- name: Run benchmarks
uses: CodSpeedHQ/action@v3
uses: CodSpeedHQ/action@v4
with:
token: ${{ secrets.CODSPEED_TOKEN }}
mode: instrumentation
run: |
uv run pytest tests/benchmarking/ --codspeed
22 changes: 13 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,16 @@ jobs:
- runner: ubuntu-latest
target: ppc64le
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: |
3.9
3.10
3.11
3.12
3.13
3.14
allow-prereleases: true
- name: Build wheels
uses: PyO3/maturin-action@v1
Expand Down Expand Up @@ -70,15 +71,16 @@ jobs:
- runner: ubuntu-latest
target: armv7
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: |
3.9
3.10
3.11
3.12
3.13
3.14
allow-prereleases: true
- name: Build wheels
uses: PyO3/maturin-action@v1
Expand All @@ -103,15 +105,16 @@ jobs:
- runner: windows-latest
target: x86
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: |
3.9
3.10
3.11
3.12
3.13
3.14
allow-prereleases: true
architecture: ${{ matrix.platform.target }}
- name: Build wheels
Expand All @@ -136,15 +139,16 @@ jobs:
- runner: macos-14
target: aarch64
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: |
3.9
3.10
3.11
3.12
3.13
3.14
allow-prereleases: true
- name: Build wheels
uses: PyO3/maturin-action@v1
Expand All @@ -161,7 +165,7 @@ jobs:
sdist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Build sdist
uses: PyO3/maturin-action@v1
with:
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
Changelog
=========

latest
------

* Officially support Python 3.14.

3.11 (2025-09-01)
-----------------

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Rust",
"Topic :: Utilities",
Expand Down
17 changes: 6 additions & 11 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ envlist =
clean,
check,
docs,
{py39,py310,py311,py312,py13},
py13-joblib-earliest,
{py39,py310,py311,py312,py313,py314},

[base]
deps =
Expand All @@ -27,7 +26,7 @@ basepython =
py311: {env:TOXPYTHON:python3.11}
py312: {env:TOXPYTHON:python3.12}
py313: {env:TOXPYTHON:python3.13}
py313-joblib-earliest: {env:TOXPYTHON:python3.13}
py314: {env:TOXPYTHON:python3.14}
{clean,check,docs,report}: {env:TOXPYTHON:python3}
setenv =
PYTHONPATH={toxinidir}/tests
Expand All @@ -41,11 +40,6 @@ deps =
commands =
{posargs:pytest --cov --cov-report=term-missing --benchmark-skip -vv tests}

[testenv:py313-joblib-earliest]
deps =
{[base]deps}
joblib==1.3.0

[testenv:check]
basepython = py313
deps =
Expand All @@ -62,7 +56,7 @@ commands =
lint-imports

[testenv:benchmark]
basepython = py313
basepython = py314
setenv =
PYTHONPATH={toxinidir}/tests
PYTHONUNBUFFERED=yes
Expand All @@ -78,7 +72,7 @@ commands =
{posargs:pytest --benchmark-only --benchmark-autosave}

[testenv:codspeed]
basepython = py313
basepython = py314
setenv =
PYTHONPATH={toxinidir}/tests
PYTHONUNBUFFERED=yes
Expand Down Expand Up @@ -121,4 +115,5 @@ python =
3.10: py310, report
3.11: py311, report
3.12: py312, report
3.13: py313, py313-joblib-earliest, report, check, docs
3.13: py313, report, check, docs
3.14: py314, report
Loading