Skip to content

Commit d8d3084

Browse files
authored
Merge branch 'main' into typing-test-store
2 parents 2e9ba8f + be519b0 commit d8d3084

File tree

166 files changed

+9830
-6654
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

166 files changed

+9830
-6654
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
TODO:
44
* [ ] Add unit tests and/or doctests in docstrings
55
* [ ] Add docstrings and API docs for any new/modified user-facing classes and functions
6-
* [ ] New/modified features documented in `docs/user-guide/*.rst`
6+
* [ ] New/modified features documented in `docs/user-guide/*.md`
77
* [ ] Changes documented as a new file in `changes/`
88
* [ ] GitHub Actions have all passed
99
* [ ] Test coverage is 100% (Codecov passes)

.github/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
needs release notes:
22
- all:
33
- changed-files:
4-
- all-globs-to-all-files: '!changes/*.rst'
4+
- all-globs-to-all-files: '!changes/*.md'

.github/workflows/check_changelogs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
12+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1313

1414
- name: Install uv
15-
uses: astral-sh/setup-uv@e92bafb6253dcd438e0484186d7669ea7a8ca1cc # v6.4.3
15+
uses: astral-sh/setup-uv@b75a909f75acd358c2196fb9a5f1299a9a8868a4 # v6.7.0
1616

1717
- name: Check changelog entries
1818
run: uv run --no-sync python ci/check_changelog_entries.py

.github/workflows/gpu_test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ jobs:
2929
dependency-set: ["minimal"]
3030

3131
steps:
32-
- uses: actions/checkout@v4
32+
- uses: actions/checkout@v5
33+
with:
34+
fetch-depth: 0 # grab all branches and tags
3335
# - name: cuda-toolkit
3436
# uses: Jimver/[email protected]
3537
# id: cuda-toolkit
@@ -49,7 +51,7 @@ jobs:
4951
echo $LD_LIBRARY_PATH
5052
nvcc -V
5153
- name: Set up Python
52-
uses: actions/setup-python@v5
54+
uses: actions/setup-python@v6
5355
with:
5456
python-version: ${{ matrix.python-version }}
5557
cache: 'pip'

.github/workflows/hypothesis.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
dependency-set: ["optional"]
2929

3030
steps:
31-
- uses: actions/checkout@v4
31+
- uses: actions/checkout@v5
3232
- name: Set HYPOTHESIS_PROFILE based on trigger
3333
run: |
3434
if [[ "${{ github.event_name }}" == "schedule" || "${{ github.event_name }}" == "workflow_dispatch" ]]; then
@@ -37,7 +37,7 @@ jobs:
3737
echo "HYPOTHESIS_PROFILE=ci" >> $GITHUB_ENV
3838
fi
3939
- name: Set up Python
40-
uses: actions/setup-python@v5
40+
uses: actions/setup-python@v6
4141
with:
4242
python-version: ${{ matrix.python-version }}
4343
cache: 'pip'

.github/workflows/needs_release_notes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
pull-requests: write
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
14+
- uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6.0.1
1515
with:
1616
repo-token: ${{ secrets.GITHUB_TOKEN }}
1717
sync-labels: true
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Nightly Wheels
2+
3+
on:
4+
schedule:
5+
# Run nightly at 2 AM UTC
6+
- cron: '0 2 * * *'
7+
workflow_dispatch:
8+
9+
jobs:
10+
build_and_upload_nightly:
11+
name: Build and upload nightly wheels
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v5
16+
with:
17+
submodules: true
18+
fetch-depth: 0
19+
20+
- uses: actions/setup-python@v6
21+
name: Install Python
22+
with:
23+
python-version: '3.13'
24+
25+
- name: Install build dependencies
26+
run: |
27+
python -m pip install --upgrade pip
28+
pip install hatch
29+
30+
- name: Build wheel and sdist
31+
run: hatch build
32+
33+
- name: Upload nightly wheels
34+
uses: scientific-python/upload-nightly-action@b36e8c0c10dbcfd2e05bf95f17ef8c14fd708dbf
35+
with:
36+
artifacts_path: dist
37+
anaconda_nightly_upload_token: ${{ secrets.ANACONDA_ORG_UPLOAD_TOKEN }}

.github/workflows/releases.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111
fail-fast: false
1212

1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v5
1515
with:
1616
submodules: true
1717
fetch-depth: 0
1818

19-
- uses: actions/setup-python@v5.2.0
19+
- uses: actions/setup-python@v6
2020
name: Install Python
2121
with:
2222
python-version: '3.11'
@@ -55,7 +55,7 @@ jobs:
5555
with:
5656
name: releases
5757
path: dist
58-
- uses: pypa/gh-action-pypi-publish@v1.12.4
58+
- uses: pypa/gh-action-pypi-publish@v1.13.0
5959
with:
6060
user: __token__
6161
password: ${{ secrets.pypi_password }}

.github/workflows/test.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ jobs:
4444
runs-on: ${{ matrix.os }}
4545

4646
steps:
47-
- uses: actions/checkout@v4
47+
- uses: actions/checkout@v5
4848
with:
4949
fetch-depth: 0 # grab all branches and tags
5050
- name: Set up Python
51-
uses: actions/setup-python@v5
51+
uses: actions/setup-python@v6
5252
with:
5353
python-version: ${{ matrix.python-version }}
5454
cache: 'pip'
@@ -86,11 +86,11 @@ jobs:
8686
- python-version: "3.11"
8787
dependency-set: upstream
8888
steps:
89-
- uses: actions/checkout@v4
89+
- uses: actions/checkout@v5
9090
with:
9191
fetch-depth: 0
9292
- name: Set up Python
93-
uses: actions/setup-python@v5
93+
uses: actions/setup-python@v6
9494
with:
9595
python-version: ${{ matrix.python-version }}
9696
cache: 'pip'
@@ -115,11 +115,11 @@ jobs:
115115
name: doctests
116116
runs-on: ubuntu-latest
117117
steps:
118-
- uses: actions/checkout@v4
118+
- uses: actions/checkout@v5
119119
with:
120120
fetch-depth: 0 # required for hatch version discovery, which is needed for numcodecs.zarr3
121121
- name: Set up Python
122-
uses: actions/setup-python@v5
122+
uses: actions/setup-python@v6
123123
with:
124124
python-version: '3.13'
125125
cache: 'pip'
@@ -129,11 +129,11 @@ jobs:
129129
pip install hatch
130130
- name: Set Up Hatch Env
131131
run: |
132-
hatch env create doctest
133-
hatch env run -e doctest list-env
132+
hatch env create docs
133+
hatch env run -e docs list-env
134134
- name: Run Tests
135135
run: |
136-
hatch env run --env doctest run
136+
hatch env run --env docs check
137137
138138
test-complete:
139139
name: Test complete

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ coverage.xml
4949
# Django stuff:
5050
*.log
5151

52-
# Sphinx documentation
52+
# Documentation
53+
site/
5354
docs/_build/
54-
docs/api
5555
docs/data
5656
data
5757
data.zip

0 commit comments

Comments
 (0)