diff --git a/CHANGES.md b/CHANGES.md index 5eca4ec80d28..108b6bf31188 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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 diff --git a/sdks/python/container/py37/base_image_requirements.txt b/sdks/python/container/py37/base_image_requirements.txt index c721f4e89186..d3dd3d37cd21 100644 --- a/sdks/python/container/py37/base_image_requirements.txt +++ b/sdks/python/container/py37/base_image_requirements.txt @@ -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. @@ -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 diff --git a/sdks/python/container/py38/base_image_requirements.txt b/sdks/python/container/py38/base_image_requirements.txt index 37d194cd9535..b66b6209faa1 100644 --- a/sdks/python/container/py38/base_image_requirements.txt +++ b/sdks/python/container/py38/base_image_requirements.txt @@ -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. @@ -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 diff --git a/sdks/python/container/py39/base_image_requirements.txt b/sdks/python/container/py39/base_image_requirements.txt index 5daabd22d611..b411535d334e 100644 --- a/sdks/python/container/py39/base_image_requirements.txt +++ b/sdks/python/container/py39/base_image_requirements.txt @@ -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. @@ -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 diff --git a/sdks/python/container/run_generate_requirements.sh b/sdks/python/container/run_generate_requirements.sh index 9fb39795b7d2..cbcb0ada7865 100755 --- a/sdks/python/container/run_generate_requirements.sh +++ b/sdks/python/container/run_generate_requirements.sh @@ -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 @@ -91,7 +91,7 @@ cat < $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. diff --git a/sdks/python/setup.py b/sdks/python/setup.py index 96afb23c5481..2797574a09f3 100644 --- a/sdks/python/setup.py +++ b/sdks/python/setup.py @@ -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',