Skip to content

Commit 8b06451

Browse files
committed
Fix docs build with NumPy 2
1 parent 5d2f98a commit 8b06451

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/check-docs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
python-version: ["3.10"]
17+
python-version: ["3.11"]
1818

1919
steps:
2020
- uses: actions/checkout@v2
@@ -28,6 +28,7 @@ jobs:
2828
sudo apt install graphviz # Needed for documentation
2929
python -m pip install --upgrade pip
3030
pip install -r requirements.txt -r requirements-dev.txt -r requirements-doc.txt
31+
pip install -U dask distributed # need latest versions to successully build docs
3132
- name: Run pre-commit
3233
uses: pre-commit/[email protected]
3334
- name: Check for Sphinx doc warnings

.github/workflows/docs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,14 @@ jobs:
1515
- name: Set up Python ${{ matrix.python-version }}
1616
uses: actions/setup-python@v2
1717
with:
18-
python-version: "3.10"
18+
python-version: "3.11"
1919
- name: Install dependencies
2020
run: |
2121
sudo apt update -y
2222
sudo apt install graphviz # Needed for documentation
2323
python -m pip install --upgrade pip
2424
pip install -r requirements.txt -r requirements-dev.txt -r requirements-doc.txt
25+
pip install -U dask distributed # need latest versions to successully build docs
2526
- name: Build Sphinx documentation
2627
run: |
2728
cd docs

0 commit comments

Comments
 (0)