Skip to content

Commit e00868c

Browse files
TroyGardenfacebook-github-bot
authored andcommitted
skip python 3.13t since conda doesn't support it yet (#2757)
Summary: Pull Request resolved: #2757 # context * there are failures in torchrec binary validation {F1975312017} * because conda can't support python 3.13t ``` $ conda create -n test python=3.13t Collecting package metadata (current_repodata.json): done Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): done Solving environment: failed PackagesNotFoundError: The following packages are not available from current channels: - python=3.13t Current channels: - https://repo.anaconda.com/pkgs/main/linux-64 - https://repo.anaconda.com/pkgs/main/noarch - https://repo.anaconda.com/pkgs/r/linux-64 - https://repo.anaconda.com/pkgs/r/noarch To search for alternate channels that may provide the conda package you're looking for, navigate to https://anaconda.org and use the search bar at the top of the page. ``` Reviewed By: sarckk Differential Revision: D69962038 fbshipit-source-id: 6cdb73f19e3fbfff8abbd80e4587f482a3e06d0d
1 parent 455d976 commit e00868c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/scripts/validate_binaries.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
export PYTORCH_CUDA_PKG=""
1010
export CONDA_ENV="build_binary"
1111

12+
if [[ ${MATRIX_PYTHON_VERSION} = '3.13t' ]]; then
13+
echo "Conda doesn't support 3.13t yet, you can just try \`conda create -n test python=3.13t\`"
14+
exit 0
15+
fi
16+
1217
conda create -y -n "${CONDA_ENV}" python="${MATRIX_PYTHON_VERSION}"
1318

1419
conda run -n build_binary python --version

0 commit comments

Comments
 (0)