From 4569d711e2d968f444a1dc93bd18f03fa42a2094 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Jul 2025 12:59:24 +0000 Subject: [PATCH 1/4] Bump pypa/cibuildwheel from 2.23.3 to 3.1.1 Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) from 2.23.3 to 3.1.1. - [Release notes](https://github.com/pypa/cibuildwheel/releases) - [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md) - [Commits](https://github.com/pypa/cibuildwheel/compare/v2.23.3...v3.1.1) --- updated-dependencies: - dependency-name: pypa/cibuildwheel dependency-version: 3.1.1 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/wheels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index a38ec5ee359d9..47ef020bcb5f1 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -162,7 +162,7 @@ jobs: run: echo "sdist_name=$(cd ./dist && ls -d */)" >> "$GITHUB_ENV" - name: Build wheels - uses: pypa/cibuildwheel@v2.23.3 + uses: pypa/cibuildwheel@v3.1.1 with: package-dir: ./dist/${{ startsWith(matrix.buildplat[1], 'macosx') && env.sdist_name || needs.build_sdist.outputs.sdist_file }} env: From 52413d8318e513b7292b603fdd4dd41b4cee8c4e Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Mon, 28 Jul 2025 11:44:51 -0700 Subject: [PATCH 2/4] Change to filterwarnings for windows arm --- pandas/tests/extension/test_period.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pandas/tests/extension/test_period.py b/pandas/tests/extension/test_period.py index 2e6fe12cbbd13..9b5657fed2223 100644 --- a/pandas/tests/extension/test_period.py +++ b/pandas/tests/extension/test_period.py @@ -102,12 +102,11 @@ def check_reduce(self, ser: pd.Series, op_name: str, skipna: bool): return super().check_reduce(ser, op_name, skipna) @pytest.mark.parametrize("periods", [1, -2]) - def test_diff(self, data, periods): + def test_diff(self, request, data, periods): if is_platform_windows(): - with tm.assert_produces_warning(RuntimeWarning, check_stacklevel=False): - super().test_diff(data, periods) - else: - super().test_diff(data, periods) + # NOTE: No warning on Windows-ARM platforms (in CI) + request.applymarker(pytest.mark.filterwarnings("ignore::RuntimeWarning")) + super().test_diff(data, periods) @pytest.mark.parametrize("na_action", [None, "ignore"]) def test_map(self, data, na_action): From c907edd21e87ccb87eb8b537f4aba48e14c64542 Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Mon, 28 Jul 2025 11:55:27 -0700 Subject: [PATCH 3/4] try adjusting build verbosity --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index e013222f8fe79..0dadce42d5c37 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -144,7 +144,7 @@ parentdir_prefix = "pandas-" setup = ['--vsenv'] # For Windows [tool.cibuildwheel] -skip = "cp36-* cp37-* cp38-* cp39-* pp* *_i686 *_ppc64le *_s390x" +skip = "cp38-* cp39-* *_i686 *_ppc64le *_s390x" build-verbosity = 3 environment = {LDFLAGS="-Wl,--strip-all"} test-requires = "hypothesis>=6.84.0 pytest>=7.3.2 pytest-xdist>=3.4.0" @@ -190,6 +190,8 @@ select = "*pyodide*" test-requires = "pytest>=7.3.2 hypothesis>=6.84.0" # Pyodide repairs wheels on its own, using auditwheel-emscripten repair-wheel-command = "" +# meson-python: error: Unknown option "-vv" +build-verbosity = 1 test-command = """ PANDAS_CI='1' python -c 'import pandas as pd; \ pd.test(extra_args=["-m not clipboard and not single_cpu and not slow and not network and not db", "--no-strict-data-files"]);' \ From e0482bff891cb1e5f2b9ab3bac44fe53c6ca3716 Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Mon, 28 Jul 2025 12:18:17 -0700 Subject: [PATCH 4/4] Just use mark.filterwarnings --- pandas/tests/extension/test_period.py | 6 ++---- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/pandas/tests/extension/test_period.py b/pandas/tests/extension/test_period.py index 9b5657fed2223..31496c1b7db3d 100644 --- a/pandas/tests/extension/test_period.py +++ b/pandas/tests/extension/test_period.py @@ -25,7 +25,6 @@ Period, iNaT, ) -from pandas.compat import is_platform_windows from pandas.core.dtypes.dtypes import PeriodDtype @@ -102,10 +101,9 @@ def check_reduce(self, ser: pd.Series, op_name: str, skipna: bool): return super().check_reduce(ser, op_name, skipna) @pytest.mark.parametrize("periods", [1, -2]) + # NOTE: RuntimeWarning on Windows(non-ARM) platforms (in CI) + @pytest.mark.filterwarnings("ignore::RuntimeWarning") def test_diff(self, request, data, periods): - if is_platform_windows(): - # NOTE: No warning on Windows-ARM platforms (in CI) - request.applymarker(pytest.mark.filterwarnings("ignore::RuntimeWarning")) super().test_diff(data, periods) @pytest.mark.parametrize("na_action", [None, "ignore"]) diff --git a/pyproject.toml b/pyproject.toml index 0dadce42d5c37..be0060033b201 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -190,7 +190,7 @@ select = "*pyodide*" test-requires = "pytest>=7.3.2 hypothesis>=6.84.0" # Pyodide repairs wheels on its own, using auditwheel-emscripten repair-wheel-command = "" -# meson-python: error: Unknown option "-vv" +# https://github.com/pyodide/pyodide/issues/5805 build-verbosity = 1 test-command = """ PANDAS_CI='1' python -c 'import pandas as pd; \