-
Notifications
You must be signed in to change notification settings - Fork 29
Fix warning that coroutine decorator is deprecated since Python 3.8 #10
Comments
Ping @RazerM |
Can you submit a PR? |
I read a bit about the difference between |
i'm running into the same issue. it looks like theres other issues with the async implementation here, its protecting async.Lock initialization with a the synchronous thread lock, and at the moment for exit it just calls through to baseclass exit, which is just using the thread lock not the async lock. putting an async coroutine around a blocking call doesn't make it not blocking |
fwiw, in the context of the usage here the delta really isn't very material afaics. |
The deprecated |
FYI this was officially removed in Python 3.11 so dependent packages are now breaking. @RazerM |
Also seeing this. If this isn't going to be fixed is there an alternative? |
Snakemake might switch to |
https://github.com/RazerM/ratelimiter is unmaintained and incompatible with Python 3.11. refs RazerM/ratelimiter#10 (comment)
https://github.com/RazerM/ratelimiter is unmaintained and incompatible with Python 3.11. refs RazerM/ratelimiter#10 (comment)
This comment was marked as off-topic.
This comment was marked as off-topic.
@uburuntu your project is already mentioned in this issue and in the other PR which I think is more than enough. |
Our project currently uses
ratelimiter-1.2.0.post0
, the latest version on PyPI.Python 3.8 has been released and we're adding a py28 CI test for our project, which resulted in the following warning:
While the master branch has unreleased commits that weren't in the version we're testing, I believe the warning would still occur on the latest master commit at the following line:
ratelimiter/ratelimiter/_async.py
Line 35 in da78a45
Is it possible to update the code to no longer create the warning and release a new version to PyPI with the update?
The text was updated successfully, but these errors were encountered: