Skip to content

Commit

Permalink
Use Python 3.12 in docs workflows
Browse files Browse the repository at this point in the history
The docs environment depends on spaCy which depends on srsly which
does not yet support Python 3.13
  • Loading branch information
gbolmier committed Nov 24, 2024
1 parent 6ace0e2 commit 95b1735
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/dev-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ jobs:
- name: Build River
uses: ./.github/actions/install-env
with:
python-version: "3.13"
# Use 3.12 for the docs env waiting for spaCy and srsly to support 3.13
python-version: "3.12"
build-root: false

- name: Install extra Ubuntu dependencies
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ jobs:
- name: Build River
uses: ./.github/actions/install-env
with:
python-version: "3.13"
# Use 3.12 for the docs env waiting for spaCy and srsly to support 3.13
python-version: "3.12"

- name: Install extra Ubuntu dependencies
run: sudo apt-get install graphviz pandoc
Expand Down

0 comments on commit 95b1735

Please sign in to comment.