Skip to content

Cleanup leftover miniconda brew installation #6880

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 32 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
6e56736
Cleanup leftover miniconda brew installation
atalman Jul 2, 2025
f4c9f8e
test
atalman Jul 3, 2025
7bf46a8
test
atalman Jul 3, 2025
17be1a6
test
atalman Jul 3, 2025
4d777be
test
atalman Jul 3, 2025
b2b195e
test
atalman Jul 3, 2025
d97ecb0
test
atalman Jul 3, 2025
20b3b64
test
atalman Jul 3, 2025
2400a06
test
atalman Jul 3, 2025
af87623
test
atalman Jul 3, 2025
b5606da
zap
atalman Jul 3, 2025
04a1139
remove
atalman Jul 3, 2025
034d568
Update .github/workflows/build_wheels_macos.yml
atalman Jul 7, 2025
d00b266
Update .github/workflows/build_wheels_macos.yml
atalman Jul 7, 2025
0404edb
Update .github/workflows/build_wheels_macos.yml
atalman Jul 7, 2025
7d9464f
Update .github/workflows/build_wheels_macos.yml
atalman Jul 7, 2025
649d794
Update .github/workflows/build_wheels_macos.yml
atalman Jul 7, 2025
ddbb650
Update .github/workflows/build_wheels_macos.yml
atalman Jul 7, 2025
6a8665a
Update build_wheels_macos.yml
atalman Jul 7, 2025
a9881c6
Update .github/workflows/build_wheels_macos.yml
atalman Jul 7, 2025
4c2a138
Update build_wheels_macos.yml
atalman Jul 7, 2025
116abed
Update build_wheels_macos.yml
atalman Jul 7, 2025
66c5524
Update build_wheels_macos.yml
atalman Jul 7, 2025
5228939
Update build_wheels_macos.yml
atalman Jul 7, 2025
85e33ba
Update build_wheels_macos.yml
atalman Jul 7, 2025
77c145b
Update .github/workflows/build_wheels_macos.yml
atalman Jul 7, 2025
314ef3e
Update build_wheels_macos.yml
atalman Jul 8, 2025
818ce06
Update test_build_wheels_m1.yml
atalman Jul 8, 2025
af46f8b
Update build_wheels_macos.yml
atalman Jul 8, 2025
87b2577
Update .github/workflows/build_wheels_macos.yml
atalman Jul 8, 2025
d7a85dd
Update build_wheels_macos.yml
atalman Jul 8, 2025
fd5a6d7
Update build_wheels_macos.yml
atalman Jul 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/setup-binary-builds/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ runs:
uses: conda-incubator/[email protected]
with:
miniconda-version: "latest"
python-version: 3.9
python-version: 3.12
- name: Clean conda environment
shell: bash -l {0}
run: |
Expand Down
18 changes: 15 additions & 3 deletions .github/workflows/build_wheels_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,16 +146,22 @@
cat "${{ inputs.env-var-script }}" >> "${BUILD_ENV_FILE}"
- name: Install delocate-wheel
if: ${{ inputs.delocate-wheel }}
shell: bash -l {0}
run: |
set -euxo pipefail
conda info
conda deactivate
conda activate test
conda info
${CONDA_RUN} python3 -m pip install delocate==0.10.7
- name: Install torch dependency
shell: bash -l {0}
run: |
set -euxo pipefail
# shellcheck disable=SC1090
source "${BUILD_ENV_FILE}"
# shellcheck disable=SC2086
${CONDA_RUN} ${PIP_INSTALL_TORCH}
${CONDA_RUN} ${PIP_INSTALL_TORCH}

Check failure

Code scanning / lintrunner

SPACES/trailing spaces Error

This line has trailing spaces; please remove them.
- name: Run Pre-Script with Caching
if: ${{ inputs.pre-script != '' }}
uses: ./test-infra/.github/actions/run-script-with-cache
Expand All @@ -165,12 +171,15 @@
repository: ${{ inputs.repository }}
script: ${{ inputs.pre-script }}
- name: Build clean
working-directory: ${{ inputs.repository }}
shell: bash -l {0}
run: |
set -euxo pipefail
# shellcheck disable=SC1090
source "${BUILD_ENV_FILE}"
${CONDA_RUN} python3 setup.py clean
${CONDA_RUN} which python3
${CONDA_RUN} conda list
${CONDA_RUN} python setup.py clean
- name: Build the wheel (python-build-package)
if: ${{ inputs.build-platform == 'python-build-package' }}
working-directory: ${{ inputs.repository }}
Expand All @@ -193,6 +202,7 @@
- name: Build the wheel (setup-py)
if: ${{ inputs.build-platform == 'setup-py' }}
working-directory: ${{ inputs.repository }}
shell: bash -l {0}
run: |
set -euxo pipefail
# shellcheck disable=SC1090
Expand All @@ -203,16 +213,18 @@
fi
PYTORCH_VERSION="$(${CONDA_RUN} pip show torch | grep ^Version: | sed 's/Version: *//')"
export PYTORCH_VERSION


Check failure

Code scanning / lintrunner

SPACES/trailing spaces Error

This line has trailing spaces; please remove them.
${CONDA_RUN} python3 -c "import torch"

Check failure

Code scanning / lintrunner

SPACES/trailing spaces Error

This line has trailing spaces; please remove them.
${CONDA_RUN} python3 setup.py bdist_wheel
- name: Delocate wheel
if: ${{ inputs.delocate-wheel }}
working-directory: ${{ inputs.repository }}
shell: bash -l {0}
run: |
set -euxo pipefail
${CONDA_RUN} DYLD_FALLBACK_LIBRARY_PATH="${CONDA_ENV}/lib" delocate-wheel -v --ignore-missing-dependencies dist/*.whl
- name: Run Post-Script
if: ${{ inputs.post-script != '' }}
uses: ./test-infra/.github/actions/run-script-with-cache
with:
repository: ${{ inputs.repository }}
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/test_build_wheels_m1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ jobs:
fail-fast: false
matrix:
include:
- repository: pytorch/audio
conda-package-directory: packaging/torchaudio
smoke-test-script: test/smoke_test/smoke_test.py
package-name: torchaudio
- repository: pytorch/vision
pre-script: packaging/pre_build_script.sh
post-script: packaging/post_build_script.sh
Expand Down
Loading