Skip to content

Commit b7f8426

Browse files
TroyGardenmeta-codesync[bot]
authored andcommitted
update python version in Generate documentation (#3483)
Summary: Pull Request resolved: #3483 # context * torchrec github workflow starts to fail: [job](https://github.com/meta-pytorch/torchrec/actions/runs/18788899544/job/53619374395) {F1982987922} * error message ``` Run conda run -n build_binary pip install torch --index-url https://download.pytorch.org/whl/nightly/cpu conda run -n build_binary pip install torch --index-url https://download.pytorch.org/whl/nightly/cpu shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} ERROR: Could not find a version that satisfies the requirement torch (from versions: none) ERROR: No matching distribution found for torch ERROR conda.cli.main_run:execute(127): `conda run pip install torch --index-url https://download.pytorch.org/whl/nightly/cpu` failed. (See above for error) Looking in indexes: https://download.pytorch.org/whl/nightly/cpu ``` * this is because PyTorch no longer support python 3.9 and this workflow still uses python 3.9 * update python version to 3.12 (the default version for ubuntu 20.04) * workflow job succeeded: [job](https://github.com/meta-pytorch/torchrec/actions/runs/18790963779) {F1982988827} Reviewed By: isururanawaka Differential Revision: D85462203 fbshipit-source-id: b2da9c98e066982c5ea75d87552476d483ab054b
1 parent 196b9a9 commit b7f8426

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
matrix:
1818
include:
1919
- os: linux.24_04.4x
20-
python-version: 3.9
21-
python-tag: "py39"
20+
python-version: 3.12
21+
python-tag: "py312"
2222
steps:
2323
- name: Check ldd --version
2424
run: ldd --version

0 commit comments

Comments
 (0)