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
Description: Description of your issue, stack traces from errors and code that reproduces the issue
Issue we are facing while we are doing full sync code not requiring anything "async":
ModuleNotFoundError: No module named ‘async-timeout’
After checking out where it was used, the only reference we found was in our poetry.lock file (we use poetry as a package installer) and we found out where it comes from:
It seems that due to the fact that we are using a python version higher than 3.11.2 (we use 3.11.5, any reason for locking it to 3.11.2 ?) we end up facing that issue even though we don't actually need that dependency at all.
Would it be possible to allow higher python version so that it doesn't potentially affect other users (in other projects we were not impacted due to having aiohttp installing it by default )
Work around we did: We put async-timeout as an explicit dependency to avoid being blocked
Thanks in advance
The text was updated successfully, but these errors were encountered:
Hey @mmick78, Could you please provide a more detailed stack trace? It's very unusual to see module name with a dash "No module named ‘async-timeout’". If the error happened during runtime it would be "async_timeout" (example). I believe you faced an installation issue.
This needs to be reopened. Seems that we bring async-timeout in the setup.py instead of async_timeout resulting in failure in older python versions (e.g. 3.7).
Version: What redis-py and what redis version is the issue happening on?
sync part of redis-py and version 5.0.1
Platform: What platform / version? (For example Python 3.5.1 on Windows 7 / Ubuntu 15.10 / Azure)
Python 3.11.5, arm AWS Lambda
Our dependencies:
Description: Description of your issue, stack traces from errors and code that reproduces the issue
Issue we are facing while we are doing full sync code not requiring anything "async":
After checking out where it was used, the only reference we found was in our
poetry.lock
file (we use poetry as a package installer) and we found out where it comes from:Checking out
setup.py
in this repo we found the same thing:https://github.com/redis/redis-py/blob/master/setup.py#L39
It seems that due to the fact that we are using a python version higher than 3.11.2 (we use 3.11.5, any reason for locking it to 3.11.2 ?) we end up facing that issue even though we don't actually need that dependency at all.
Would it be possible to allow higher python version so that it doesn't potentially affect other users (in other projects we were not impacted due to having aiohttp installing it by default )
Work around we did: We put async-timeout as an explicit dependency to avoid being blocked
Thanks in advance
The text was updated successfully, but these errors were encountered: