Hi, We're facing some issues (related to this thre...
# flyte-support
f
Hi, We're facing some issues (related to this thread ๐Ÿงต link)
Copy code
compute_endpoint_resolver_builtin_defaults() missing 2 
required positional arguments: 'credentials' and 'account_id_endpoint_mode'
We currently use these
Copy code
"flytekit~=1.8.1"
"s3fs==2024.6.1" -> "aiobotocore"=="v2.20.0"
"boto3==1.36.23"
We tested newer version of
boto3
as well, but still got the same error message. @helpful-church-28990 Does anybody have similar issues?
h
Copy code
2025-05-14 17:18:00.559
โ”‚ /usr/local/lib/python3.9/site-packages/flytekit/core/data_persistence.py:299 โ”‚



2025-05-14 17:18:00.559
โ”‚ in get_data                                                                  โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ โฑ 299 โ”‚   โ”‚   โ”‚   โ”‚   self.get(remote_path, to_path=local_path, recursive=is โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ /usr/local/lib/python3.9/site-packages/flytekit/core/data_persistence.py:197 โ”‚



2025-05-14 17:18:00.559
โ”‚ in get                                                                       โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ โฑ 197 โ”‚   โ”‚   โ”‚   return file_system.get(from_path, to_path, recursive=recur โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ /usr/local/lib/python3.9/site-packages/fsspec/asyn.py:118 in wrapper         โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ โฑ  118 โ”‚   โ”‚   return sync(self.loop, func, *args, **kwargs)                 โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ /usr/local/lib/python3.9/site-packages/fsspec/asyn.py:103 in sync            โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ โฑ  103 โ”‚   โ”‚   raise return_result                                           โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ /usr/local/lib/python3.9/site-packages/fsspec/asyn.py:56 in _runner          โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ โฑ   56 โ”‚   โ”‚   result[0] = await coro                                        โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ /usr/local/lib/python3.9/site-packages/fsspec/asyn.py:634 in _get            โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ โฑ  634 โ”‚   โ”‚   โ”‚   โ”‚   rpaths = [                                            โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ /usr/local/lib/python3.9/site-packages/fsspec/asyn.py:635 in <listcomp>      โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ โฑ  635 โ”‚   โ”‚   โ”‚   โ”‚   โ”‚   p for p in rpaths if not (trailing_sep(p) or awai โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ /usr/local/lib/python3.9/site-packages/s3fs/core.py:1483 in _isdir           โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ โฑ 1483 โ”‚   โ”‚   โ”‚   return bool(await self._lsdir(path))                      โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ /usr/local/lib/python3.9/site-packages/s3fs/core.py:723 in _lsdir            โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ โฑ  723 โ”‚   โ”‚   โ”‚   โ”‚   async for c in self._iterdir(                         โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ /usr/local/lib/python3.9/site-packages/s3fs/core.py:754 in _iterdir          โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ โฑ  754 โ”‚   โ”‚   await self.set_session()                                      โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ /usr/local/lib/python3.9/site-packages/s3fs/core.py:539 in set_session       โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ โฑ  539 โ”‚   โ”‚   โ”‚   self._s3 = await s3creator.get_client()                   โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ /usr/local/lib/python3.9/site-packages/s3fs/utils.py:72 in get_client        โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ โฑ  72 โ”‚   โ”‚   โ”‚   self._client = await self._stack.enter_async_context(      โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ /usr/local/lib/python3.9/contextlib.py:575 in enter_async_context            โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ โฑ 575 โ”‚   โ”‚   result = await _cm_type.__aenter__(cm)                         โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ /usr/local/lib/python3.9/site-packages/aiobotocore/session.py:25 in          โ”‚



2025-05-14 17:18:00.559
โ”‚ __aenter__                                                                   โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ โฑ  25 โ”‚   โ”‚   self._client = await self._coro                                โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ /usr/local/lib/python3.9/site-packages/aiobotocore/session.py:215 in         โ”‚



2025-05-14 17:18:00.559
โ”‚ _create_client                                                               โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ โฑ 215 โ”‚   โ”‚   client = await client_creator.create_client(                   โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ /usr/local/lib/python3.9/site-packages/aiobotocore/client.py:82 in           โ”‚



2025-05-14 17:18:00.559
โ”‚ create_client                                                                โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ โฑ  82 โ”‚   โ”‚   client_args = self._get_client_args(                           โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ /usr/local/lib/python3.9/site-packages/aiobotocore/client.py:291 in          โ”‚



2025-05-14 17:18:00.559
โ”‚ _get_client_args                                                             โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ โฑ 291 โ”‚   โ”‚   return args_creator.get_client_args(                           โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ /usr/local/lib/python3.9/site-packages/aiobotocore/args.py:99 in             โ”‚



2025-05-14 17:18:00.559
โ”‚ get_client_args                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ โฑ  99 โ”‚   โ”‚   ruleset_resolver = self._build_endpoint_resolver(              โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ /usr/local/lib/python3.9/site-packages/aiobotocore/args.py:165 in            โ”‚



2025-05-14 17:18:00.559
โ”‚ _build_endpoint_resolver                                                     โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ โฑ 165 โ”‚   โ”‚   resolver_builtins = self.compute_endpoint_resolver_builtin_def โ”‚



2025-05-14 17:18:00.559
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ



2025-05-14 17:18:00.559
TypeError: compute_endpoint_resolver_builtin_defaults() missing 2 required 



2025-05-14 17:18:00.559
positional arguments: 'credentials' and 'account_id_endpoint_mode'
1/2
Copy code
2025-05-14 17:18:00.559
During handling of the above exception, another exception occurred:



2025-05-14 17:18:00.559



2025-05-14 17:18:00.559
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ Traceback (most recent call last) โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ



2025-05-14 17:18:00.559
โ”‚ /usr/local/bin/pyflyte-fast-execute:8 in <module>                            โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ โฑ 8 โ”‚   sys.exit(fast_execute_task_cmd())                                    โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ /usr/local/lib/python3.9/site-packages/click/core.py:1157 in __call__        โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ โฑ 1157 โ”‚   โ”‚   return self.main(*args, **kwargs)                             โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ /usr/local/lib/python3.9/site-packages/click/core.py:1078 in main            โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ โฑ 1078 โ”‚   โ”‚   โ”‚   โ”‚   โ”‚   rv = self.invoke(ctx)                             โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ /usr/local/lib/python3.9/site-packages/click/core.py:1434 in invoke          โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ โฑ 1434 โ”‚   โ”‚   โ”‚   return ctx.invoke(self.callback, **ctx.params)            โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ /usr/local/lib/python3.9/site-packages/click/core.py:783 in invoke           โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ โฑ  783 โ”‚   โ”‚   โ”‚   โ”‚   return __callback(*args, **kwargs)                    โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ /usr/local/lib/python3.9/site-packages/flytekit/bin/entrypoint.py:506 in     โ”‚



2025-05-14 17:18:00.559
โ”‚ fast_execute_task_cmd                                                        โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ โฑ 506 โ”‚   โ”‚   _download_distribution(additional_distribution, dest_dir)      โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ /usr/local/lib/python3.9/site-packages/flytekit/core/utils.py:295 in wrapper โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ โฑ 295 โ”‚   โ”‚   โ”‚   โ”‚   return func(*args, **kwargs)                           โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ /usr/local/lib/python3.9/site-packages/flytekit/tools/fast_registration.py:1 โ”‚



2025-05-14 17:18:00.559
โ”‚ 13 in download_distribution                                                  โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ โฑ 113 โ”‚   FlyteContextManager.current_context().file_access.get_data(additio โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ /usr/local/lib/python3.9/site-packages/flytekit/core/data_persistence.py:301 โ”‚



2025-05-14 17:18:00.559
โ”‚ in get_data                                                                  โ”‚



2025-05-14 17:18:00.559
โ”‚                                                                              โ”‚



2025-05-14 17:18:00.559
โ”‚ โฑ 301 โ”‚   โ”‚   โ”‚   raise FlyteAssertion(                                      โ”‚



2025-05-14 17:18:00.559
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ



2025-05-14 17:18:00.559
FlyteAssertion: Failed to get data from 



2025-05-14 17:18:00.559
<s3://platform-flyte-eu-west-1-dev-0/test/main/DJAFLIUN7PMSMJYZ3JYUIX>



2025-05-14 17:18:00.559
AAUU======/fastc74f81d476cbb9b69d13cffd4419df57.tar.gz to /root/ 



2025-05-14 17:18:00.559
(recursive=False).



2025-05-14 17:18:00.559



2025-05-14 17:18:00.559
Original exception: compute_endpoint_resolver_builtin_defaults() missing 2 



2025-05-14 17:18:00.559
required positional arguments: 'credentials' and 'account_id_endpoint_mode'
2/2
We have tried different version and combination but still getting same error so would appreciate if you can guide us
118 Views