Skip to content

Commit de2f08c

Browse files
sfc-gh-mmishchenkosfc-gh-pczajka
authored andcommitted
SNOW-2047992 Include VCRedist library into Windows wheels and get rid of PyArrow version constraint (#2470)
1 parent fafa6b6 commit de2f08c

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

ci/build_windows.bat

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,18 @@ EXIT /B %ERRORLEVEL%
3636
set pv=%~1
3737

3838
echo Going to compile wheel for Python %pv%
39-
py -%pv% -m pip install --upgrade pip setuptools wheel build
39+
py -%pv% -m pip install --upgrade pip setuptools wheel build delvewheel
4040
if %errorlevel% neq 0 goto :error
4141

42-
py -%pv% -m build --wheel .
42+
py -%pv% -m build --outdir dist\rawwheel --wheel .
4343
if %errorlevel% neq 0 goto :error
4444

45+
:: patch the wheel by including its dependencies
46+
py -%pv% -m delvewheel repair -vv -w dist dist\rawwheel\*
47+
if %errorlevel% neq 0 goto :error
48+
49+
rd /s /q dist\rawwheel
50+
4551
EXIT /B 0
4652

4753
:error

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ development =
9595
pytest-asyncio
9696
pandas =
9797
pandas>=2.1.2,<3.0.0
98-
pyarrow<19.0.0
98+
pyarrow
9999
secure-local-storage =
100100
keyring>=23.1.0,<26.0.0
101101
aio =

0 commit comments

Comments
 (0)