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

802 commits

Author SHA1 Message Date
Donald Stufft dd160beb0b Better name the need_allow_insecure variable 2013-10-26 23:53:21 -04:00
Donald Stufft 840db882de Remove the allow_all_unverified 2013-10-26 23:52:04 -04:00
Donald Stufft 616ce39061 Rename --allow-insecure to --allow-unverified 2013-10-26 23:47:57 -04:00
Donald Stufft 252036139c Merge pull request #1256 from dstufft/update-requests
Update requests to 2.0.1
2013-10-26 06:53:01 -07:00
Donald Stufft 2036bcb215 Update requests to 2.0.1 2013-10-26 09:22:30 -04:00
Marcus Smith 0eac84a114 better messages when requirements aren't met for "pip wheel" 2013-10-25 17:14:22 -07:00
Marcus Smith e7facfea82 changed the pip bundle deprecation notice so that:
- it says when the feature became deprecated
- for now, it doesn't specify when it will be removed until we're sure
- logs as a warning (with yellow color)
2013-10-22 20:06:55 -07:00
Donald Stufft 814514e1bd Rename pip.vendor.* to pip._vendor.* to ensure it's obviously private 2013-10-22 21:32:25 -04:00
Paul Moore 6ece87808d Merge pull request #1243 from pfmoore/distlib-revendor
Re-vendor distlib and modify normalized version handling to match
2013-10-22 08:11:14 -07:00
Paul Moore a797cafd8b Re-vendor distlib and modify normalized version handling to match 2013-10-22 14:07:23 +01:00
Paul Moore 3da2197264 Fix recursive import issue in pip/__init__.py 2013-10-21 11:48:47 +01:00
Donald Stufft 7cf21c6d2c Merge pull request #1213 from dstufft/deprecate-regex-parsing
Deprecate the regex <th> finding
2013-10-14 12:33:48 -07:00
Paul Moore 55272b264e Clarify setuptools requirement message by including the minimum version 2013-10-10 16:32:05 +01:00
Paul Moore 2902ce7985 Make the check for wheel support in setuptools test for DistInfoDistribution rather than check the version 2013-10-06 20:15:47 +01:00
Marcus Smith 3c0072cc00 merge from 1.4.X 2013-10-05 21:49:41 -07:00
Paul Nasrat ad66052f05 Merge pull request #1215 from pnasrat/subdirectory-editable
Merge subdirectory editable feature
2013-10-05 19:13:10 -07:00
Paul Moore 465425c435 Get rid of backwardcompat.fwrite() as it doesn't do what it seems to... 2013-10-05 16:27:31 +01:00
Paul Moore 6e53db09c7 Merge pull request #1220 from pfmoore/revendor
Added a re-vendor script in Python
2013-10-04 03:14:49 -07:00
Paul Moore 7eeb747700 Bump vendored colorama version to 0.2.7 2013-10-03 21:44:19 +01:00
Paul Moore 1c4f2bb7c0 Added a re-vendor script in Python 2013-10-03 21:33:09 +01:00
Marcus Smith 11a178fda2 1) If the wheel name != search_name, then return immediately. Not doing so,
exposes wheel link matching unnecessarily to Issue #1217.
2) If somehow the pip code is broken, and unsupported wheels are being
passed to the sorter, then atleast fail with a meaningful error.
2013-10-01 21:33:26 -07:00
Donald Stufft 0530d555e0 Deprecate the regex <th> finding 2013-09-28 12:18:17 -04:00
Paul Nasrat 951ef7438c Merge remote-tracking branch 'niedbalski/develop' into subdirectory-editable
Conflicts:
	CHANGES.txt
	tests/functional/test_install_reqs.py
	tests/lib/__init__.py
	tests/unit/test_req.py

