This is an automated email from the ASF dual-hosted git repository.

tvalentyn pushed a commit to branch tvalentyn-patch-1
in repository https://gitbox.apache.org/repos/asf/beam.git

commit 480de5778b04901dd6302f359931c455a4ca0576
Author: tvalentyn <[email protected]>
AuthorDate: Thu Sep 7 09:43:40 2023 -0700

    Update dill_pickler.py
    
    Use backported dill changes also in Python 3.10.
---
 sdks/python/apache_beam/internal/dill_pickler.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sdks/python/apache_beam/internal/dill_pickler.py 
b/sdks/python/apache_beam/internal/dill_pickler.py
index efa736c2a96..8a0742642df 100644
--- a/sdks/python/apache_beam/internal/dill_pickler.py
+++ b/sdks/python/apache_beam/internal/dill_pickler.py
@@ -46,7 +46,7 @@ import dill
 
 settings = {'dill_byref': None}
 
-if sys.version_info >= (3, 11) and dill.__version__ == "0.3.1.1":
+if sys.version_info >= (3, 10) and dill.__version__ == "0.3.1.1":
   # Let's make dill 0.3.1.1 support Python 3.11.
 
   # The following function is based on 'save_code' from 'dill'

Reply via email to