Coder Social home page Coder Social logo

Deprecation warnings about riprova HOT 4 CLOSED

alekna avatar alekna commented on May 18, 2024
Deprecation warnings

from riprova.

Comments (4)

bleetube avatar bleetube commented on May 18, 2024

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.

EchterAgo avatar EchterAgo commented on May 18, 2024

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.

EchterAgo avatar EchterAgo commented on May 18, 2024

This was fixed by #23

from riprova.

EchterAgo avatar EchterAgo commented on May 18, 2024

0.3.1 was pushed to PyPI now, I think this issue can be closed.

from riprova.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.