Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BEAM-11167] Updates dill package to version 0.3.5.1 #17669

Merged
merged 11 commits into from
Jun 3, 2022
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
* Go SDK users can now use generic registration functions to optimize their DoFn execution. ([BEAM-14347](https://issues.apache.org/jira/browse/BEAM-14347))
* Go SDK users may now write self-checkpointing Splittable DoFns to read from streaming sources. ([BEAM-11104](https://issues.apache.org/jira/browse/BEAM-11104))
* Go SDK textio Reads have been moved to Splittable DoFns exclusively. ([BEAM-14489](https://issues.apache.org/jira/browse/BEAM-14489))
* The serialization (pickling) library for Python is updated to dill==0.3.5.1 ([BEAM-11167](https://issues.apache.org/jira/browse/BEAM-11167))

## Breaking Changes

Expand Down
4 changes: 2 additions & 2 deletions sdks/python/container/py37/base_image_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Run ./gradlew :sdks:python:container:generatePythonRequirementsAll to update.
# Do not edit manually, adjust ../base_image_requirements_manual.txt or
# Apache Beam's setup.py instead, and regenerate the list.
# You will need Python intepreters for all versions supported by Beam, see:
# You will need Python interpreters for all versions supported by Beam, see:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you'd have to fix this in the generator script

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

# https://s.apache.org/beam-python-dev-wiki
# Reach out to a committer if you need help.

Expand All @@ -38,7 +38,7 @@ crcmod==1.7
cryptography==37.0.2
Cython==0.29.28
deprecation==2.1.0
dill==0.3.1.1
dill==0.3.5.1
docker==5.0.3
docopt==0.6.2
execnet==1.9.0
Expand Down
4 changes: 2 additions & 2 deletions sdks/python/container/py38/base_image_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Run ./gradlew :sdks:python:container:generatePythonRequirementsAll to update.
# Do not edit manually, adjust ../base_image_requirements_manual.txt or
# Apache Beam's setup.py instead, and regenerate the list.
# You will need Python intepreters for all versions supported by Beam, see:
# You will need Python interpreters for all versions supported by Beam, see:
# https://s.apache.org/beam-python-dev-wiki
# Reach out to a committer if you need help.

Expand All @@ -37,7 +37,7 @@ crcmod==1.7
cryptography==37.0.2
Cython==0.29.28
deprecation==2.1.0
dill==0.3.1.1
dill==0.3.5.1
docker==5.0.3
docopt==0.6.2
execnet==1.9.0
Expand Down
4 changes: 2 additions & 2 deletions sdks/python/container/py39/base_image_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Run ./gradlew :sdks:python:container:generatePythonRequirementsAll to update.
# Do not edit manually, adjust ../base_image_requirements_manual.txt or
# Apache Beam's setup.py instead, and regenerate the list.
# You will need Python intepreters for all versions supported by Beam, see:
# You will need Python interpreters for all versions supported by Beam, see:
# https://s.apache.org/beam-python-dev-wiki
# Reach out to a committer if you need help.

Expand All @@ -37,7 +37,7 @@ crcmod==1.7
cryptography==37.0.2
Cython==0.29.28
deprecation==2.1.0
dill==0.3.1.1
dill==0.3.5.1
docker==5.0.3
docopt==0.6.2
execnet==1.9.0
Expand Down
4 changes: 2 additions & 2 deletions sdks/python/container/run_generate_requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
# ./gradlew :sdks:python:container:generatePythonRequirementsAll
# ./gradlew :sdks:python:container:py38:generatePythonRequirements

# You will need Python intepreters for all versions supported by Beam, see:
# You will need Python interpreters for all versions supported by Beam, see:
# https://s.apache.org/beam-python-dev-wiki

if [[ $# != 2 ]]; then
Expand Down Expand Up @@ -91,7 +91,7 @@ cat <<EOT > $REQUIREMENTS_FILE
# Run ./gradlew :sdks:python:container:generatePythonRequirementsAll to update.
# Do not edit manually, adjust ../base_image_requirements_manual.txt or
# Apache Beam's setup.py instead, and regenerate the list.
# You will need Python intepreters for all versions supported by Beam, see:
# You will need Python interpreters for all versions supported by Beam, see:
# https://s.apache.org/beam-python-dev-wiki
# Reach out to a committer if you need help.

Expand Down
2 changes: 1 addition & 1 deletion sdks/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def get_portability_package_data():
# using older version of dill. It is best to use the same version of
# 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',
'dill>=0.3.5.1,<0.3.6',
'cloudpickle>=2.0.0,<3',
'fastavro>=0.23.6,<2',
'grpcio>=1.29.0,<2',
Expand Down