Skip to content

Commit bb9e617

Browse files
Bump pypa/cibuildwheel from 2.23.3 to 3.1.1 (#61981)
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Matthew Roeschke <[email protected]>
1 parent fb4f24e commit bb9e617

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

.github/workflows/wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ jobs:
162162
run: echo "sdist_name=$(cd ./dist && ls -d */)" >> "$GITHUB_ENV"
163163

164164
- name: Build wheels
165-
uses: pypa/cibuildwheel@v2.23.3
165+
uses: pypa/cibuildwheel@v3.1.1
166166
with:
167167
package-dir: ./dist/${{ startsWith(matrix.buildplat[1], 'macosx') && env.sdist_name || needs.build_sdist.outputs.sdist_file }}
168168
env:

pandas/tests/extension/test_period.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
Period,
2626
iNaT,
2727
)
28-
from pandas.compat import is_platform_windows
2928

3029
from pandas.core.dtypes.dtypes import PeriodDtype
3130

@@ -102,12 +101,10 @@ def check_reduce(self, ser: pd.Series, op_name: str, skipna: bool):
102101
return super().check_reduce(ser, op_name, skipna)
103102

104103
@pytest.mark.parametrize("periods", [1, -2])
105-
def test_diff(self, data, periods):
106-
if is_platform_windows():
107-
with tm.assert_produces_warning(RuntimeWarning, check_stacklevel=False):
108-
super().test_diff(data, periods)
109-
else:
110-
super().test_diff(data, periods)
104+
# NOTE: RuntimeWarning on Windows(non-ARM) platforms (in CI)
105+
@pytest.mark.filterwarnings("ignore::RuntimeWarning")
106+
def test_diff(self, request, data, periods):
107+
super().test_diff(data, periods)
111108

112109
@pytest.mark.parametrize("na_action", [None, "ignore"])
113110
def test_map(self, data, na_action):

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ parentdir_prefix = "pandas-"
144144
setup = ['--vsenv'] # For Windows
145145

146146
[tool.cibuildwheel]
147-
skip = "cp36-* cp37-* cp38-* cp39-* pp* *_i686 *_ppc64le *_s390x"
147+
skip = "cp38-* cp39-* *_i686 *_ppc64le *_s390x"
148148
build-verbosity = 3
149149
environment = {LDFLAGS="-Wl,--strip-all"}
150150
test-requires = "hypothesis>=6.84.0 pytest>=7.3.2 pytest-xdist>=3.4.0"
@@ -190,6 +190,8 @@ select = "*pyodide*"
190190
test-requires = "pytest>=7.3.2 hypothesis>=6.84.0"
191191
# Pyodide repairs wheels on its own, using auditwheel-emscripten
192192
repair-wheel-command = ""
193+
# https://github.com/pyodide/pyodide/issues/5805
194+
build-verbosity = 1
193195
test-command = """
194196
PANDAS_CI='1' python -c 'import pandas as pd; \
195197
pd.test(extra_args=["-m not clipboard and not single_cpu and not slow and not network and not db", "--no-strict-data-files"]);' \

0 commit comments

Comments
 (0)