Additional work - refactored tests to new style.
2013-09-27 14:42:05 -04:00
Donald Stufft 06b91a85d4 Merge pull request #1145 from dstufft/use-requests
Use requests instead of urllib2
2013-09-26 12:16:19 -07:00
Donald Stufft c61b5df835 Remove the now unused SSL backport code 2013-09-24 23:32:04 -04:00
Donald Stufft 74889a5413 Remove unused imports 2013-09-24 23:32:03 -04:00
Donald Stufft a2dffaf3a7 Remove old error handling that is no longer required 2013-09-24 23:32:03 -04:00
Donald Stufft f34d02d09f Refactor error hnadling into a function 2013-09-24 23:32:03 -04:00
Donald Stufft 13ba411c72 Add a missing text from the exception message 2013-09-24 23:32:03 -04:00
Donald Stufft cf0c6e74dd Move the requests.HTTPError into it's own exception handler 2013-09-24 23:32:03 -04:00
Donald Stufft 059ef170ee Catch the requests SSLError instead of ssl.SSLError 2013-09-24 23:32:03 -04:00
Donald Stufft e34769861e Enable Basic Auth either inside of urls or by prompting 2013-09-24 23:32:03 -04:00
Donald Stufft 3b3cdda31d Pass our created session into RequirementSet 2013-09-24 23:32:03 -04:00
Donald Stufft 92c40c3e06 Ensure that we successfully utilize requests timeout functionality 2013-09-24 23:32:03 -04:00
Donald Stufft a8b94878f3 Remove threaded page downloads
Threaded page downloads was causing issues with the requests
pool being closed. It also makes this area of code harder to debug
and quite often the pool has a size of 1.

Further more the pool only affects the scaning of the index which
should not have as great of a need for parallezation now that there
is only a single request per download by default.
2013-09-24 23:32:03 -04:00
Donald Stufft ff2854a855 Use requests instead of urllib2 2013-09-24 23:32:03 -04:00
Donald Stufft 651a9611bc Vendor requests v2.0.0 2013-09-24 23:31:49 -04:00
Marcus Smith 0eb29ef126 Fix problem where multiple .write() log consumers resulted
in extra line breaks.  Specifically, using --log resulted in logging
with extra line breaks.
2013-09-21 21:42:18 -07:00
Marcus Smith 237a8ae577 --log file object getting closed prematurely (Issue #219) 2013-09-19 19:00:29 -07:00
Marcus Smith 129a37be88 real time logging in py3 2013-09-19 16:08:56 -07:00
Takayuki SHIMIZUKAWA 7078351b85 pip-1.4.1 did not work with Python-3.1
Python3(.1) can't import relative module without dot('.').
2013-09-18 16:31:25 +09:00
Marcus Smith 44323cd355 have --version report the version of pip that's running, not installed 2013-09-17 22:00:22 -07:00
Marcus Smith e272d9001f replace make_option_maker with OptionMaker class 2013-09-16 22:45:51 -07:00
Marcus Smith 15910f573e define options once, but don't globally instantiate 2013-09-16 22:21:15 -07:00
Marcus Smith d21d0e434e 1) have create_main_parser construct the parser description.
2) have `create_main_parser` mark the parser as the 'main' parser.
3) remove an extraneus block that's never called.  thanks @netspyer.
4) move 'create_main_parser` to __init__ to avoid circular or embedded imports.
2013-09-15 21:28:19 -07:00
Marcus Smith 5245e62bcf don't pass around options we're not using anymore 2013-09-15 21:28:19 -07:00
Georgi Valkov c6495a46e3 remove basecommand.merge_options()
This patch removes the error prone step of merging the baseparsers'
options (the 'Generic Options') with those of the subparser. In fact,
commands are already capable of parsing all options present in the
'Generic Options' option group. The option parsing logic is as follows:

Given a command line such as:
  '--timeout 5 install --user pkg'
pip.parseopt() returns command 'install' with arguments:
  '--timeout 5 --user pkg'
pip.main() executes the above as:
  commands['install'](parser).main('--timeout 5 --user pkg', options)
2013-09-15 21:28:18 -07:00
Marcus Smith 35ac774ec5 multi-values use space seperators in environment variables. 2013-09-15 18:09:36 -07:00
Marcus Smith 924d243de3 When action is 'append', let's check value by value.
Previously, we used `convert_value' in all cases, which seems
to try to detect lists based on the value of nargs, but that fails
with lists of one item. This "worked" for 'str' options, because
the values don't get checked, but was failing for choice types
(see Issue #772), and would fail for other types like int.
2013-09-15 17:24:36 -07:00
Yu Jian 54d3d9d76c fix a typo 2013-09-05 17:54:15 +08:00