ciaran
03/25/2021, 5:38 PMFailed to load and execute Flow's environment: StorageError("An error occurred while unpickling the flow:\n TypeError('code() takes at most 15 arguments (16 given)')\nThis may be due to one of the following version mismatches between the flow build and execution environments:\n - python: (flow built with '3.8.6', currently running with '3.7.10')")
?
For background I'm using an ECS Agent.Josh Greenhalgh
03/25/2021, 5:40 PMciaran
03/25/2021, 5:41 PMprefecthq/prefect:0.14.13-python3.8
is the image we're running on ECSJosh Greenhalgh
03/25/2021, 5:42 PMJosh Greenhalgh
03/25/2021, 5:43 PMJosh Greenhalgh
03/25/2021, 5:43 PMciaran
03/25/2021, 5:43 PMciaran
03/25/2021, 5:43 PMciaran
03/25/2021, 5:45 PMprefecthq/prefect:0.14.13
looks like this oneciaran
03/25/2021, 5:46 PMJosh Greenhalgh
03/25/2021, 5:48 PMJosh Greenhalgh
03/25/2021, 5:49 PMJosh Greenhalgh
03/25/2021, 5:49 PMciaran
03/25/2021, 5:50 PMciaran
03/25/2021, 5:50 PMciaran
03/25/2021, 5:55 PMprefecthq/prefect:0.14.13-python3.8
did the job 🦜Jim Crist-Harif
03/25/2021, 5:55 PMprefecthq/prefect
image that corresponds with the prefect release your flow was registered with. Currently this is a python 3.7 image (though we should update that to 3.8). If you manually specify an image to use, or use script based storage (https://docs.prefect.io/orchestration/flow_config/storage.html#script-based-storage)) you won't have this issue.ciaran
03/25/2021, 5:57 PM