diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 2a8594f49..1fe6badae 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -160,11 +160,6 @@ jobs: & python.exe winbuild\build_prepare.py -v --no-imagequant --architecture=${{ matrix.cibw_arch }} shell: pwsh - - name: Update rust - if: matrix.cibw_arch == 'AMD64' - run: | - rustup update - - name: Build wheels run: | setlocal EnableDelayedExpansion diff --git a/winbuild/build_prepare.py b/winbuild/build_prepare.py index e118cd994..fe1d24088 100644 --- a/winbuild/build_prepare.py +++ b/winbuild/build_prepare.py @@ -385,6 +385,7 @@ DEPS: dict[str, dict[str, Any]] = { "filename": f"libavif-{V['LIBAVIF']}.zip", "license": "LICENSE", "build": [ + "rustup update", f"{sys.executable} -m pip install meson", *cmds_cmake( "avif_static",