Donald Stufft
7d0cdaa796
Merge pull request #2186 from msabramo/smarter_about_displaying_message_about_fallback_to_simple
...
Don't warn about /simple/ fallback for PyPI
2014-12-14 14:49:28 -05:00
Marc Abramowitz
731783029f
Don't warn about /simple/ fallback for PyPI
...
and display a little more info about the index used.
2014-12-14 00:57:23 -08:00
Donald Stufft
6f64d3e6e2
Implement PEP 440
2014-12-13 13:50:21 -05:00
Donald Stufft
a3c7642a6a
Upgrade setuptools
2014-12-13 13:03:59 -05:00
Donald Stufft
b52c2f9059
Vendor Packaging
2014-12-13 13:03:59 -05:00
Donald Stufft
a2d7a32018
Merge pull request #2181 from dacjames/develop
...
update submodules after checkout
2014-12-13 12:26:46 -05:00
Donald Stufft
8f5e88e653
Merge pull request #2172 from Carreau/shadow-submodule
...
Shadow submodule
2014-12-12 19:40:08 -05:00
Daniel Collins
7d3ac14b6d
update submodules after checkout
2014-12-12 16:04:47 -08:00
Donald Stufft
33eba11761
Merge pull request #2178 from msabramo/pip_install_make_some_warnings_debug
...
install: Make some warnings DEBUG rather than INFO
2014-12-12 16:48:38 -05:00
Donald Stufft
201d63b307
Merge pull request #2177 from msabramo/egg_info_log_debug_instead_of_info
...
"Running setup.py...egg_info" log: INFO => DEBUG
2014-12-12 15:49:34 -05:00
Marc Abramowitz
a3842b2a82
install: Make some warnings DEBUG rather than INFO
...
* `warning: no previously-included files matching`
* `warning: no files found matching`
See: GH-1070
2014-12-12 11:52:56 -08:00
Marc Abramowitz
7eb00c97ea
"Running setup.py...egg_info" log: INFO => DEBUG
...
Change log level of `"Running setup.py (path:%s) egg_info"` log messages
from INFO to DEBUG. The average user does not know or care that pip is
running `python setup.py egg_info`, unless things are broken, IMHO.
See: GH-1070
2014-12-12 11:37:08 -08:00
Marc Abramowitz
86c714deb1
install: "Cleaning up..." msg: info => debug
...
This message isn't particularly useful to an end user and clutters the
output IMHO.
2014-12-12 09:02:23 -08:00
Bussonnier Matthias
0582a91e62
Do not shadow submodules
...
using object that have the same name as submodules as the weird effect
of makeing `import pip.commands.<something> as <anothername>` fail with
a key error. This fixes it by renamin commands as command_dict and fixin
a few imports to accomodate.
Related to #2149
2014-12-12 16:06:04 +01:00
Donald Stufft
5b817f960b
--isolated should isolate from ~/.pydistutils.cfg as well
2014-12-11 11:51:06 -05:00
Donald Stufft
9d51060e0e
Merge pull request #1934 from piwai/develop
...
Pip doesn't detect dependancies that failed to install
2014-12-11 08:21:41 -05:00
Donald Stufft
09d8897ba9
Merge pull request #2162 from dstufft/trusted-hosts
...
Deprecate accessing non secure origins by default
2014-12-10 17:56:35 -05:00
Donald Stufft
ddb2f1b459
Deprecate accessing non secure origins by default
...
* Deprecates accessing non secure origins by default, the list of
which is taken from Chrome.
* Adds a --trusted-host flag to enable users to mark a specific
host as a secure origin regardless of what we think.
* Refactors the original warning to better indicate the intent
and the new flag.
2014-12-10 16:35:54 -05:00
Marc Abramowitz
962d14d8f3
WheelBuilder.__init__ default args: () => None
2014-12-10 08:56:51 -08:00
Marc Abramowitz
3054cbc0f7
Eliminate some uses of mutable default args
...
See: GH-2163
2014-12-10 08:17:54 -08:00
Donald Stufft
9f10a05982
Fix #1100 - Use html5lib to decode the HTML response
2014-12-02 15:37:33 -05:00
Donald Stufft
15b2258769
Switch from 3 to 5 retries by default
2014-12-02 02:58:09 -05:00
Donald Stufft
a47411b18a
Also retry connections on 503 errors
2014-12-02 02:58:09 -05:00
Donald Stufft
0bde4fb9c3
Upgrade the bundled requests to 2.5.0
2014-12-02 00:22:14 -05:00
Donald Stufft
90b1179b76
Enable --isolated flag which will turn on an isolated mode for pip
2014-11-23 21:26:40 -05:00
Donald Stufft
293c31319c
Merge pull request #2131 from dstufft/easier-debundle
...
Make debundling easier
2014-11-20 20:22:29 -05:00
Donald Stufft
fef3bd0c2a
Merge pull request #2134 from dstufft/haypo-req-markers
...
Haypo req markers
2014-11-20 12:19:49 -05:00
Donald Stufft
0fa67d9ffc
Only copy the file and the atime and mtime when installing from Wheel
2014-11-20 11:17:42 -05:00
Donald Stufft
785ba69f8d
Fix the logging level
2014-11-20 10:53:03 -05:00
Victor Stinner
e498d83db1
Support markers in requirements
...
It's now possible to specify requirements markers in requirements.
Examples::
futures; python_version < '2.7'
mock; python_version < '3.3'
nose
ordereddict; python_version < '2.7'
unittest2; python_version < '2.7'
The separator is "; ". For convinience, ";" alone is also supported, but
no in URLs. The ";" character is a legit and common character in an URL.
Example of valid URL without markers::
http://foo.com/?p=bar.git;a=snapshot;h=v0.1;sf=tgz
Example of URL with markers::
http://foo.com/?p=bar.git;a=snapshot;h=v0.1;sf=tgz ; python_version < '3.3'
2014-11-20 10:52:08 -05:00
Victor Stinner
e236842944
Fix issue #1433 : parse requirements in markers
...
* InstallRequirement supports PEP 426 markers
* RequirementSet.add_requirement() ignores an InstallRequirement if
markers don't match.
2014-11-20 10:52:08 -05:00
Donald Stufft
9751d3c14b
Document the loss of ftp:// and remove some left over code from it
2014-11-20 08:44:31 -05:00
Donald Stufft
762f831bbe
Update the bundling documentations
2014-11-20 07:53:57 -05:00
Donald Stufft
86bad49818
Address Feedback from @ncoghlan
2014-11-20 07:53:57 -05:00
Donald Stufft
58401bf82b
Alias the "real" names as pip._vendor.* when the vendored are missing
2014-11-20 07:53:57 -05:00
Donald Stufft
9086993548
Properly handle equality of Link objects with other objects
2014-11-20 07:53:27 -05:00
Donald Stufft
01610be0d5
Use a secure randomized build directory when possible
2014-11-11 20:19:10 -05:00
Xavier Fernandez
3bd88f2a5d
freeze: simplify code and use with open()
2014-10-18 20:41:18 +02:00
Xavier Fernandez
b713e96df2
cleanup: use "with open()" to open files
2014-10-18 20:41:18 +02:00
Xavier Fernandez
6dda27ce0f
vcs: add documentation to VersionControl class
2014-10-18 20:41:17 +02:00
Xavier Fernandez
030f16500a
unpack_url: session only needed for unpack_http_url
2014-10-18 20:41:17 +02:00
Paul Moore
7bc51305a7
Clarification of pip install -U help
2014-10-17 14:50:44 +01:00
Paul Moore
b0d173e435
Added unit tests for get_installed_distributions user_only
2014-10-15 23:03:44 +01:00
Paul Moore
56496f6526
Add --user options to pip list and pip freeze
2014-10-14 16:00:52 +01:00
Donald Stufft
f720d3d706
Merge pull request #2085 from alzeih/patch-1
...
Update freeze.py output to match command's usage
2014-10-08 15:53:46 -04:00
Donald Stufft
74b3a741d1
Include a "simple" User-Agent string as well as the JSON
...
To facilitate detection of pip in scenarios where parsing JSON isn't
easy but simple string matching is, change the User-Agent to be of
the form "pip/{version} {json}" instead of just "{json}".
The contents of the JSON data has not changed.
2014-10-06 07:42:15 -04:00
Donald Stufft
7e0e3027c9
Merge pull request #2076 from abadger/feature/no-egg-info-dir-in-record
...
Record files don't always include directories so find eggdir by looking ...
2014-10-06 07:01:53 -04:00
Toshio Kuratomi
9f9a07a447
Better detection of egg-info dirs
2014-10-06 03:21:52 -04:00
Alli
fa5adbc33b
Update freeze.py output to match command's usage
...
Remove --freeze which appears not to match usage.
Use the command's name in the message produced.
2014-10-06 14:26:07 +13:00
Pierre-Yves Rofes
6dc7f5ac35
Reverse package list to install required dependancies first
2014-10-01 23:16:50 +02:00