Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install fails using pip>=20.1 #138

Open
pjz opened this issue Jun 23, 2020 · 3 comments
Open

Install fails using pip>=20.1 #138

pjz opened this issue Jun 23, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@pjz
Copy link
Contributor

pjz commented Jun 23, 2020

  • etcd3-py version: current
  • Python version: 3.7
  • Operating System: any

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 pypa/pip#8188 (comment)

@issue-label-bot issue-label-bot bot added the bug Something isn't working label Jun 23, 2020
@issue-label-bot
Copy link

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

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

@heitorPB
Copy link

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

@Revolution1
Copy link
Owner

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants