diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 5af1da96ae89b..5c3f8554d800c 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -104,7 +104,7 @@ jobs: - [macos-15, macosx_arm64] - [windows-2025, win_amd64] - [windows-11-arm, win_arm64] - python: [["cp311", "3.11"], ["cp312", "3.12"], ["cp313", "3.13"], ["cp313t", "3.13"], ["cp314", "3.14"], ["cp314t", "3.14"]] + python: [["cp311", "3.11"], ["cp312", "3.12"], ["cp313", "3.13"], ["cp314", "3.14"], ["cp314t", "3.14"]] include: # Build Pyodide wheels and upload them to Anaconda.org # NOTE: this job is similar to the one in unit-tests.yml except for the fact @@ -112,10 +112,7 @@ jobs: - buildplat: [ubuntu-24.04, pyodide_wasm32] python: ["cp312", "3.12"] cibw_build_frontend: 'build' - exclude: - # BackendUnavailable: Cannot import 'mesonpy' - - buildplat: [windows-11-arm, win_arm64] - python: ["cp313t", "3.13"] + concurrency: # https://github.community/t/concurrecy-not-work-for-push/183068/7 group: ${{ github.event_name == 'push' && github.run_number || github.ref }}-${{ matrix.buildplat[0] }}-${{ matrix.buildplat[1] }}-${{ matrix.python[0]}}-build-wheels @@ -164,7 +161,7 @@ jobs: run: echo "sdist_name=$(cd ./dist && ls -d */)" >> "$GITHUB_ENV" - name: Build wheels - uses: pypa/cibuildwheel@ee02a1537ce3071a004a6b08c41e72f0fdc42d9a # v3.4.0 + uses: pypa/cibuildwheel@294735312765b09d24a2fbec22660ce817587d55 # v4.1.0 with: package-dir: ./dist/${{ startsWith(matrix.buildplat[1], 'macosx') && env.sdist_name || needs.build_sdist.outputs.sdist_file }} env: diff --git a/pyproject.toml b/pyproject.toml index 48ad29c3850fa..6b92ed431e58c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -149,7 +149,10 @@ setup = ['--vsenv'] # For Windows [tool.cibuildwheel] skip = ["*_i686", "*_ppc64le", "*_s390x"] -build-verbosity = 3 +enable = ["pyodide-eol"] +build-verbosity = 1 +build-frontend = "pip" +config-settings = { compile-args = ["-v"] } environment = {LDFLAGS="-Wl,--strip-all"} test-extras = "test" test-command = """ @@ -157,18 +160,15 @@ test-command = """ pd.test(extra_args=["-m not clipboard and not single_cpu and not slow and not network and not db", "-n 2", "--no-strict-data-files"]); \ pd.test(extra_args=["-m not clipboard and single_cpu and not slow and not network and not db", "--no-strict-data-files"]);' \ """ -enable = ["cpython-freethreading"] before-build = "PACKAGE_DIR={package} bash {package}/scripts/cibw_before_build.sh" [tool.cibuildwheel.windows] environment = {} -before-build = "pip install delvewheel" test-command = """ set PANDAS_CI='1' && \ python -c "import pandas as pd; \ pd.test(extra_args=['--no-strict-data-files', '-m not clipboard and not single_cpu and not slow and not network and not db']);" \ """ -repair-wheel-command = "delvewheel repair -w {dest_dir} {wheel}" [[tool.cibuildwheel.overrides]] select = "*-manylinux_aarch64*"