Skip to content

Commit 30bad9a

Browse files
gchalumpfacebook-github-bot
authored andcommitted
Filter Python 3.9 from builds
Summary: Filter out Python 3.9 from Linux wheel builds because pip 24.1+ requires Python 3.10 or higher to support dataclass slots. Differential Revision: D106849481
1 parent 6c71acd commit 30bad9a

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/build_wheels_genai_linux_x86.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,12 @@ jobs:
5353
# cuda/11.8: No longer supported in FBGEMM
5454
# cuda/12.9: No longer supported in PyTorch
5555
# rocm/3.13t: causes segfaults at runtime
56+
# python_version:3.9: pip 24.1+ requires Python 3.10+ (dataclass slots)
5657
run: |
5758
set -ex
5859
pwd
5960
ls
60-
MATRIX_BLOB="$( python .github/scripts/filter_nova_matrix.py --filter gpu_arch_version:11.8 --filter 'gpu_arch_type:rocm;python_version:3.13t' )"
61+
MATRIX_BLOB="$( python .github/scripts/filter_nova_matrix.py --filter gpu_arch_version:11.8 --filter 'gpu_arch_type:rocm;python_version:3.13t' --filter 'python_version:3.9' )"
6162
echo "${MATRIX_BLOB}"
6263
echo "matrix=${MATRIX_BLOB}" >> "${GITHUB_OUTPUT}"
6364

.github/workflows/build_wheels_linux_aarch64.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,12 @@ jobs:
4949
MAT: ${{ needs.generate-matrix.outputs.matrix }}
5050
# Nova Coordinate Filters:
5151
# rocm/3.13t: causes segfaults at runtime
52+
# python_version:3.9: pip 24.1+ requires Python 3.10+ (dataclass slots)
5253
run: |
5354
set -ex
5455
pwd
5556
ls
56-
MATRIX_BLOB="$( python .github/scripts/filter_nova_matrix.py --filter 'gpu_arch_type:rocm;python_version:3.13t' )"
57+
MATRIX_BLOB="$( python .github/scripts/filter_nova_matrix.py --filter 'gpu_arch_type:rocm;python_version:3.13t' --filter 'python_version:3.9' )"
5758
echo "${MATRIX_BLOB}"
5859
echo "matrix=${MATRIX_BLOB}" >> "${GITHUB_OUTPUT}"
5960

.github/workflows/build_wheels_linux_x86.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,12 @@ jobs:
5151
MAT: ${{ needs.generate-matrix.outputs.matrix }}
5252
# Nova Coordinate Filters:
5353
# rocm/3.13t: causes segfaults at runtime
54+
# python_version:3.9: pip 24.1+ requires Python 3.10+ (dataclass slots)
5455
run: |
5556
set -ex
5657
pwd
5758
ls
58-
MATRIX_BLOB="$( python .github/scripts/filter_nova_matrix.py --filter 'gpu_arch_type:rocm;python_version:3.13t' )"
59+
MATRIX_BLOB="$( python .github/scripts/filter_nova_matrix.py --filter 'gpu_arch_type:rocm;python_version:3.13t' --filter 'python_version:3.9' )"
5960
echo "${MATRIX_BLOB}"
6061
echo "matrix=${MATRIX_BLOB}" >> "${GITHUB_OUTPUT}"
6162

0 commit comments

Comments
 (0)