Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Pip 6.0+ compatibility fixes #66

Merged
merged 4 commits into from
Jan 5, 2015
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion peep.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ def activate(specifier):
except ImportError:
from pip.util import url_to_filename as url_to_path # 0.6.2
from pip.index import PackageFinder, Link
from pip.log import logger
try:
from pip.log import logger
except ImportError:
from pip import logger # https://github.com/pypa/pip/pull/2008
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you know offhand which version of pip this is related to? It's probably more useful to comment with the pip version than the pull request url.

@erikrose Opinions on that? ^^^

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm guessing 6.0, but I haven't verified that yet. Happy to update once I've confirmed.

from pip.req import parse_requirements


Expand Down