diff --git a/.github/workflows/_build_test_upload.yml b/.github/workflows/_build_test_upload.yml index 22f8bc30a..06e1a7f8d 100644 --- a/.github/workflows/_build_test_upload.yml +++ b/.github/workflows/_build_test_upload.yml @@ -310,7 +310,7 @@ jobs: - 3.8 - 3.9 - "3.10" - - 3.11 + - "3.11" steps: - name: Checkout Source Repository uses: actions/checkout@v3 diff --git a/packaging/build_conda.sh b/packaging/build_conda.sh index 3a1dc5bc6..ed3987d1b 100755 --- a/packaging/build_conda.sh +++ b/packaging/build_conda.sh @@ -14,9 +14,19 @@ export CU_VERSION=cpu export NO_CUDA_PACKAGE=1 export BUILD_TYPE="conda" +if [[ "$PYTHON_VERSION" == "3.11" ]]; then + export CONDA_CHANNEL_FLAGS="${CONDA_CHANNEL_FLAGS} -c malfet" +fi + export SOURCE_ROOT_DIR="$PWD" setup_env setup_conda_pytorch_constraint mkdir -p conda-bld -conda build $CONDA_CHANNEL_FLAGS --no-anaconda-upload --output-folder conda-bld --python "$PYTHON_VERSION" packaging/torchdata +conda build \ + -c defaults \ + $CONDA_CHANNEL_FLAGS \ + --no-anaconda-upload \ + --output-folder conda-bld \ + --python "$PYTHON_VERSION" \ + packaging/torchdata