Revolution1 / etcd3-py

Pure python client for etcd v3 (Using gRPC-JSON-Gateway)
Other
105 stars 25 forks source link

Install fails using pip>=20.1 #138

Open pjz opened 4 years ago

pjz commented 4 years ago

Description

pip install --upgrade pip  # gets you to pip > 20.1
pip install etcd3-py
...

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-2ys2e_8z/etcd3-py/setup.py", line 36, in <module>
        requirements = [str(ir.req) for ir in install_reqs]
      File "/tmp/pip-install-2ys2e_8z/etcd3-py/setup.py", line 36, in <listcomp>
        requirements = [str(ir.req) for ir in install_reqs]
    AttributeError: 'ParsedRequirement' object has no attribute 'req'

Cause

pip changed their internals; see https://github.com/pypa/pip/issues/8188#issuecomment-623428010

issue-label-bot[bot] commented 4 years ago

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.95. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

heitorPB commented 2 years ago

@pjz did you find a fix for that? I am also hitting this error.

Revolution1 commented 2 years ago

@heitorPB This lib is not maintained for years 😂 Fankly, this lib be very buggy or even not usable for etcd nowadays. I also haven't use etcd directly for long time. Maybe you should try some other lib.