From 6280266f2c5de325c26f2d8d1685f6901d10ddba Mon Sep 17 00:00:00 2001 From: Donald Stufft Date: Sat, 3 Jan 2015 01:26:58 -0500 Subject: [PATCH] Merge pull request #2305 from dstufft/remove-warning Remove a no longer needed warning due to the update of PEP 440 (cherry picked from commit 2e02c0ae387d2b9f9ac87ca8ad412c36315acb5c) --- pip/index.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/pip/index.py b/pip/index.py index 638e2430ed9..7ad1baff299 100644 --- a/pip/index.py +++ b/pip/index.py @@ -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)',