Skip to content

Commit 5ec47db

Browse files
authored
Merge branch 'main' into patch-1
2 parents 3bf51d5 + a500594 commit 5ec47db

18 files changed

Lines changed: 556 additions & 79 deletions

.github/workflows/ci.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515

1616
steps:
1717
- uses: actions/checkout@v4
18-
- name: Set up Python 3.9
18+
- name: Set up Python
1919
uses: actions/setup-python@v5
2020
with:
21-
python-version: 3.9
21+
python-version: "3.11"
2222
- uses: pre-commit/action@v3.0.1
2323

2424
tests:
@@ -27,21 +27,21 @@ jobs:
2727
fail-fast: false
2828
matrix:
2929
os: [ubuntu-latest]
30-
python-version: ["3.9", "3.10", "3.11", "3.12"]
31-
sphinx-version: ["~=7.0"]
30+
python-version: ["3.11", "3.12", "3.13", "3.14"]
31+
sphinx-version: ["~=7.0", "~=8.0", "~=9.0"]
3232
extras: ["testing"]
3333
include:
34-
- os: ubuntu-latest
35-
python-version: "3.9"
36-
sphinx-version: "~=6.0"
34+
- os: windows-latest
35+
python-version: "3.11"
36+
sphinx-version: "~=7.0"
3737
extras: "testing"
38-
- os: ubuntu-latest
39-
python-version: "3.10"
38+
- os: windows-latest
39+
python-version: "3.13"
4040
sphinx-version: "~=8.0"
41-
extras: "testing-no-myst" # TODO myst does not yet support Sphinx 8.0
41+
extras: "testing"
4242
- os: windows-latest
43-
python-version: "3.9"
44-
sphinx-version: "~=7.0"
43+
python-version: "3.14"
44+
sphinx-version: "~=9.0"
4545
extras: "testing"
4646

4747
runs-on: ${{ matrix.os }}
@@ -81,10 +81,10 @@ jobs:
8181

8282
steps:
8383
- uses: actions/checkout@v4
84-
- name: Set up Python 3.9
84+
- name: Set up Python
8585
uses: actions/setup-python@v5
8686
with:
87-
python-version: "3.9"
87+
python-version: "3.11"
8888
cache: pip
8989
- name: Install dependencies
9090
run: |
@@ -123,7 +123,7 @@ jobs:
123123
- name: Set up Python
124124
uses: actions/setup-python@v5
125125
with:
126-
python-version: 3.9
126+
python-version: "3.11"
127127
- name: install flit
128128
run: |
129129
pip install flit~=3.4
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Copilot Setup Steps
2+
3+
# Automatically run the setup steps when they are changed to allow for easy validation, and
4+
# allow manual testing through the repository's "Actions" tab
5+
on:
6+
workflow_dispatch:
7+
push:
8+
paths:
9+
- .github/workflows/copilot-setup-steps.yml
10+
pull_request:
11+
paths:
12+
- .github/workflows/copilot-setup-steps.yml
13+
14+
jobs:
15+
# The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
16+
copilot-setup-steps:
17+
runs-on: ubuntu-latest
18+
19+
# Set the permissions to the lowest permissions possible needed for your steps.
20+
# Copilot will be given its own token for its operations.
21+
permissions:
22+
contents: read
23+
24+
# You can define any steps you want, and they will run before the agent starts.
25+
# If you do not check out your code, Copilot will do this for you.
26+
steps:
27+
- name: Checkout code
28+
uses: actions/checkout@v4
29+
30+
- name: Set up Python
31+
uses: actions/setup-python@v5
32+
with:
33+
python-version: "3.11"
34+
cache: pip
35+
36+
- name: Set up Node.js
37+
uses: actions/setup-node@v4
38+
with:
39+
node-version: "20"
40+
cache: npm
41+
42+
- name: Install uv
43+
run: pip install uv
44+
45+
- name: Install pre-commit and pre-commit-uv
46+
run: pip install pre-commit pre-commit-uv
47+
48+
- name: Install tox and tox-uv
49+
run: pip install tox tox-uv
50+
51+
- name: Install Node.js dependencies
52+
run: npm install

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,22 @@ exclude: >
1111
repos:
1212

1313
- repo: https://github.com/pre-commit/pre-commit-hooks
14-
rev: v4.6.0
14+
rev: v6.0.0
1515
hooks:
1616
- id: check-json
1717
- id: check-yaml
1818
- id: end-of-file-fixer
1919
- id: trailing-whitespace
2020

2121
- repo: https://github.com/astral-sh/ruff-pre-commit
22-
rev: v0.5.5
22+
rev: v0.14.13
2323
hooks:
2424
- id: ruff
2525
args: [--fix]
2626
- id: ruff-format
2727

2828
- repo: https://github.com/pre-commit/mirrors-mypy
29-
rev: v1.11.1
29+
rev: v1.19.1
3030
hooks:
3131
- id: mypy
3232
additional_dependencies: []

.readthedocs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 2
33
build:
44
os: ubuntu-22.04
55
tools:
6-
python: "3.10"
6+
python: "3.11"
77

88
python:
99
install:
@@ -13,5 +13,6 @@ python:
1313
- rtd
1414

1515
sphinx:
16+
configuration: docs/conf.py
1617
builder: html
1718
fail_on_warning: true

0 commit comments

Comments
 (0)