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
3 changes: 3 additions & 0 deletions .github/workflows/prep-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
contents: write
steps:
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
with:
node_version: "none"
python_package_manager: "uv pip"

- name: Prep Release
id: prep-release
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
environment: release
steps:
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
with:
node_version: "none"
python_package_manager: "uv pip"

- uses: actions/create-github-app-token@v3
id: app-token
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
id-token: write
steps:
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
with:
node_version: "none"
python_package_manager: "uv pip"

- uses: actions/create-github-app-token@v3
id: app-token
Expand Down
32 changes: 31 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,26 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.10", "3.13", "3.14", "3.14t"]
python-version: ["3.10", "3.13", "3.14"]
include:
- os: ubuntu-latest
python-version: "3.11"
- os: ubuntu-latest
python-version: "3.12"
# Free-threaded builds aren't in the runner tool cache and are
# expensive to provision on Windows/macOS (~73s vs ~23s on Linux),
# so exercise 3.14t on Linux only.
- os: ubuntu-latest
python-version: "3.14t"
- os: ubuntu-latest
python-version: "pypy-3.11"

steps:
- uses: actions/checkout@v7
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
with:
node_version: "none"
python_package_manager: "uv pip"
- name: Run Tests
run: hatch run cov:test
- uses: jupyterlab/maintainer-tools/.github/actions/upload-coverage@v1
Expand All @@ -58,6 +66,8 @@ jobs:
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
with:
dependency_type: minimum
node_version: "none"
python_package_manager: "uv pip"
- name: Run the unit tests
run: |
hatch run test:nowarn || hatch -v run test:nowarn --lf
Expand All @@ -68,6 +78,9 @@ jobs:
steps:
- uses: actions/checkout@v7
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
with:
node_version: "none"
python_package_manager: "uv pip"
- name: Run Linters
run: |
hatch run typing:test
Expand All @@ -81,6 +94,9 @@ jobs:
steps:
- uses: actions/checkout@v7
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
with:
node_version: "none"
python_package_manager: "uv pip"
- name: Build the docs
run: hatch run docs:build

Expand All @@ -95,6 +111,8 @@ jobs:
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
with:
dependency_type: pre
node_version: "none"
python_package_manager: "uv pip"
- name: Run the tests
run: |
hatch run test:nowarn || hatch run test:nowarn --lf
Expand All @@ -106,6 +124,9 @@ jobs:
steps:
- uses: actions/checkout@v7
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
with:
node_version: "none"
python_package_manager: "uv pip"
- uses: jupyterlab/maintainer-tools/.github/actions/make-sdist@v1

test_sdist:
Expand All @@ -115,13 +136,19 @@ jobs:
timeout-minutes: 20
steps:
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
with:
node_version: "none"
python_package_manager: "uv pip"
- uses: jupyterlab/maintainer-tools/.github/actions/test-sdist@v1

check_links:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
with:
node_version: "none"
python_package_manager: "uv pip"
- uses: jupyterlab/maintainer-tools/.github/actions/check-links@v1

check_release:
Expand All @@ -131,6 +158,9 @@ jobs:
uses: actions/checkout@v7
- name: Base Setup
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
with:
node_version: "none"
python_package_manager: "uv pip"
- name: Install Dependencies
run: |
pip install -e .
Expand Down