From b83f55a734f2210f1743e66205f944fccf321439 Mon Sep 17 00:00:00 2001 From: regro-cf-autotick-bot <36490558+regro-cf-autotick-bot@users.noreply.github.com> Date: Thu, 14 May 2026 23:09:01 +0000 Subject: [PATCH 1/2] updated v0.12.0 --- recipe/recipe.yaml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/recipe/recipe.yaml b/recipe/recipe.yaml index abe4ce9..e09fb60 100644 --- a/recipe/recipe.yaml +++ b/recipe/recipe.yaml @@ -1,8 +1,8 @@ # yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json context: - version: "0.10.0" - build_number: 1 + version: "0.12.0" + build_number: 0 torch_proc_type: ${{ "cuda" ~ cuda_compiler_version | version_to_buildstring if cuda_compiler_version != "None" else "cpu" }} # ensure arm_variant_type gets detected as a used variable touch_arm_variant_type: ${{ arm_variant_type | default("None") }} @@ -13,7 +13,7 @@ recipe: source: - url: https://github.com/meta-pytorch/torchcodec/archive/refs/tags/v${{ version }}.tar.gz - sha256: a970d3dd51f65ee12898397e54079bcd19c9d498cddfb661379721cfcc2c36e2 + sha256: f0cc21c1f99439cff30eb43080e9bc8e43c6b9505b4f327cb42ee132075bcec4 patches: - if: win then: @@ -99,8 +99,7 @@ outputs: - libcusparse-dev - if: cuda_compiler_version != "12.8" then: libmagma-devel - - if: cuda_compiler_version == "12.8" - then: magma # cannot (yet) use libmagma-devel due to https://github.com/conda-forge/libmagma-feedstock/issues/32 + else: magma - nvtx-c # These are actual torchcodec deps - libnpp-dev @@ -148,8 +147,8 @@ outputs: # As long as the vast majority of test pass, it should be ok to just skip the few tests that do not pass - if: target_platform == "osx-64" then: - - pytest -v --deselect test/test_encoders.py --deselect test/test_ops.py::TestVideoEncoderOps::test_against_to_file --deselect test/test_ops.py::TestVideoEncoderOps::test_video_encoder_round_trip --deselect test/test_ops.py::TestVideoDecoderOps::test_throws_exception_at_eof[cpu] --deselect test/test_ops.py::TestVideoDecoderOps::test_throws_exception_if_seek_too_far[cpu] - --deselect test/test_ops.py::TestAudioDecoderOps::test_next[asset0] --deselect test/test_ops.py::TestAudioDecoderOps::test_next[asset1] --deselect test/test_transform_ops.py::TestPublicVideoDecoderTransformOps test + - pytest -v --deselect test/test_encoders.py --deselect test/test_ops.py::TestVideoEncoderOps::test_against_to_file --deselect test/test_ops.py::TestVideoEncoderOps::test_video_encoder_round_trip --deselect test/test_ops.py::TestVideoDecoderOps::test_throws_exception_at_eof[cpu] --deselect + test/test_ops.py::TestVideoDecoderOps::test_throws_exception_if_seek_too_far[cpu] --deselect test/test_ops.py::TestAudioDecoderOps::test_next[asset0] --deselect test/test_ops.py::TestAudioDecoderOps::test_next[asset1] --deselect test/test_transform_ops.py::TestPublicVideoDecoderTransformOps test else: - if: build_platform != target_platform then: From 458a384a4c88e92c3c717a7acfc7126bc3388b15 Mon Sep 17 00:00:00 2001 From: regro-cf-autotick-bot <36490558+regro-cf-autotick-bot@users.noreply.github.com> Date: Thu, 14 May 2026 23:09:44 +0000 Subject: [PATCH 2/2] MNT: Re-rendered with conda-smithy 3.61.2 and conda-forge-pinning 2026.05.14.16.56.1 --- .azure-pipelines/azure-pipelines-osx.yml | 10 +++++++ .azure-pipelines/azure-pipelines-win.yml | 15 ++++++++++ .github/workflows/conda-build.yml | 37 +++++++++++++++++++++++- .gitignore | 1 + .scripts/run_docker_build.sh | 33 +++++++++++++++++---- pixi.toml | 2 +- 6 files changed, 90 insertions(+), 8 deletions(-) diff --git a/.azure-pipelines/azure-pipelines-osx.yml b/.azure-pipelines/azure-pipelines-osx.yml index 92ac1fb..3371f3f 100755 --- a/.azure-pipelines/azure-pipelines-osx.yml +++ b/.azure-pipelines/azure-pipelines-osx.yml @@ -12,42 +12,52 @@ jobs: CONFIG: osx_64_python3.10.____cpython UPLOAD_PACKAGES: 'True' VMIMAGE: macOS-15 + store_build_artifacts: false osx_64_python3.11.____cpython: CONFIG: osx_64_python3.11.____cpython UPLOAD_PACKAGES: 'True' VMIMAGE: macOS-15 + store_build_artifacts: false osx_64_python3.12.____cpython: CONFIG: osx_64_python3.12.____cpython UPLOAD_PACKAGES: 'True' VMIMAGE: macOS-15 + store_build_artifacts: false osx_64_python3.13.____cp313: CONFIG: osx_64_python3.13.____cp313 UPLOAD_PACKAGES: 'True' VMIMAGE: macOS-15 + store_build_artifacts: false osx_64_python3.14.____cp314: CONFIG: osx_64_python3.14.____cp314 UPLOAD_PACKAGES: 'True' VMIMAGE: macOS-15 + store_build_artifacts: false osx_arm64_python3.10.____cpython: CONFIG: osx_arm64_python3.10.____cpython UPLOAD_PACKAGES: 'True' VMIMAGE: macOS-15-arm64 + store_build_artifacts: false osx_arm64_python3.11.____cpython: CONFIG: osx_arm64_python3.11.____cpython UPLOAD_PACKAGES: 'True' VMIMAGE: macOS-15-arm64 + store_build_artifacts: false osx_arm64_python3.12.____cpython: CONFIG: osx_arm64_python3.12.____cpython UPLOAD_PACKAGES: 'True' VMIMAGE: macOS-15-arm64 + store_build_artifacts: false osx_arm64_python3.13.____cp313: CONFIG: osx_arm64_python3.13.____cp313 UPLOAD_PACKAGES: 'True' VMIMAGE: macOS-15-arm64 + store_build_artifacts: false osx_arm64_python3.14.____cp314: CONFIG: osx_arm64_python3.14.____cp314 UPLOAD_PACKAGES: 'True' VMIMAGE: macOS-15-arm64 + store_build_artifacts: false timeoutInMinutes: 360 variables: {} diff --git a/.azure-pipelines/azure-pipelines-win.yml b/.azure-pipelines/azure-pipelines-win.yml index 823ba4b..5d32902 100755 --- a/.azure-pipelines/azure-pipelines-win.yml +++ b/.azure-pipelines/azure-pipelines-win.yml @@ -11,48 +11,63 @@ jobs: win_64_cuda_compiler_version12.8python3.10.____cpython: CONFIG: win_64_cuda_compiler_version12.8python3.10.____cpython UPLOAD_PACKAGES: 'True' + store_build_artifacts: false win_64_cuda_compiler_version12.8python3.11.____cpython: CONFIG: win_64_cuda_compiler_version12.8python3.11.____cpython UPLOAD_PACKAGES: 'True' + store_build_artifacts: false win_64_cuda_compiler_version12.8python3.12.____cpython: CONFIG: win_64_cuda_compiler_version12.8python3.12.____cpython UPLOAD_PACKAGES: 'True' + store_build_artifacts: false win_64_cuda_compiler_version12.8python3.13.____cp313: CONFIG: win_64_cuda_compiler_version12.8python3.13.____cp313 UPLOAD_PACKAGES: 'True' + store_build_artifacts: false win_64_cuda_compiler_version12.8python3.14.____cp314: CONFIG: win_64_cuda_compiler_version12.8python3.14.____cp314 UPLOAD_PACKAGES: 'True' + store_build_artifacts: false win_64_cuda_compiler_version13.0python3.10.____cpython: CONFIG: win_64_cuda_compiler_version13.0python3.10.____cpython UPLOAD_PACKAGES: 'True' + store_build_artifacts: false win_64_cuda_compiler_version13.0python3.11.____cpython: CONFIG: win_64_cuda_compiler_version13.0python3.11.____cpython UPLOAD_PACKAGES: 'True' + store_build_artifacts: false win_64_cuda_compiler_version13.0python3.12.____cpython: CONFIG: win_64_cuda_compiler_version13.0python3.12.____cpython UPLOAD_PACKAGES: 'True' + store_build_artifacts: false win_64_cuda_compiler_version13.0python3.13.____cp313: CONFIG: win_64_cuda_compiler_version13.0python3.13.____cp313 UPLOAD_PACKAGES: 'True' + store_build_artifacts: false win_64_cuda_compiler_version13.0python3.14.____cp314: CONFIG: win_64_cuda_compiler_version13.0python3.14.____cp314 UPLOAD_PACKAGES: 'True' + store_build_artifacts: false win_64_cuda_compiler_versionNonepython3.10.____cpython: CONFIG: win_64_cuda_compiler_versionNonepython3.10.____cpython UPLOAD_PACKAGES: 'True' + store_build_artifacts: false win_64_cuda_compiler_versionNonepython3.11.____cpython: CONFIG: win_64_cuda_compiler_versionNonepython3.11.____cpython UPLOAD_PACKAGES: 'True' + store_build_artifacts: false win_64_cuda_compiler_versionNonepython3.12.____cpython: CONFIG: win_64_cuda_compiler_versionNonepython3.12.____cpython UPLOAD_PACKAGES: 'True' + store_build_artifacts: false win_64_cuda_compiler_versionNonepython3.13.____cp313: CONFIG: win_64_cuda_compiler_versionNonepython3.13.____cp313 UPLOAD_PACKAGES: 'True' + store_build_artifacts: false win_64_cuda_compiler_versionNonepython3.14.____cp314: CONFIG: win_64_cuda_compiler_versionNonepython3.14.____cp314 UPLOAD_PACKAGES: 'True' + store_build_artifacts: false timeoutInMinutes: 360 variables: CONDA_BLD_PATH: D:\\bld\\ diff --git a/.github/workflows/conda-build.yml b/.github/workflows/conda-build.yml index afb3d9f..a079049 100644 --- a/.github/workflows/conda-build.yml +++ b/.github/workflows/conda-build.yml @@ -23,176 +23,211 @@ jobs: matrix: include: - CONFIG: linux_64_cuda_compiler_version12.9python3.10.____cpython + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - CONFIG: linux_64_cuda_compiler_version12.9python3.11.____cpython + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - CONFIG: linux_64_cuda_compiler_version12.9python3.12.____cpython + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - CONFIG: linux_64_cuda_compiler_version12.9python3.13.____cp313 + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - CONFIG: linux_64_cuda_compiler_version12.9python3.14.____cp314 + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - CONFIG: linux_64_cuda_compiler_version13.0python3.10.____cpython + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - CONFIG: linux_64_cuda_compiler_version13.0python3.11.____cpython + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - CONFIG: linux_64_cuda_compiler_version13.0python3.12.____cpython + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - CONFIG: linux_64_cuda_compiler_version13.0python3.13.____cp313 + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - CONFIG: linux_64_cuda_compiler_version13.0python3.14.____cp314 + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - CONFIG: linux_64_cuda_compiler_versionNonepython3.10.____cpython + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - CONFIG: linux_64_cuda_compiler_versionNonepython3.11.____cpython + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - CONFIG: linux_64_cuda_compiler_versionNonepython3.12.____cpython + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - CONFIG: linux_64_cuda_compiler_versionNonepython3.13.____cp313 + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - CONFIG: linux_64_cuda_compiler_versionNonepython3.14.____cp314 + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - CONFIG: linux_aarch64_arm_variant_typesbsacuda_compiler_version12.9python3.10.____cpython + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-24.04-arm'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64:alma9 - CONFIG: linux_aarch64_arm_variant_typesbsacuda_compiler_version12.9python3.11.____cpython + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-24.04-arm'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64:alma9 - CONFIG: linux_aarch64_arm_variant_typesbsacuda_compiler_version12.9python3.12.____cpython + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-24.04-arm'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64:alma9 - CONFIG: linux_aarch64_arm_variant_typesbsacuda_compiler_version12.9python3.13.____cp313 + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-24.04-arm'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64:alma9 - CONFIG: linux_aarch64_arm_variant_typesbsacuda_compiler_version12.9python3.14.____cp314 + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-24.04-arm'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64:alma9 - CONFIG: linux_aarch64_arm_variant_typesbsacuda_compiler_version13.0python3.10.____cpython + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-24.04-arm'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64:alma9 - CONFIG: linux_aarch64_arm_variant_typesbsacuda_compiler_version13.0python3.11.____cpython + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-24.04-arm'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64:alma9 - CONFIG: linux_aarch64_arm_variant_typesbsacuda_compiler_version13.0python3.12.____cpython + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-24.04-arm'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64:alma9 - CONFIG: linux_aarch64_arm_variant_typesbsacuda_compiler_version13.0python3.13.____cp313 + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-24.04-arm'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64:alma9 - CONFIG: linux_aarch64_arm_variant_typesbsacuda_compiler_version13.0python3.14.____cp314 + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-24.04-arm'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64:alma9 - CONFIG: linux_aarch64_arm_variant_typesbsacuda_compiler_versionNonepython3.10.____cpython + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-24.04-arm'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64:alma9 - CONFIG: linux_aarch64_arm_variant_typesbsacuda_compiler_versionNonepython3.11.____cpython + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-24.04-arm'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64:alma9 - CONFIG: linux_aarch64_arm_variant_typesbsacuda_compiler_versionNonepython3.12.____cpython + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-24.04-arm'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64:alma9 - CONFIG: linux_aarch64_arm_variant_typesbsacuda_compiler_versionNonepython3.13.____cp313 + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-24.04-arm'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64:alma9 - CONFIG: linux_aarch64_arm_variant_typesbsacuda_compiler_versionNonepython3.14.____cp314 + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-24.04-arm'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64:alma9 - CONFIG: linux_aarch64_arm_variant_typetegracuda_compiler_version12.9python3.10.____cpython + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-24.04-arm'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64:alma9 - CONFIG: linux_aarch64_arm_variant_typetegracuda_compiler_version12.9python3.11.____cpython + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-24.04-arm'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64:alma9 - CONFIG: linux_aarch64_arm_variant_typetegracuda_compiler_version12.9python3.12.____cpython + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-24.04-arm'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64:alma9 - CONFIG: linux_aarch64_arm_variant_typetegracuda_compiler_version12.9python3.13.____cp313 + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-24.04-arm'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64:alma9 - CONFIG: linux_aarch64_arm_variant_typetegracuda_compiler_version12.9python3.14.____cp314 + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-24.04-arm'] @@ -269,7 +304,7 @@ jobs: env: # default value; make it explicit, as it needs to match with artefact # generation below. Not configurable for now, can be revisited later - CONDA_BLD_DIR: C:\bld + CONDA_BLD_PATH: C:\bld MINIFORGE_HOME: ${{ contains(runner.arch, 'ARM') && 'C' || 'D' }}:\Miniforge PYTHONUNBUFFERED: 1 CONFIG: ${{ matrix.CONFIG }} diff --git a/.gitignore b/.gitignore index 47b5408..86a9c55 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ # Ignore all files and folders in root * !/conda-forge.yml +!.recipe_maintainers.json # Don't ignore any files/folders if the parent folder is 'un-ignored' # This also avoids warnings when adding an already-checked file with an ignored parent. diff --git a/.scripts/run_docker_build.sh b/.scripts/run_docker_build.sh index b63b5a0..10d6a2a 100755 --- a/.scripts/run_docker_build.sh +++ b/.scripts/run_docker_build.sh @@ -11,6 +11,8 @@ source .scripts/logging_utils.sh set -xeo pipefail +DOCKER_EXECUTABLE="${DOCKER_EXECUTABLE:-docker}" + THISDIR="$( cd "$( dirname "$0" )" >/dev/null && pwd )" PROVIDER_DIR="$(basename "$THISDIR")" @@ -27,7 +29,7 @@ if [[ "${sha:-}" == "" ]]; then popd fi -docker info +${DOCKER_EXECUTABLE} info # In order for the conda-build process in the container to write to the mounted # volumes, we need to run with the same id as the host machine, which is @@ -35,6 +37,7 @@ docker info export HOST_USER_ID=$(id -u) # Check if docker-machine is being used (normally on OSX) and get the uid from # the VM + if hash docker-machine 2> /dev/null && docker-machine active > /dev/null; then export HOST_USER_ID=$(docker-machine ssh $(docker-machine active) id -u) fi @@ -76,16 +79,34 @@ if [ -z "${CI}" ]; then DOCKER_RUN_ARGS="-it ${DOCKER_RUN_ARGS}" fi -( endgroup "Configure Docker" ) 2> /dev/null +# Default volume suffix for Docker (preserve original behavior) +VOLUME_SUFFIX=",z" +# Podman-specific handling +if [ "${DOCKER_EXECUTABLE}" = "podman" ]; then + # Fix file permissions for rootless podman builds + podman unshare chown -R ${HOST_USER_ID}:${HOST_USER_ID} "${ARTIFACTS}" + podman unshare chown -R ${HOST_USER_ID}:${HOST_USER_ID} "${RECIPE_ROOT}" + + # Add SELinux label only if enforcing + if command -v getenforce &>/dev/null && [ "$(getenforce)" = "Enforcing" ]; then + VOLUME_SUFFIX=",z" + else + VOLUME_SUFFIX="" + fi +fi + +( endgroup "Configure Docker" ) 2> /dev/null ( startgroup "Start Docker" ) 2> /dev/null export UPLOAD_PACKAGES="${UPLOAD_PACKAGES:-True}" export IS_PR_BUILD="${IS_PR_BUILD:-False}" -docker pull "${DOCKER_IMAGE}" -docker run ${DOCKER_RUN_ARGS} \ - -v "${RECIPE_ROOT}":/home/conda/recipe_root:rw,z,delegated \ - -v "${FEEDSTOCK_ROOT}":/home/conda/feedstock_root:rw,z,delegated \ + +${DOCKER_EXECUTABLE} pull "${DOCKER_IMAGE}" + +${DOCKER_EXECUTABLE} run ${DOCKER_RUN_ARGS} \ + -v "${RECIPE_ROOT}":/home/conda/recipe_root:rw${VOLUME_SUFFIX},delegated \ + -v "${FEEDSTOCK_ROOT}":/home/conda/feedstock_root:rw${VOLUME_SUFFIX},delegated \ -e CONFIG \ -e HOST_USER_ID \ -e UPLOAD_PACKAGES \ diff --git a/pixi.toml b/pixi.toml index 6ba89bc..457e0ef 100644 --- a/pixi.toml +++ b/pixi.toml @@ -5,7 +5,7 @@ [workspace] name = "torchcodec-feedstock" -version = "3.57.0" # conda-smithy version used to generate this file +version = "3.61.2" # conda-smithy version used to generate this file description = "Pixi configuration for conda-forge/torchcodec-feedstock" authors = ["@conda-forge/torchcodec"] channels = ["conda-forge"]