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
6 changes: 3 additions & 3 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:

steps:
- name: Checkout repository.
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Install UV.
uses: astral-sh/setup-uv@v6
uses: astral-sh/setup-uv@v8.1.0

- name: Install dependencies.
run: uv sync --group testing
Expand All @@ -38,7 +38,7 @@ jobs:
run: uv run pytest . -m benchmark_main --benchmark-enable --benchmark-json=output.json

- name: Download previous benchmark data.
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ./benchmark-data
key: benchmark-${{ github.base_ref || github.ref_name }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codspeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:
benchmarks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5 # required for correct CodSpeed integration
- uses: actions/checkout@v6
- uses: actions/setup-python@v6 # required for correct CodSpeed integration
with:
python-version: ${{ env.UV_PYTHON }}

- name: Install UV.
uses: astral-sh/setup-uv@v6
uses: astral-sh/setup-uv@v8.1.0
with:
enable-cache: true

Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
interpreter: pypy3.11
- os: macos
target: aarch64
# actions/setup-python@v5 does not support 3.8 and 3.9 on arm64
# actions/setup-python@v6 does not support 3.8 and 3.9 on arm64
interpreter: 3.8 3.9 pypy3.11

- os: ubuntu
Expand Down Expand Up @@ -75,8 +75,8 @@ jobs:

runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: '3.11'
architecture: ${{ matrix.python-architecture || 'x64' }}
Expand All @@ -101,7 +101,7 @@ jobs:
run: ${{ (runner.os == 'Windows' && 'dir') || 'ls -lh' }} dist/

- name: Upload wheels
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: pypi_wheels_${{ matrix.os }}_${{ matrix.target }}_${{ matrix.interpreter || 'all' }}_${{ matrix.manylinux }}
path: dist
Expand All @@ -114,7 +114,7 @@ jobs:
os: [ ubuntu-latest, windows-latest, macos-13, macos-14 ]
interpreter: [ '3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
exclude:
# actions/setup-python@v5 does not support 3.8 and 3.9 on arm64
# actions/setup-python@v6 does not support 3.8 and 3.9 on arm64
- os: macos-14
interpreter: '3.8'
- os: macos-14
Expand All @@ -129,14 +129,14 @@ jobs:
git config --global core.eol lf

- name: Checkout repository.
uses: actions/checkout@v4
uses: actions/checkout@v6

- uses: actions/setup-python@v5 # required for macos-13 with Python 3.8-3.10... otherwise UV uses PyPy...
- uses: actions/setup-python@v6 # required for macos-13 with Python 3.8-3.10... otherwise UV uses PyPy...
with:
python-version: ${{ matrix.interpreter }}

- name: Install UV.
uses: astral-sh/setup-uv@v6
uses: astral-sh/setup-uv@v8.1.0
with:
python-version: ${{ matrix.interpreter }}

Expand Down Expand Up @@ -188,22 +188,22 @@ jobs:
run: ${{ (runner.os == 'Windows' && 'dir') || 'ls -lh' }} dist/

- name: Upload wheels.
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: pypi_pgo_wheels_${{ matrix.os }}_${{ matrix.interpreter }}
path: dist

build-sdist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Build sdist.
uses: PyO3/maturin-action@v1
with:
command: sdist
args: --out dist
- name: Upload sdist.
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: pypi_sdist
path: dist
Expand All @@ -213,13 +213,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: '3.14'

- name: Get dist artifacts.
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
pattern: pypi_*
merge-multiple: true
Expand All @@ -242,7 +242,7 @@ jobs:
if: "startsWith(github.ref, 'refs/tags/')"
needs: [ build, build-pgo, build-sdist, check ]
steps:
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
pattern: pypi_*
merge-multiple: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:

steps:
- name: Checkout repository.
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Install UV.
uses: astral-sh/setup-uv@v6
uses: astral-sh/setup-uv@v8.1.0

- name: Install dependencies.
run: uv sync --group testing
Expand All @@ -32,7 +32,7 @@ jobs:
run: uv run pytest

- name: Checkout dasl-testing.
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
repository: hyphacoop/dasl-testing
path: dasl-testing
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ dev = ["maturin>=1.8.7,<2.0"]
testing = [
{ include-group = "dev" },
'pytest==8.3.5; python_version == "3.8"',
'pytest==8.4.1; python_version >= "3.9"',
'pytest==8.4.2; python_version >= "3.9"',
'pytest-benchmark==4.0.0; python_version == "3.8"',
'pytest-benchmark==5.1.0; python_version >= "3.9"',
'pytest-benchmark==5.2.3; python_version >= "3.9"',
'pytest-xdist==3.6.1; python_version == "3.8"',
'pytest-xdist==3.8.0; python_version >= "3.9"',
]
codspeed = [
# only run on CI with the latest Python version
'pytest-codspeed==4.2.0; python_version == "3.14" and implementation_name == "cpython"',
'pytest-codspeed==5.0.3; python_version == "3.14" and implementation_name == "cpython"',
]

all = [
Expand Down
Loading
Loading