You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues, and I could not find an existing issue for this bug
Current Behavior
08:05:33 Running with dbt=1.7.11
08:05:33 Encountered an error:
No module named 'tenacity.asyncio'
08:05:33 Traceback (most recent call last):
...
...
...
File "/home/runner/.local/lib/python3.10/site-packages/dbt/adapters/athena/__init__.py", line 2, in<module>
from dbt.adapters.athena.connections import AthenaConnectionManager, AthenaCredentials
File "/home/runner/.local/lib/python3.10/site-packages/dbt/adapters/athena/connections.py", line 12, in<module>
import tenacity
File "/home/runner/.local/lib/python3.10/site-packages/tenacity/__init__.py", line 653, in<module>
from tenacity.asyncio import AsyncRetrying # noqa:E402,I100
ModuleNotFoundError: No module named 'tenacity.asyncio'
The issue is due to a breaking change in jd/tenacity#471, which is automatically installed due to the dependency on tenacity~=8.2 - which equates to tenacity>=8.*
@t04glovern looks like that the fix is simple as installing forcing the installation of "tenacity~=8.3" here https://github.com/dbt-athena/dbt-athena/blob/main/setup.py#L62.
Feel free to propose a fix for it, otherwise I will take care of it in the next days.
Also, as you might have done already, you can force the installation of "tenacity~=8.3" in your python env, and that should fix the issue as well as a workaround.
Is this a new bug in dbt-athena?
Current Behavior
The issue is due to a breaking change in jd/tenacity#471, which is automatically installed due to the dependency on
tenacity~=8.2
- which equates totenacity>=8.*
Hopefully this problem will be resolved with a release of version 8.5 which will automatically be used by this repository https://github.com/dbt-athena/dbt-athena/blob/main/setup.py#L62
Expected Behavior
Queries should run - this is not a bug with dbt-athena specifically, though, so nothing should tangably change with this library.
Steps To Reproduce
Environment
Additional Context
No response
The text was updated successfully, but these errors were encountered: