From 0a12f6c39950217cd4a56ccb78840dd763c40027 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Wed, 15 Nov 2023 13:21:38 +1100 Subject: [PATCH] Removed --std=c99 setting --- .github/workflows/wheels-test.sh | 4 ++-- pyproject.toml | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/wheels-test.sh b/.github/workflows/wheels-test.sh index ab8de3dc9c4..f2c74dcd411 100755 --- a/.github/workflows/wheels-test.sh +++ b/.github/workflows/wheels-test.sh @@ -8,12 +8,12 @@ EXP_FEATURES="fribidi harfbuzz libjpeg_turbo raqm transp_webp webp_anim webp_mux if [[ "$OSTYPE" == "darwin"* ]]; then brew install fribidi export PKG_CONFIG_PATH="/usr/local/opt/openblas/lib/pkgconfig" -elif [ "${AUDITWHEEL_POLICY:9}" == "musllinux" ]; then +elif [ "${AUDITWHEEL_POLICY::9}" == "musllinux" ]; then apk add curl fribidi else yum install -y fribidi openblas-devel pkgconfig fi -if [ "${AUDITWHEEL_POLICY:9}" != "musllinux" ]; then +if [ "${AUDITWHEEL_POLICY::9}" != "musllinux" ]; then python3 -m pip install numpy fi diff --git a/pyproject.toml b/pyproject.toml index ba11096fa0d..70572b99435 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -82,9 +82,6 @@ before-all = ".github/workflows/wheels-dependencies.sh" test-command = "cd {project} && .github/workflows/wheels-test.sh" test-extras = "tests" -[tool.cibuildwheel.linux] -environment = { CFLAGS="--std=c99" } - [tool.ruff] line-length = 88 select = [