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

xonsh-click-tabcomplete uses pip internal API ... and it's gone now #1

Open
Achimh3011 opened this issue May 6, 2018 · 2 comments
Open

Comments

@Achimh3011
Copy link

Hi,
with Version 10 pip has removed internal APIs from export (as previously announced).

Starting xonsh with xonsh-click-tabcomplete and a current pip (≥10.0) now yields

pip removed `get_installed_distributions`

Workaround is downgrade to 9.0.3:

xpip install pip==9.0.3

(but it comes back after each upgrade of course...)

Happens to other packages as well:

(Accidentally filed xonsh/xonsh#2637 for the problem, closed it now)

@michaelaye
Copy link

Is this issue creating this DepWarning when loading click_tabcomplete ?

$ xonsh                                                                              (base)
<unknown>:1: DeprecationWarning: invalid escape sequence \w
xonsh: For full traceback set: $XONSH_SHOW_TRACEBACK = True
AttributeError: module 'pip' has no attribute 'get_installed_distributions'

@Achimh3011
Copy link
Author

Yes, that's the one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants