Skip to content

Commit 5c6809d

Browse files
TroyGardenfacebook-github-bot
authored andcommitted
skip python 3.13t since conda doesn't support it yet (#2757)
Summary: # 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. ``` Differential Revision: D69962038
1 parent 455d976 commit 5c6809d

File tree

2 files changed

+17
-27
lines changed

2 files changed

+17
-27
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

.github/workflows/validate-binaries.yml

Lines changed: 12 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,18 @@
11
name: Validate binaries
22

33
on:
4-
workflow_call:
5-
inputs:
6-
channel:
7-
description: "Channel to use (nightly, release)"
8-
required: false
9-
type: string
10-
default: release
11-
ref:
12-
description: 'Reference to checkout, defaults to empty'
13-
default: ""
14-
required: false
15-
type: string
16-
workflow_dispatch:
17-
inputs:
18-
channel:
19-
description: "Channel to use (nightly, release, test, pypi)"
20-
required: true
21-
type: choice
22-
options:
23-
- release
24-
- nightly
25-
- test
26-
ref:
27-
description: 'Reference to checkout, defaults to empty'
28-
default: ""
29-
required: false
30-
type: string
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- .github/workflows/validate-nightly-binaries.yml
9+
- .github/workflows/validate-binaries.yml
10+
- .github/scripts/validate-binaries.sh
11+
pull_request:
12+
paths:
13+
- .github/workflows/validate-nightly-binaries.yml
14+
- .github/workflows/validate-binaries.yml
15+
- .github/scripts/validate-binaries.sh
3116

3217
jobs:
3318
validate-binaries:

0 commit comments

Comments
 (0)