diff --git a/.ci_support/linux_64_python3.10.____cpython.yaml b/.ci_support/linux_64_python3.10.____cpython.yaml index ea5f381..2644415 100644 --- a/.ci_support/linux_64_python3.10.____cpython.yaml +++ b/.ci_support/linux_64_python3.10.____cpython.yaml @@ -18,10 +18,6 @@ docker_image: - quay.io/condaforge/linux-anvil-x86_64:alma9 glib: - '2' -gst_plugins_base: -- '1.28' -gstreamer: -- '1.28' pin_run_as_build: python: min_pin: x.x diff --git a/.ci_support/linux_64_python3.11.____cpython.yaml b/.ci_support/linux_64_python3.11.____cpython.yaml index e578793..b9580bb 100644 --- a/.ci_support/linux_64_python3.11.____cpython.yaml +++ b/.ci_support/linux_64_python3.11.____cpython.yaml @@ -18,10 +18,6 @@ docker_image: - quay.io/condaforge/linux-anvil-x86_64:alma9 glib: - '2' -gst_plugins_base: -- '1.28' -gstreamer: -- '1.28' pin_run_as_build: python: min_pin: x.x diff --git a/.ci_support/linux_64_python3.12.____cpython.yaml b/.ci_support/linux_64_python3.12.____cpython.yaml index d7618b8..db5d5cd 100644 --- a/.ci_support/linux_64_python3.12.____cpython.yaml +++ b/.ci_support/linux_64_python3.12.____cpython.yaml @@ -18,10 +18,6 @@ docker_image: - quay.io/condaforge/linux-anvil-x86_64:alma9 glib: - '2' -gst_plugins_base: -- '1.28' -gstreamer: -- '1.28' pin_run_as_build: python: min_pin: x.x diff --git a/.ci_support/linux_64_python3.13.____cp313.yaml b/.ci_support/linux_64_python3.13.____cp313.yaml index 352b8fa..0ca7204 100644 --- a/.ci_support/linux_64_python3.13.____cp313.yaml +++ b/.ci_support/linux_64_python3.13.____cp313.yaml @@ -18,10 +18,6 @@ docker_image: - quay.io/condaforge/linux-anvil-x86_64:alma9 glib: - '2' -gst_plugins_base: -- '1.28' -gstreamer: -- '1.28' pin_run_as_build: python: min_pin: x.x diff --git a/.ci_support/linux_64_python3.14.____cp314.yaml b/.ci_support/linux_64_python3.14.____cp314.yaml index 947653d..7c5b983 100644 --- a/.ci_support/linux_64_python3.14.____cp314.yaml +++ b/.ci_support/linux_64_python3.14.____cp314.yaml @@ -18,10 +18,6 @@ docker_image: - quay.io/condaforge/linux-anvil-x86_64:alma9 glib: - '2' -gst_plugins_base: -- '1.28' -gstreamer: -- '1.28' pin_run_as_build: python: min_pin: x.x diff --git a/.ci_support/linux_aarch64_python3.10.____cpython.yaml b/.ci_support/linux_aarch64_python3.10.____cpython.yaml index 9161005..a301b09 100644 --- a/.ci_support/linux_aarch64_python3.10.____cpython.yaml +++ b/.ci_support/linux_aarch64_python3.10.____cpython.yaml @@ -18,10 +18,6 @@ docker_image: - quay.io/condaforge/linux-anvil-x86_64:alma9 glib: - '2' -gst_plugins_base: -- '1.28' -gstreamer: -- '1.28' pin_run_as_build: python: min_pin: x.x diff --git a/.ci_support/linux_aarch64_python3.11.____cpython.yaml b/.ci_support/linux_aarch64_python3.11.____cpython.yaml index e7c1402..5dd8d08 100644 --- a/.ci_support/linux_aarch64_python3.11.____cpython.yaml +++ b/.ci_support/linux_aarch64_python3.11.____cpython.yaml @@ -18,10 +18,6 @@ docker_image: - quay.io/condaforge/linux-anvil-x86_64:alma9 glib: - '2' -gst_plugins_base: -- '1.28' -gstreamer: -- '1.28' pin_run_as_build: python: min_pin: x.x diff --git a/.ci_support/linux_aarch64_python3.12.____cpython.yaml b/.ci_support/linux_aarch64_python3.12.____cpython.yaml index 370c0bb..a46b9d3 100644 --- a/.ci_support/linux_aarch64_python3.12.____cpython.yaml +++ b/.ci_support/linux_aarch64_python3.12.____cpython.yaml @@ -18,10 +18,6 @@ docker_image: - quay.io/condaforge/linux-anvil-x86_64:alma9 glib: - '2' -gst_plugins_base: -- '1.28' -gstreamer: -- '1.28' pin_run_as_build: python: min_pin: x.x diff --git a/.ci_support/linux_aarch64_python3.13.____cp313.yaml b/.ci_support/linux_aarch64_python3.13.____cp313.yaml index b13fdd0..218142c 100644 --- a/.ci_support/linux_aarch64_python3.13.____cp313.yaml +++ b/.ci_support/linux_aarch64_python3.13.____cp313.yaml @@ -18,10 +18,6 @@ docker_image: - quay.io/condaforge/linux-anvil-x86_64:alma9 glib: - '2' -gst_plugins_base: -- '1.28' -gstreamer: -- '1.28' pin_run_as_build: python: min_pin: x.x diff --git a/.ci_support/linux_aarch64_python3.14.____cp314.yaml b/.ci_support/linux_aarch64_python3.14.____cp314.yaml index 0a69943..98db6b4 100644 --- a/.ci_support/linux_aarch64_python3.14.____cp314.yaml +++ b/.ci_support/linux_aarch64_python3.14.____cp314.yaml @@ -18,10 +18,6 @@ docker_image: - quay.io/condaforge/linux-anvil-x86_64:alma9 glib: - '2' -gst_plugins_base: -- '1.28' -gstreamer: -- '1.28' pin_run_as_build: python: min_pin: x.x diff --git a/.ci_support/linux_ppc64le_python3.10.____cpython.yaml b/.ci_support/linux_ppc64le_python3.10.____cpython.yaml index 4b29d73..f1d0520 100644 --- a/.ci_support/linux_ppc64le_python3.10.____cpython.yaml +++ b/.ci_support/linux_ppc64le_python3.10.____cpython.yaml @@ -18,10 +18,6 @@ docker_image: - quay.io/condaforge/linux-anvil-x86_64:alma9 glib: - '2' -gst_plugins_base: -- '1.28' -gstreamer: -- '1.28' pin_run_as_build: python: min_pin: x.x diff --git a/.ci_support/linux_ppc64le_python3.11.____cpython.yaml b/.ci_support/linux_ppc64le_python3.11.____cpython.yaml index c97789c..61184df 100644 --- a/.ci_support/linux_ppc64le_python3.11.____cpython.yaml +++ b/.ci_support/linux_ppc64le_python3.11.____cpython.yaml @@ -18,10 +18,6 @@ docker_image: - quay.io/condaforge/linux-anvil-x86_64:alma9 glib: - '2' -gst_plugins_base: -- '1.28' -gstreamer: -- '1.28' pin_run_as_build: python: min_pin: x.x diff --git a/.ci_support/linux_ppc64le_python3.12.____cpython.yaml b/.ci_support/linux_ppc64le_python3.12.____cpython.yaml index 464d4f5..75b5315 100644 --- a/.ci_support/linux_ppc64le_python3.12.____cpython.yaml +++ b/.ci_support/linux_ppc64le_python3.12.____cpython.yaml @@ -18,10 +18,6 @@ docker_image: - quay.io/condaforge/linux-anvil-x86_64:alma9 glib: - '2' -gst_plugins_base: -- '1.28' -gstreamer: -- '1.28' pin_run_as_build: python: min_pin: x.x diff --git a/.ci_support/linux_ppc64le_python3.13.____cp313.yaml b/.ci_support/linux_ppc64le_python3.13.____cp313.yaml index b20eb89..6d4b983 100644 --- a/.ci_support/linux_ppc64le_python3.13.____cp313.yaml +++ b/.ci_support/linux_ppc64le_python3.13.____cp313.yaml @@ -18,10 +18,6 @@ docker_image: - quay.io/condaforge/linux-anvil-x86_64:alma9 glib: - '2' -gst_plugins_base: -- '1.28' -gstreamer: -- '1.28' pin_run_as_build: python: min_pin: x.x diff --git a/.ci_support/linux_ppc64le_python3.14.____cp314.yaml b/.ci_support/linux_ppc64le_python3.14.____cp314.yaml index 5434fcc..6df048f 100644 --- a/.ci_support/linux_ppc64le_python3.14.____cp314.yaml +++ b/.ci_support/linux_ppc64le_python3.14.____cp314.yaml @@ -18,10 +18,6 @@ docker_image: - quay.io/condaforge/linux-anvil-x86_64:alma9 glib: - '2' -gst_plugins_base: -- '1.28' -gstreamer: -- '1.28' pin_run_as_build: python: min_pin: x.x diff --git a/.ci_support/osx_64_python3.10.____cpython.yaml b/.ci_support/osx_64_python3.10.____cpython.yaml index 4a68a37..b99cf87 100644 --- a/.ci_support/osx_64_python3.10.____cpython.yaml +++ b/.ci_support/osx_64_python3.10.____cpython.yaml @@ -20,10 +20,6 @@ cxx_compiler_version: - '19' glib: - '2' -gst_plugins_base: -- '1.28' -gstreamer: -- '1.28' macos_machine: - x86_64-apple-darwin13.4.0 pin_run_as_build: diff --git a/.ci_support/osx_64_python3.11.____cpython.yaml b/.ci_support/osx_64_python3.11.____cpython.yaml index 9fc2094..3d555bf 100644 --- a/.ci_support/osx_64_python3.11.____cpython.yaml +++ b/.ci_support/osx_64_python3.11.____cpython.yaml @@ -20,10 +20,6 @@ cxx_compiler_version: - '19' glib: - '2' -gst_plugins_base: -- '1.28' -gstreamer: -- '1.28' macos_machine: - x86_64-apple-darwin13.4.0 pin_run_as_build: diff --git a/.ci_support/osx_64_python3.12.____cpython.yaml b/.ci_support/osx_64_python3.12.____cpython.yaml index 8c63f2c..95f0b8b 100644 --- a/.ci_support/osx_64_python3.12.____cpython.yaml +++ b/.ci_support/osx_64_python3.12.____cpython.yaml @@ -20,10 +20,6 @@ cxx_compiler_version: - '19' glib: - '2' -gst_plugins_base: -- '1.28' -gstreamer: -- '1.28' macos_machine: - x86_64-apple-darwin13.4.0 pin_run_as_build: diff --git a/.ci_support/osx_64_python3.13.____cp313.yaml b/.ci_support/osx_64_python3.13.____cp313.yaml index 0774fea..e97cb81 100644 --- a/.ci_support/osx_64_python3.13.____cp313.yaml +++ b/.ci_support/osx_64_python3.13.____cp313.yaml @@ -20,10 +20,6 @@ cxx_compiler_version: - '19' glib: - '2' -gst_plugins_base: -- '1.28' -gstreamer: -- '1.28' macos_machine: - x86_64-apple-darwin13.4.0 pin_run_as_build: diff --git a/.ci_support/osx_64_python3.14.____cp314.yaml b/.ci_support/osx_64_python3.14.____cp314.yaml index 6b8acd7..6a461bb 100644 --- a/.ci_support/osx_64_python3.14.____cp314.yaml +++ b/.ci_support/osx_64_python3.14.____cp314.yaml @@ -20,10 +20,6 @@ cxx_compiler_version: - '19' glib: - '2' -gst_plugins_base: -- '1.28' -gstreamer: -- '1.28' macos_machine: - x86_64-apple-darwin13.4.0 pin_run_as_build: diff --git a/.ci_support/osx_arm64_python3.10.____cpython.yaml b/.ci_support/osx_arm64_python3.10.____cpython.yaml index 2a3d49f..12e645a 100644 --- a/.ci_support/osx_arm64_python3.10.____cpython.yaml +++ b/.ci_support/osx_arm64_python3.10.____cpython.yaml @@ -20,10 +20,6 @@ cxx_compiler_version: - '19' glib: - '2' -gst_plugins_base: -- '1.28' -gstreamer: -- '1.28' macos_machine: - arm64-apple-darwin20.0.0 pin_run_as_build: diff --git a/.ci_support/osx_arm64_python3.11.____cpython.yaml b/.ci_support/osx_arm64_python3.11.____cpython.yaml index d36cc58..0d5c4dc 100644 --- a/.ci_support/osx_arm64_python3.11.____cpython.yaml +++ b/.ci_support/osx_arm64_python3.11.____cpython.yaml @@ -20,10 +20,6 @@ cxx_compiler_version: - '19' glib: - '2' -gst_plugins_base: -- '1.28' -gstreamer: -- '1.28' macos_machine: - arm64-apple-darwin20.0.0 pin_run_as_build: diff --git a/.ci_support/osx_arm64_python3.12.____cpython.yaml b/.ci_support/osx_arm64_python3.12.____cpython.yaml index fefe90f..68a11bd 100644 --- a/.ci_support/osx_arm64_python3.12.____cpython.yaml +++ b/.ci_support/osx_arm64_python3.12.____cpython.yaml @@ -20,10 +20,6 @@ cxx_compiler_version: - '19' glib: - '2' -gst_plugins_base: -- '1.28' -gstreamer: -- '1.28' macos_machine: - arm64-apple-darwin20.0.0 pin_run_as_build: diff --git a/.ci_support/osx_arm64_python3.13.____cp313.yaml b/.ci_support/osx_arm64_python3.13.____cp313.yaml index abbbda9..0cc008c 100644 --- a/.ci_support/osx_arm64_python3.13.____cp313.yaml +++ b/.ci_support/osx_arm64_python3.13.____cp313.yaml @@ -20,10 +20,6 @@ cxx_compiler_version: - '19' glib: - '2' -gst_plugins_base: -- '1.28' -gstreamer: -- '1.28' macos_machine: - arm64-apple-darwin20.0.0 pin_run_as_build: diff --git a/.ci_support/osx_arm64_python3.14.____cp314.yaml b/.ci_support/osx_arm64_python3.14.____cp314.yaml index 299d9e6..f896ffa 100644 --- a/.ci_support/osx_arm64_python3.14.____cp314.yaml +++ b/.ci_support/osx_arm64_python3.14.____cp314.yaml @@ -20,10 +20,6 @@ cxx_compiler_version: - '19' glib: - '2' -gst_plugins_base: -- '1.28' -gstreamer: -- '1.28' macos_machine: - arm64-apple-darwin20.0.0 pin_run_as_build: diff --git a/.ci_support/win_64_python3.10.____cpython.yaml b/.ci_support/win_64_python3.10.____cpython.yaml index 4e6439e..a54f009 100644 --- a/.ci_support/win_64_python3.10.____cpython.yaml +++ b/.ci_support/win_64_python3.10.____cpython.yaml @@ -10,10 +10,6 @@ cxx_compiler: - vs2022 glib: - '2' -gst_plugins_base: -- '1.28' -gstreamer: -- '1.28' pin_run_as_build: python: min_pin: x.x diff --git a/.ci_support/win_64_python3.11.____cpython.yaml b/.ci_support/win_64_python3.11.____cpython.yaml index cdbee60..5d32322 100644 --- a/.ci_support/win_64_python3.11.____cpython.yaml +++ b/.ci_support/win_64_python3.11.____cpython.yaml @@ -10,10 +10,6 @@ cxx_compiler: - vs2022 glib: - '2' -gst_plugins_base: -- '1.28' -gstreamer: -- '1.28' pin_run_as_build: python: min_pin: x.x diff --git a/.ci_support/win_64_python3.12.____cpython.yaml b/.ci_support/win_64_python3.12.____cpython.yaml index 9ae6832..823ac91 100644 --- a/.ci_support/win_64_python3.12.____cpython.yaml +++ b/.ci_support/win_64_python3.12.____cpython.yaml @@ -10,10 +10,6 @@ cxx_compiler: - vs2022 glib: - '2' -gst_plugins_base: -- '1.28' -gstreamer: -- '1.28' pin_run_as_build: python: min_pin: x.x diff --git a/.ci_support/win_64_python3.13.____cp313.yaml b/.ci_support/win_64_python3.13.____cp313.yaml index 6c8e656..f95567b 100644 --- a/.ci_support/win_64_python3.13.____cp313.yaml +++ b/.ci_support/win_64_python3.13.____cp313.yaml @@ -10,10 +10,6 @@ cxx_compiler: - vs2022 glib: - '2' -gst_plugins_base: -- '1.28' -gstreamer: -- '1.28' pin_run_as_build: python: min_pin: x.x diff --git a/.ci_support/win_64_python3.14.____cp314.yaml b/.ci_support/win_64_python3.14.____cp314.yaml index 9e39a87..d264d96 100644 --- a/.ci_support/win_64_python3.14.____cp314.yaml +++ b/.ci_support/win_64_python3.14.____cp314.yaml @@ -10,10 +10,6 @@ cxx_compiler: - vs2022 glib: - '2' -gst_plugins_base: -- '1.28' -gstreamer: -- '1.28' pin_run_as_build: python: min_pin: x.x diff --git a/.scripts/build_steps.sh b/.scripts/build_steps.sh index 2d6a2b1..f2d7598 100755 --- a/.scripts/build_steps.sh +++ b/.scripts/build_steps.sh @@ -36,7 +36,7 @@ mv /opt/conda/conda-meta/history /opt/conda/conda-meta/history.$(date +%Y-%m-%d- echo > /opt/conda/conda-meta/history micromamba install --root-prefix ~/.conda --prefix /opt/conda \ --yes --override-channels --channel conda-forge --strict-channel-priority \ - pip python=3.12 conda-build conda-forge-ci-setup=4 "conda-build>=24.1" + pip rattler-build conda-forge-ci-setup=4 "conda-build>=24.1" export CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1 # set up the condarc @@ -62,7 +62,7 @@ ulimit -n 1024 make_build_number "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" if [[ "${HOST_PLATFORM}" != "${BUILD_PLATFORM}" ]] && [[ "${BUILD_WITH_CONDA_DEBUG:-0}" != 1 ]]; then - EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --no-test" + EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --test skip" fi ( endgroup "Configuring conda" ) 2> /dev/null @@ -72,20 +72,16 @@ if [[ -f "${FEEDSTOCK_ROOT}/LICENSE.txt" ]]; then fi if [[ "${BUILD_WITH_CONDA_DEBUG:-0}" == 1 ]]; then - if [[ "x${BUILD_OUTPUT_ID:-}" != "x" ]]; then - EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --output-id ${BUILD_OUTPUT_ID}" - fi - conda debug "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \ - ${EXTRA_CB_OPTIONS:-} \ - --clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" - - # Drop into an interactive shell - /bin/bash + echo "rattler-build currently doesn't support debug mode" else - conda-build "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \ - --suppress-variables ${EXTRA_CB_OPTIONS:-} \ - --clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" \ - --extra-meta flow_run_id="${flow_run_id:-}" remote_url="${remote_url:-}" sha="${sha:-}" + + rattler-build build --recipe "${RECIPE_ROOT}" \ + -m "${CI_SUPPORT}/${CONFIG}.yaml" \ + ${EXTRA_CB_OPTIONS:-} \ + --target-platform "${HOST_PLATFORM}" \ + --extra-meta flow_run_id="${flow_run_id:-}" \ + --extra-meta remote_url="${remote_url:-}" \ + --extra-meta sha="${sha:-}" ( startgroup "Inspecting artifacts" ) 2> /dev/null # inspect_artifacts was only added in conda-forge-ci-setup 4.9.4 diff --git a/.scripts/run_osx_build.sh b/.scripts/run_osx_build.sh index bac7141..6a9653c 100755 --- a/.scripts/run_osx_build.sh +++ b/.scripts/run_osx_build.sh @@ -26,7 +26,7 @@ chmod +x "${micromamba_exe}" echo "Creating environment" "${micromamba_exe}" create --yes --root-prefix "${MAMBA_ROOT_PREFIX}" --prefix "${MINIFORGE_HOME}" \ --channel conda-forge \ - pip python=3.12 conda-build conda-forge-ci-setup=4 "conda-build>=24.1" + pip rattler-build conda-forge-ci-setup=4 "conda-build>=24.1" echo "Moving pkgs cache from ${MAMBA_ROOT_PREFIX} to ${MINIFORGE_HOME}" mv "${MAMBA_ROOT_PREFIX}/pkgs" "${MINIFORGE_HOME}" echo "Cleaning up micromamba" @@ -89,33 +89,25 @@ source run_conda_forge_build_setup ( endgroup "Configuring conda" ) 2> /dev/null -echo -e "\n\nMaking the build clobber file" -make_build_number ./ ./recipe ./.ci_support/${CONFIG}.yaml - if [[ -f LICENSE.txt ]]; then cp LICENSE.txt "recipe/recipe-scripts-license.txt" fi if [[ "${BUILD_WITH_CONDA_DEBUG:-0}" == 1 ]]; then - if [[ "x${BUILD_OUTPUT_ID:-}" != "x" ]]; then - EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --output-id ${BUILD_OUTPUT_ID}" - fi - conda debug ./recipe -m ./.ci_support/${CONFIG}.yaml \ - ${EXTRA_CB_OPTIONS:-} \ - --clobber-file ./.ci_support/clobber_${CONFIG}.yaml - - # Drop into an interactive shell - /bin/bash + echo "rattler-build does not currently support debug mode" else if [[ "${HOST_PLATFORM}" != "${BUILD_PLATFORM}" ]]; then - EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --no-test" + EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --test skip" fi - conda-build ./recipe -m ./.ci_support/${CONFIG}.yaml \ - --suppress-variables ${EXTRA_CB_OPTIONS:-} \ - --clobber-file ./.ci_support/clobber_${CONFIG}.yaml \ - --extra-meta flow_run_id="$flow_run_id" remote_url="$remote_url" sha="$sha" + rattler-build build --recipe ./recipe \ + -m ./.ci_support/${CONFIG}.yaml \ + ${EXTRA_CB_OPTIONS:-} \ + --target-platform "${HOST_PLATFORM}" \ + --extra-meta flow_run_id="$flow_run_id" \ + --extra-meta remote_url="$remote_url" \ + --extra-meta sha="$sha" ( startgroup "Inspecting artifacts" ) 2> /dev/null diff --git a/.scripts/run_win_build.bat b/.scripts/run_win_build.bat index 3c7b325..7281f3f 100755 --- a/.scripts/run_win_build.bat +++ b/.scripts/run_win_build.bat @@ -31,7 +31,7 @@ if !errorlevel! neq 0 exit /b !errorlevel! echo Creating environment call "%MICROMAMBA_EXE%" create --yes --root-prefix "%MAMBA_ROOT_PREFIX%" --prefix "%MINIFORGE_HOME%" ^ --channel conda-forge ^ - pip python=3.12 conda-build conda-forge-ci-setup=4 "conda-build>=24.1" + pip rattler-build conda-forge-ci-setup=4 "conda-build>=24.1" if !errorlevel! neq 0 exit /b !errorlevel! echo Removing %MAMBA_ROOT_PREFIX% del /S /Q "%MAMBA_ROOT_PREFIX%" >nul @@ -63,18 +63,18 @@ if EXIST LICENSE.txt ( copy LICENSE.txt "recipe\\recipe-scripts-license.txt" ) if NOT [%HOST_PLATFORM%] == [%BUILD_PLATFORM%] ( - set "EXTRA_CB_OPTIONS=%EXTRA_CB_OPTIONS% --no-test" + set "EXTRA_CB_OPTIONS=%EXTRA_CB_OPTIONS% --test skip" ) if NOT [%flow_run_id%] == [] ( - set "EXTRA_CB_OPTIONS=%EXTRA_CB_OPTIONS% --extra-meta flow_run_id=%flow_run_id% remote_url=%remote_url% sha=%sha%" + set "EXTRA_CB_OPTIONS=%EXTRA_CB_OPTIONS% --extra-meta flow_run_id=%flow_run_id% --extra-meta remote_url=%remote_url% --extra-meta sha=%sha%" ) call :end_group :: Build the recipe echo Building recipe -conda-build.exe "recipe" -m .ci_support\%CONFIG%.yaml --suppress-variables %EXTRA_CB_OPTIONS% +rattler-build.exe build --recipe "recipe" -m .ci_support\%CONFIG%.yaml %EXTRA_CB_OPTIONS% --target-platform %HOST_PLATFORM% if !errorlevel! neq 0 exit /b !errorlevel! call :start_group "Inspecting artifacts" diff --git a/conda-forge.yml b/conda-forge.yml index df016e8..eb2753d 100644 --- a/conda-forge.yml +++ b/conda-forge.yml @@ -1,3 +1,4 @@ +conda_build_tool: rattler-build bot: version_updates: even_odd_versions: true diff --git a/recipe/bld.bat b/recipe/build.bat similarity index 100% rename from recipe/bld.bat rename to recipe/build.bat diff --git a/recipe/recipe.yaml b/recipe/recipe.yaml new file mode 100644 index 0000000..47ce791 --- /dev/null +++ b/recipe/recipe.yaml @@ -0,0 +1,94 @@ +# handle GST versions +schema_version: 1 + +context: + version: "1.28.2" + version_arr: ${{ version | split(".") }} + gst_version: ${{ "." | join((version_arr[0], version_arr[1])) }} + +package: + name: gst-python + version: ${{ version }} + +source: + url: https://gstreamer.freedesktop.org/src/gst-python/gst-python-${{ version }}.tar.xz + sha256: 12fdd8e19af97d797a6b2c195228e6c9edc4cddfa68274912b78ef66068ad822 + +build: + number: 1 + skip: python_impl != 'cpython' + +requirements: + build: + - if: build_platform != target_platform + then: python + - if: build_platform != target_platform + then: cross-python_${{ target_platform }} + - ${{ compiler('c') }} + - ${{ stdlib('c') }} + - ${{ compiler('cxx') }} + - if: linux + then: libgl-devel + # These dependencies are only for cos7 platforms + # expat here is _only_ required for mesa-dri-drivers + - pkg-config + - meson + - ninja + host: + - gstreamer 1.28.2.* + - gst-plugins-base 1.28.2.* + - gst-plugins-bad 1.28.2.* + - glib + - python + - pygobject >=3.8 + - setuptools + - zlib + - if: linux + then: + - xorg-libxau + - xorg-libxext + - xorg-libx11 + - xorg-libxrender + - xorg-xorgproto + - libdrm + - xorg-libxdamage + - xorg-libxfixes + - xorg-libxxf86vm + - if: ppc64le or aarch64 + then: + - xorg-libxshmfence + - libgl-devel + run: + - ${{ pin_compatible('gstreamer') }} + - ${{ pin_compatible('gst-plugins-base') }} + - ${{ pin_compatible('gst-plugins-bad') }} + - python + - pygobject + - typing_extensions + ignore_run_exports: + by_name: + - gst-plugins-base + from_package: + - ${{ compiler('cxx') }} + +tests: + - script: + - if: unix + then: test -f $PREFIX/lib/gstreamer-1.0/libgstpython${SHLIB_EXT} + - if: win + then: if not exist %LIBRARY_LIB%\\gstreamer-1.0\\gstpython.dll exit 1 + - gst-inspect-1.0 --plugin python + +about: + license: LGPL-2.1-or-later + license_file: COPYING + summary: GStreamer Python binding overrides + description: GStreamer Python binding overrides + homepage: http://gstreamer.freedesktop.org/modules/gst-python.html + repository: https://gitlab.freedesktop.org/gstreamer/gstreamer + +extra: + recipe-maintainers: + - tjwilli58 + - duncanmmacleod + - tschoonj