Skip to content

Commit

Permalink
Pin the version of cloudpickle to 2.1.x (#23120)
Browse files Browse the repository at this point in the history
  • Loading branch information
tvalentyn authored Sep 13, 2022
1 parent e2e7265 commit 2a9327d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sdks/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,11 @@ def get_portability_package_data():
# dill on client and server, therefore list of allowed versions is very
# narrow. See: https://github.com/uqfoundation/dill/issues/341.
'dill>=0.3.1.1,<0.3.2',
'cloudpickle>=2.1.0,<3',
# It is prudent to use the same version of pickler at job submission
# and at runtime, therefore bounds need to be tight.
# To avoid depending on an old dependency, update the minor version on
# every Beam release, see: https://github.com/apache/beam/issues/23119
'cloudpickle~=2.1.0',
'fastavro>=0.23.6,<2',
'grpcio>=1.33.1,!=1.48.0,<2',
'hdfs>=2.1.0,<3.0.0',
Expand Down

0 comments on commit 2a9327d

Please sign in to comment.