Skip to content

Commit

Permalink
Pin python<3.12 in hooks to install dependencies
Browse files Browse the repository at this point in the history
Some libraries are only supported for python <= 3.12 this sets the
python version to 3.12 for the docs and validate_examples hooks so that
Ray gets installed.
  • Loading branch information
jernejfrank authored and elijahbenizzy committed Feb 3, 2025
1 parent 494b4eb commit dca4ab3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: '3.12'
- name: Install dependencies
run: |
pip install -e ".[documentation]"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install -e ".[tests]"
Expand Down

0 comments on commit dca4ab3

Please sign in to comment.