Skip to content

Commit

Permalink
Merge pull request pypa#2305 from dstufft/remove-warning
Browse files Browse the repository at this point in the history
Remove a no longer needed warning due to the update of PEP 440
(cherry picked from commit 2e02c0a)
  • Loading branch information
dstufft committed Jan 3, 2015
1 parent c359d78 commit 6280266
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions pip/index.py
Expand Up @@ -461,18 +461,6 @@ def mkurl_pypi_url(url):
return None

if not applicable_versions:
# The following check for '>' is designed to prevent confusion like
# that in
# https://bitbucket.org/pypa/setuptools/issue/301/101-in-requirementparse-foo-10-results
str_specifier = str(req.specifier)
if '>' in str_specifier and '>=' not in str_specifier:
logger.warning(
"The behavior of the `>` version specifier has changed in "
"PEP 440. `>` is now an exclusive operator, meaning that "
"%s does not match %s. "
"Perhaps you want `>=` instead of `>`?",
str_specifier, str_specifier + '.*'
)
logger.critical(
'Could not find a version that satisfies the requirement %s '
'(from versions: %s)',
Expand Down

0 comments on commit 6280266

Please sign in to comment.