1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
Commit graph

23 commits

Author SHA1 Message Date
Jannis Leidel 234218252d Fixed a test that was broken by releasing 1.3. D'oh. 2013-03-07 23:06:24 +01:00
Georgi Valkov 2c64a1e160 replace global OptionParser and refactor main() 2012-11-10 15:37:15 +02:00
Georgi Valkov 46a21751b8 add the base_parser argument to all Command instances 2012-11-10 15:34:53 +02:00
Paul Nasrat 7ede43ac26 Make pep8 clean again.
Incorrect blank lines E302 and E303.
2012-05-13 20:13:50 -07:00
Paul Nasrat 2606cf37a6 Issue #482 search raises exception.
Handle pypi results for packages with no ordering.

TESTED=2.4.6 2.7.1 3.2.2
2012-03-18 10:33:13 +00:00
Paul Nasrat 35027f278b Fix pep8 CI build.
Tested locally:
=====================================================
================== Running pep8 =====================

Searching for pep8
Reading http://pypi.python.org/simple/pep8/
Reading http://github.com/cburroughs/pep8.py/tree/master
Reading http://github.com/jcrocholl/pep8
Best match: pep8 0.6.1
Processing pep8-0.6.1-py2.7.egg
pep8 0.6.1 is already the active version in easy-install.pth
Installing pep8 script to
/Users/pnasrat/Development/pip/pip_virtualenv/bin

Using
/Users/pnasrat/Development/pip/pip_virtualenv/lib/python2.7/site-packages/pep8-0.6.1-py2.7.egg
Processing dependencies for pep8
Finished processing dependencies for pep8

==================== Ended pep8 =====================
=====================================================
2012-01-30 06:26:12 +00:00
Hugo Lopes Tavares 6aadf28553 Change imports to right place 2011-12-04 20:33:03 -02:00
Hugo Lopes Tavares 6686e4df25 Merge branch develop from pypa/pip into hugobr/issue-22-search-should-set-useful-status-code 2011-12-04 18:58:33 -02:00
Paul Nasrat 2a5e21b41f Merge remote branch 'pnasrat/260-py3k-comparison-issue' into develop 2011-08-14 14:45:36 +01:00
Paul Nasrat 09bba5b4aa Fix pep8 2011-08-04 16:09:38 +01:00
Hugo Lopes Tavares 8e8ef0e34a Changed SearchCommand.run to return SUCCESS or NO_MATCHES_FOUND (0 and 23) for found packages, and not found packages. Changed BaseCommand to check if run returned int, and if so, it is the exit status code [dummy change, just to no break everything right now; the other commands should be changed too!]. Removed SearchCommandError because it was not used 2011-08-02 13:16:18 -04:00
Alex Morega a58839e194 "search" command reports error via exception 2011-07-20 22:14:56 +03:00
Cristian Sorinel d8b0ab4233 Test for "search" - missing arguments 2011-07-20 22:14:56 +03:00
Paul Nasrat 0922f81352 Work around failing test due to distutils.version issue
In py3k the following fails, handle this and use string comparison in worst
case.

Tested on 2.6 and 3.2

>> from distutils.version import LooseVersion as LV
>>> v1, v2, v3 = (LV('1.1'), LV('1.1.2'), LV('1.1a1'))
>>> v1 > v2
False
>>> v1 > v3
False
>>> v2 > v3
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "distutils/version.py", line 70, in __gt__
    c = self._cmp(other)
  File "distutils/version.py", line 343, in _cmp
    if self.version < other.version:
TypeError: unorderable types: int() < str()
2011-04-16 22:01:05 +01:00
Carl Meyer 1da5a985b1 Use INITools instead of virtualenv for multiple-search test; virtualenv triggers unrelated bug #260 on Py3 causing the test to fail. 2011-04-16 15:03:03 -05:00
Paul Nasrat 1691ee3855 Use pypi query list to support multiple cli searches Issue #44 2011-04-17 01:02:57 +08:00
Vinay Sajip 680b5dfda0 Port to Python3 2011-03-15 15:49:48 -04:00
Hugo Lopes Tavares b4b5a25752 pip search should not expect errors. fixed 2010-07-06 14:26:43 -03:00
Hugo Lopes Tavares 0ccd5ebf97 using custom xmlrpclib.Transport (testability purposes) 2010-07-02 09:27:22 -03:00
Hugo Lopes Tavares d06c98dc6f merged changes related to PEP 8 from hltbra's fork 2010-06-02 23:25:26 -03:00
Carl Meyer 4060b810c5 fix test names, remove old doctest files 2010-02-24 18:16:43 -05:00
Jakub Vysoky 17db3cce9a respect merged changes in txt files 2010-02-24 11:24:55 +01:00
Jakub Vysoky 1a56ef6ceb test_search.txt to py 2010-02-24 11:24:55 +01:00