Skip to content

Commit f890f48

Browse files
SNOW-2047992 Include VCRedist library into Windows wheels and get rid of PyArrow version constraint (#2470)
1 parent 2e1ced7 commit f890f48

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

DESCRIPTION.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ https://docs.snowflake.com/
77
Source code is also available at: https://github.com/snowflakedb/snowflake-connector-python
88

99
# Release Notes
10-
- v3.16.1(TBD)
10+
- v3.17 (TBD)
1111
- Added new authentication methods support for Workload Identity Federation (WIF).
1212
- Added the `WORKLOAD_IDENTITY` value for authenticator type.
1313
- Added the `workload_identity_provider` and `workload_identity_entra_resource` parameters.
@@ -23,6 +23,7 @@ Source code is also available at: https://github.com/snowflakedb/snowflake-conne
2323
- Moved `OAUTH_TYPE` to `CLIENT_ENVIROMENT`.
2424
- Fix bug where PAT with external session authenticator was used while `external_session_id` was not provided in `SnowflakeRestful.fetch`
2525
- Added support for parameter `use_vectorized_scanner` in function `write_pandas`.
26+
- Relaxed `pyarrow` version constraint, versions >= 19 can now be used.
2627
- Populate type_code in ResultMetadata for interval types.
2728

2829
- v3.16.0(July 04,2025)

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
@@ -94,6 +94,6 @@ development =
9494
pytzdata
9595
pandas =
9696
pandas>=2.1.2,<3.0.0
97-
pyarrow<19.0.0
97+
pyarrow
9898
secure-local-storage =
9999
keyring>=23.1.0,<26.0.0

0 commit comments

Comments
 (0)