Skip to content

Commit da286eb

Browse files
Balandatmeta-codesync[bot]
authored andcommitted
Use python 3.10 in tutorial tests against stable (#3056)
Summary: Without this, we run into the following error when testing the notebooks against the stable versions: ``` × No solution found when resolving dependencies: ╰─▶ Because torch==2.0.1 has no wheels with a matching Python ABI tag (e.g., `cp313`) and you require torch==2.0.1, we can conclude that your requirements are unsatisfiable. hint: You require CPython 3.13 (`cp313`), but we only found wheels for `torch` (v2.0.1) with the following Python ABI tags: `cp38`, `cp39`, `cp310`, `cp311` ``` Pull Request resolved: #3056 Reviewed By: saitcakmak Differential Revision: D85370220 Pulled By: Balandat fbshipit-source-id: afa2c3dde42b54dc16907f73a9b8fa157ef0ef02
1 parent f5e4285 commit da286eb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/reusable_tutorials.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,16 @@ jobs:
3131
- uses: actions/checkout@v4
3232
- name: Install uv
3333
uses: astral-sh/setup-uv@v5
34-
- name: Set up Python
34+
- if: ${{ !inputs.use_stable_pytorch_gpytorch }}
35+
name: Set up Python
3536
uses: actions/setup-python@v5
3637
with:
3738
python-version: "3.13"
39+
- if: ${{ inputs.use_stable_pytorch_gpytorch }}
40+
name: Set up Python
41+
uses: actions/setup-python@v5
42+
with:
43+
python-version: "3.10"
3844
- name: Fetch all history for all tags and branches
3945
# We need to do this so setuptools_scm knows how to set the BoTorch version.
4046
run: git fetch --prune --unshallow

0 commit comments

Comments
 (0)