[ 
https://issues.apache.org/jira/browse/BEAM-8324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16941248#comment-16941248
 ] 

Ahmet Altay commented on BEAM-8324:
-----------------------------------

Let's put an upperbound. How about

dill>=0.3.1.1,<0.3.2.

I believe this impacts 2.16.0 release. See: 
https://github.com/apache/beam/blob/release-2.16.0/sdks/python/setup.py

> Pre/Postcommit Dataflow IT tests fail: _create_function() takes from 2 to 6 
> positional arguments but 7 were given
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: BEAM-8324
>                 URL: https://issues.apache.org/jira/browse/BEAM-8324
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-core
>            Reporter: Valentyn Tymofieiev
>            Assignee: Valentyn Tymofieiev
>            Priority: Major
>             Fix For: 2.16.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> {noformat}
> Dataflow pipeline failed. State: FAILED, Error:
> Traceback (most recent call last):
>   File 
> "/usr/local/lib/python3.7/site-packages/dataflow_worker/batchworker.py", line 
> 773, in run
>     self._load_main_session(self.local_staging_directory)
>   File 
> "/usr/local/lib/python3.7/site-packages/dataflow_worker/batchworker.py", line 
> 489, in _load_main_session
>     pickler.load_session(session_file)
>   File 
> "/usr/local/lib/python3.7/site-packages/apache_beam/internal/pickler.py", 
> line 287, in load_session
>     return dill.load_session(file_path)
>   File "/usr/local/lib/python3.7/site-packages/dill/_dill.py", line 410, in 
> load_session
>     module = unpickler.load()
> TypeError: _create_function() takes from 2 to 6 positional arguments but 7 
> were given
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to