Skip to content

Commit ce295e4

Browse files
authored
SNOW-2404570: Bump snowflake-connector-python dependency (#3885)
1 parent 4395df6 commit ce295e4

File tree

3 files changed

+50
-46
lines changed

3 files changed

+50
-46
lines changed

CHANGELOG.md

Lines changed: 48 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -10,52 +10,56 @@
1010
- Added `connection_parameters` parameter to `DataFrameReader.dbapi()` (PuPr) method to allow passing keyword arguments to the `create_connection` callable.
1111
- Added support for `Session.begin_transaction`, `Session.commit` and `Session.rollback`.
1212
- Added support for the following functions in `functions.py`:
13-
- Geospatial functions:
14-
- `st_interpolate`
15-
- `st_intersection`
16-
- `st_intersection_agg`
17-
- `st_intersects`
18-
- `st_isvalid`
19-
- `st_length`
20-
- `st_makegeompoint`
21-
- `st_makeline`
22-
- `st_makepolygon`
23-
- `st_makepolygonoriented`
24-
- `st_disjoint`
25-
- `st_distance`
26-
- `st_dwithin`
27-
- `st_endpoint`
28-
- `st_envelope`
29-
- `st_geohash`
30-
- `st_geomfromgeohash`
31-
- `st_geompointfromgeohash`
32-
- `st_hausdorffdistance`
33-
- `st_makepoint`
34-
- `st_npoints`
35-
- `st_perimeter`
36-
- `st_pointn`
37-
- `st_setsrid`
38-
- `st_simplify`
39-
- `st_srid`
40-
- `st_startpoint`
41-
- `st_symdifference`
42-
- `st_transform`
43-
- `st_union`
44-
- `st_union_agg`
45-
- `st_within`
46-
- `st_x`
47-
- `st_xmax`
48-
- `st_xmin`
49-
- `st_y`
50-
- `st_ymax`
51-
- `st_ymin`
13+
- Geospatial functions:
14+
- `st_interpolate`
15+
- `st_intersection`
16+
- `st_intersection_agg`
17+
- `st_intersects`
18+
- `st_isvalid`
19+
- `st_length`
20+
- `st_makegeompoint`
21+
- `st_makeline`
22+
- `st_makepolygon`
23+
- `st_makepolygonoriented`
24+
- `st_disjoint`
25+
- `st_distance`
26+
- `st_dwithin`
27+
- `st_endpoint`
28+
- `st_envelope`
29+
- `st_geohash`
30+
- `st_geomfromgeohash`
31+
- `st_geompointfromgeohash`
32+
- `st_hausdorffdistance`
33+
- `st_makepoint`
34+
- `st_npoints`
35+
- `st_perimeter`
36+
- `st_pointn`
37+
- `st_setsrid`
38+
- `st_simplify`
39+
- `st_srid`
40+
- `st_startpoint`
41+
- `st_symdifference`
42+
- `st_transform`
43+
- `st_union`
44+
- `st_union_agg`
45+
- `st_within`
46+
- `st_x`
47+
- `st_xmax`
48+
- `st_xmin`
49+
- `st_y`
50+
- `st_ymax`
51+
- `st_ymin`
5252

5353
#### Bug Fixes
5454

5555
- Fixed a bug that `DataFrameReader.xml` fails to parse XML files with undeclared namespaces when `ignoreNamespace` is `True`.
5656
- Added a fix for floating point precision discrepancies in `interval_day_time_from_parts`.
5757
- Fixed a bug where writing Snowpark pandas dataframes on the pandas backend with a column multiindex to Snowflake with `to_snowflake` would raise `KeyError`.
58-
- Fixed a bug that `DataFrameReader.dbapi` (PuPr) is not compatible with oracledb 3.4.0.
58+
- Fixed a bug that `DataFrameReader.dbapi` (PuPr) is not compatible with oracledb 3.4.0.
59+
60+
#### Dependency Updates
61+
62+
- Updated dependency of `snowflake-connector-python>=3.17,<5.0.0`.
5963

6064
### Snowpark pandas API Updates
6165

@@ -112,7 +116,7 @@
112116
- `nullif`
113117
- `nvl2`
114118
- `regr_valx`
115-
119+
116120
- Semi-structured and structured date functions:
117121
- `array_remove_at`
118122
- `as_boolean`
@@ -124,14 +128,14 @@
124128
- String & binary functions:
125129
- `chr`
126130
- `hex_decode_binary`
127-
131+
128132
- Numeric functions:
129133
- `div0null`
130134

131135
- Differential privacy functions:
132136
- `dp_interval_high`
133137
- `dp_interval_low`
134-
138+
135139
- Context functions:
136140
- `last_query_id`
137141
- `last_transaction`
@@ -309,7 +313,7 @@
309313
- Eliminate duplicate parameter check queries for casing status when retrieving the session.
310314
- Retrieve dataframe row counts through object metadata to avoid a COUNT(\*) query (performance)
311315
- Added support for applying Snowflake Cortex function `Complete`.
312-
- Introduce faster pandas: Improved performance by deferring row position computation.
316+
- Introduce faster pandas: Improved performance by deferring row position computation.
313317
- The following operations are currently supported and can benefit from the optimization: `read_snowflake`, `repr`, `loc`, `reset_index`, `merge`, and binary operations.
314318
- If a lazy object (e.g., DataFrame or Series) depends on a mix of supported and unsupported operations, the optimization will not be used.
315319
- Updated the error message for when Snowpark pandas is referenced within apply.

recipe/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ requirements:
5454
- python
5555
{% endif %}
5656
- cloudpickle >=1.6.0,<=3.1.1,!=2.1.0,!=2.2.0
57-
- snowflake-connector-python >=3.17.0,<4.0.0
57+
- snowflake-connector-python >=3.17.0,<5.0.0
5858
- typing-extensions >=4.1.0,<5.0.0
5959
# need to pin libffi because of problems in cryptography.
6060
# This might no longer hold true but keep it just to avoid it from biting us again

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# Snowpark pandas requires modin 0.36.x or 0.37.x, which are compatible with pandas
1818
# 2.2.x or 2.3.x
1919
MODIN_DEPENDENCY_VERSION = ">=0.36.0, <0.38.0"
20-
CONNECTOR_DEPENDENCY_VERSION = ">=3.17.0, <4.0.0"
20+
CONNECTOR_DEPENDENCY_VERSION = ">=3.17.0, <5.0.0"
2121
CONNECTOR_DEPENDENCY = f"snowflake-connector-python{CONNECTOR_DEPENDENCY_VERSION}"
2222
INSTALL_REQ_LIST = [
2323
"setuptools>=40.6.0",

0 commit comments

Comments
 (0)