From a77334bc2b87e4f8c7fbb21068ebcfaef8d6802e Mon Sep 17 00:00:00 2001 From: Amos Wenger Date: Mon, 23 Sep 2024 16:32:57 +0200 Subject: [PATCH] production flag no longer exists, and performance is on-by-default --- .github/workflows/build-binaries.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.yml index b3bfffab3ec4c..74809604419af 100644 --- a/.github/workflows/build-binaries.yml +++ b/.github/workflows/build-binaries.yml @@ -79,7 +79,7 @@ jobs: uses: PyO3/maturin-action@v1 with: target: x86_64 - args: --release --locked --out dist --features production,self-update + args: --release --locked --out dist --features self-update - name: "Upload wheels" uses: actions/upload-artifact@v4 with: @@ -121,7 +121,7 @@ jobs: uses: PyO3/maturin-action@v1 with: target: aarch64 - args: --release --locked --out dist --features production,self-update + args: --release --locked --out dist --features self-update - name: "Test wheel - aarch64" run: | pip install dist/${{ env.PACKAGE_NAME }}-*.whl --force-reinstall @@ -176,7 +176,7 @@ jobs: uses: PyO3/maturin-action@v1 with: target: ${{ matrix.platform.target }} - args: --release --locked --out dist --features production,self-update + args: --release --locked --out dist --features self-update - name: "Test wheel" if: ${{ !startsWith(matrix.platform.target, 'aarch64') }} shell: bash @@ -228,7 +228,7 @@ jobs: with: target: ${{ matrix.target }} manylinux: auto - args: --release --locked --out dist --features production,self-update + args: --release --locked --out dist --features self-update # See: https://github.com/sfackler/rust-openssl/issues/2036#issuecomment-1724324145 before-script-linux: | # If we're running on rhel centos, install needed packages. @@ -310,7 +310,7 @@ jobs: # On `aarch64`, use `manylinux: 2_28`; otherwise, use `manylinux: auto`. manylinux: ${{ matrix.platform.arch == 'aarch64' && '2_28' || 'auto' }} docker-options: ${{ matrix.platform.maturin_docker_options }} - args: --release --locked --out dist --features production,self-update + args: --release --locked --out dist --features self-update - uses: uraimo/run-on-arch-action@v2 name: Test wheel with: @@ -377,7 +377,7 @@ jobs: target: ${{ matrix.platform.target }} manylinux: auto docker-options: ${{ matrix.platform.maturin_docker_options }} - args: --release --locked --out dist --no-default-features --features production,self-update + args: --release --locked --out dist --no-default-features --features self-update - uses: uraimo/run-on-arch-action@v2 if: matrix.platform.arch != 'ppc64' name: Test wheel @@ -452,7 +452,7 @@ jobs: target: ${{ matrix.platform.target }} manylinux: auto docker-options: ${{ matrix.platform.maturin_docker_options }} - args: --release --locked --out dist --no-default-features --features production,self-update + args: --release --locked --out dist --no-default-features --features self-update before-script-linux: | if command -v yum &> /dev/null; then yum update -y @@ -525,7 +525,7 @@ jobs: with: target: ${{ matrix.target }} manylinux: musllinux_1_1 - args: --release --locked --out dist --features production,self-update + args: --release --locked --out dist --features self-update - name: "Test wheel" if: matrix.target == 'x86_64-unknown-linux-musl' uses: addnab/docker-run-action@v3 @@ -598,7 +598,7 @@ jobs: with: target: ${{ matrix.platform.target }} manylinux: musllinux_1_1 - args: ${{ matrix.platform.arch == 'ppc64le' && '--profile release-no-lto' || '--release'}} --locked --out dist --features production,self-update ${{ matrix.platform.arch == 'aarch64' && '--compatibility 2_17' || ''}} + args: ${{ matrix.platform.arch == 'ppc64le' && '--profile release-no-lto' || '--release'}} --locked --out dist --features self-update ${{ matrix.platform.arch == 'aarch64' && '--compatibility 2_17' || ''}} docker-options: ${{ matrix.platform.maturin_docker_options }} rust-toolchain: ${{ matrix.platform.toolchain || null }} - uses: uraimo/run-on-arch-action@v2