Skip to content

Commit

Permalink
Update cloudpickle dependency (#975)
Browse files Browse the repository at this point in the history
* Update cloudpickle dependency

* set <2.2.0

* try with 2.2.1

* update cloudpickle with restricting unsupported dependencies

* merge with main

* changelog  updates
  • Loading branch information
sfc-gh-aalam authored Nov 29, 2023
1 parent 2ba690c commit 7a5a4bf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@
- Added experimental feature: Local Testing Mode.
- Added support for `arrays_to_object` new functions in `snowflake.snowpark.functions`.

## Dependency Updates

- Bumped cloudpickle dependency to work with `cloudpickle==2.2.1`

### Bug Fixes

- DataFrame column names qouting check now supports newline characters.
- DataFrame column names quoting check now supports newline characters.

## 1.10.0 (2023-11-03)

Expand Down
6 changes: 1 addition & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,14 @@
# snowpark directly depends on typing-extension, so we should not remove it even if connector also depends on it.
"typing-extensions>=4.1.0, <5.0.0",
"pyyaml",
]
CLOUDPICKLE_REQ_LIST = [
"cloudpickle>=1.6.0,<=2.0.0;python_version<'3.11'",
"cloudpickle>=1.6.0,<=2.2.1,!=2.1.0,!=2.2.0;python_version<'3.11'",
"cloudpickle==2.2.1;python_version~='3.11'", # backend only supports cloudpickle 2.2.1 + python 3.11 at the moment
]
REQUIRED_PYTHON_VERSION = ">=3.8, <3.12"

if os.getenv("SNOWFLAKE_IS_PYTHON_RUNTIME_TEST", False):
REQUIRED_PYTHON_VERSION = ">=3.8"

INSTALL_REQ_LIST.extend(CLOUDPICKLE_REQ_LIST)

# read the version
VERSION = ()
with open(os.path.join(SNOWPARK_SRC_DIR, "version.py"), encoding="utf-8") as f:
Expand Down

0 comments on commit 7a5a4bf

Please sign in to comment.