From 808d533df2f7af2c261bd7ef0cdbbebf92d0843e Mon Sep 17 00:00:00 2001 From: Thomas Li <47963215+lithomas1@users.noreply.github.com> Date: Sun, 6 Apr 2025 11:26:13 -0400 Subject: [PATCH 1/4] BLD/CI: Try to fix the Windows Python 3.13t wheel build --- pyproject.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b7d53b0d8934a..eba5125eee0b1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -160,8 +160,7 @@ free-threaded-support = true before-build = "PACKAGE_DIR={package} bash {package}/scripts/cibw_before_build.sh" [tool.cibuildwheel.windows] -before-build = "pip install delvewheel && bash {package}/scripts/cibw_before_build_windows.sh" -before-test = "bash {package}/scripts/cibw_before_test_windows.sh" +before-build = "pip install delvewheel && bash {package}/scripts/cibw_before_build.sh" test-command = """ set PANDAS_CI='1' && \ python -c "import pandas as pd; \ From 6da481310363952b87b03f8d901930562e142cbf Mon Sep 17 00:00:00 2001 From: Thomas Li <47963215+lithomas1@users.noreply.github.com> Date: Sun, 6 Apr 2025 11:43:38 -0400 Subject: [PATCH 2/4] Try pinning tzdata on windows --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index eba5125eee0b1..b9f241868d8c1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -150,7 +150,8 @@ setup = ['--vsenv'] # For Windows skip = "cp36-* cp37-* cp38-* cp39-* pp* *_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" +# tzdata 2025.2 causing some failures on Windows +test-requires = "hypothesis>=6.84.0 pytest>=7.3.2 pytest-xdist>=3.4.0 tzdata<2025.2" 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", "-n 2", "--no-strict-data-files"]); \ From 18578d0c5e5820e02e531838dbfa7bbe5cb94e11 Mon Sep 17 00:00:00 2001 From: Thomas Li <47963215+lithomas1@users.noreply.github.com> Date: Sun, 6 Apr 2025 11:53:01 -0400 Subject: [PATCH 3/4] try again --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index b9f241868d8c1..e1965617e8c5a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -151,7 +151,7 @@ skip = "cp36-* cp37-* cp38-* cp39-* pp* *_i686 *_ppc64le *_s390x" build-verbosity = "3" environment = {LDFLAGS="-Wl,--strip-all"} # tzdata 2025.2 causing some failures on Windows -test-requires = "hypothesis>=6.84.0 pytest>=7.3.2 pytest-xdist>=3.4.0 tzdata<2025.2" +test-requires = "hypothesis>=6.84.0 pytest>=7.3.2 pytest-xdist>=3.4.0 tzdata==2025.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", "-n 2", "--no-strict-data-files"]); \ From ea0949be2fb145253d20f116278c750ae3fa62e4 Mon Sep 17 00:00:00 2001 From: Thomas Li <47963215+lithomas1@users.noreply.github.com> Date: Sun, 6 Apr 2025 12:04:20 -0400 Subject: [PATCH 4/4] try another way --- pyproject.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e1965617e8c5a..5da6c9302af2d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,7 @@ dependencies = [ "numpy>=1.23.5; python_version<'3.12'", "numpy>=1.26.0; python_version>='3.12'", "python-dateutil>=2.8.2", - "tzdata>=2022.7" + "tzdata>=2022.7,<2025.2" ] classifiers = [ 'Development Status :: 5 - Production/Stable', @@ -150,8 +150,7 @@ setup = ['--vsenv'] # For Windows skip = "cp36-* cp37-* cp38-* cp39-* pp* *_i686 *_ppc64le *_s390x" build-verbosity = "3" environment = {LDFLAGS="-Wl,--strip-all"} -# tzdata 2025.2 causing some failures on Windows -test-requires = "hypothesis>=6.84.0 pytest>=7.3.2 pytest-xdist>=3.4.0 tzdata==2025.1" +test-requires = "hypothesis>=6.84.0 pytest>=7.3.2 pytest-xdist>=3.4.0" 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", "-n 2", "--no-strict-data-files"]); \