Comments (4)
My distro just updated to Python 3.11 and now a downstream script depending on this no longer works:
Traceback (most recent call last):
File "/opt/bitcoind_exporter/bitcoin-prometheus-exporter/bitcoind-monitor.py", line 33, in <module>
import riprova
File "/opt/bitcoind_exporter/.local/lib/python3.11/site-packages/riprova/__init__.py", line 2, in <module>
from .retry import retry
File "/opt/bitcoind_exporter/.local/lib/python3.11/site-packages/riprova/retry.py", line 8, in <module>
from .async_retrier import AsyncRetrier
File "/opt/bitcoind_exporter/.local/lib/python3.11/site-packages/riprova/async_retrier.py", line 17, in <module>
class AsyncRetrier(Retrier):
File "/opt/bitcoind_exporter/.local/lib/python3.11/site-packages/riprova/async_retrier.py", line 151, in AsyncRetrier
@asyncio.coroutine
^^^^^^^^^^^^^^^^^
AttributeError: module 'asyncio' has no attribute 'coroutine'. Did you mean: 'coroutines'?
Luckily the script I use provides a docker container, so I can start using that as a workaround for now. I run Arch, btw
from riprova.
So, this has already been fixed in the github release / master branch, but the version of the package on pypi is still 0.2.7, the latest github tag is 0.3.1. when i install 0.3.1 from github everything works with python 3.11. is 0.3.1 intentionally not on pypi?
from riprova.
This was fixed by #23
from riprova.
0.3.1 was pushed to PyPI now, I think this issue can be closed.
from riprova.
Related Issues (17)
- Use seconds as default time unit HOT 1
- Handle asyncio.CancelledError HOT 1
- Feature: support custom error exception evaluator HOT 1
- Fault result HOT 11
- Exclude paco HOT 5
- Retrier catches internal error HOT 3
- Bug | Inconsistent test HOT 3
- Retry context manager HOT 4
- Remove an unnecessary `print` in retrier.py HOT 1
- Can't pass sleep_fn from retry to Retrier HOT 2
- How to use retrier inside class function with custom on_retry? HOT 5
- asyncio concurrent asyncio retry does not work.
- Cannot retry when `asyncio.TimeoutError` is raised HOT 3
- Support newer Python versions. HOT 1
- Release new PyPi packages? HOT 1
- can you release the py310 fix pls.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from riprova.