From 01e8772312988d7475ae1adf4581441cf158ac8c Mon Sep 17 00:00:00 2001 From: Wei Wang Date: Wed, 18 Jan 2023 17:19:15 -0800 Subject: [PATCH 1/3] Remove python3.7 from build matrix --- tools/scripts/generate_binary_build_matrix.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tools/scripts/generate_binary_build_matrix.py b/tools/scripts/generate_binary_build_matrix.py index ae535ebe39..220308b08f 100644 --- a/tools/scripts/generate_binary_build_matrix.py +++ b/tools/scripts/generate_binary_build_matrix.py @@ -20,7 +20,7 @@ mod = sys.modules[__name__] -FULL_PYTHON_VERSIONS = ["3.7", "3.8", "3.9", "3.10"] +FULL_PYTHON_VERSIONS = ["3.8", "3.9", "3.10"] CUDA_ACRHES_DICT = { "nightly": ["11.6", "11.7", "11.8"], @@ -211,9 +211,6 @@ def generate_conda_matrix(os: str, channel: str, with_cuda: str) -> List[Dict[st # We don't build CUDA 10.2 for window see https://github.com/pytorch/pytorch/issues/65648 arches += list_without(mod.CUDA_ARCHES, ["10.2"]) - if os == "macos-arm64": - python_versions = list_without(python_versions, ["3.7"]) - for python_version in python_versions: # We don't currently build conda packages for rocm for arch_version in arches: @@ -343,8 +340,6 @@ def generate_wheels_matrix( if python_versions is None: # Define default python version python_versions = list(FULL_PYTHON_VERSIONS) - if os == "macos-arm64": - python_versions = list_without(python_versions, ["3.7"]) if os == "linux": # NOTE: We only build manywheel packages for linux From a7d724159ea48b01914ede04b4750073e14fe646 Mon Sep 17 00:00:00 2001 From: Wei Wang Date: Tue, 24 Jan 2023 12:31:42 -0800 Subject: [PATCH 2/3] testing revert this --- .github/workflows/build_wheels_linux.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/build_wheels_linux.yml b/.github/workflows/build_wheels_linux.yml index 8122c8635c..2574e9ca38 100644 --- a/.github/workflows/build_wheels_linux.yml +++ b/.github/workflows/build_wheels_linux.yml @@ -89,7 +89,6 @@ jobs: python-version: ${{ env.PYTHON_VERSION }} - name: Combine Env Var and Build Env Files if: ${{ inputs.env-var-script != '' }} - working-directory: ${{ inputs.repository }} run: | set -eax cat "${{ inputs.env-var-script }}" >> "${BUILD_ENV_FILE}" From b064ba1b7f8830470505d4ae4e343730ceff6eb6 Mon Sep 17 00:00:00 2001 From: Wei Wang Date: Tue, 24 Jan 2023 12:45:15 -0800 Subject: [PATCH 3/3] Undo changes to working dir --- .github/workflows/build_wheels_linux.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build_wheels_linux.yml b/.github/workflows/build_wheels_linux.yml index 2574e9ca38..8122c8635c 100644 --- a/.github/workflows/build_wheels_linux.yml +++ b/.github/workflows/build_wheels_linux.yml @@ -89,6 +89,7 @@ jobs: python-version: ${{ env.PYTHON_VERSION }} - name: Combine Env Var and Build Env Files if: ${{ inputs.env-var-script != '' }} + working-directory: ${{ inputs.repository }} run: | set -eax cat "${{ inputs.env-var-script }}" >> "${BUILD_ENV_FILE}"