Commit Graph

51 Commits

Author SHA1 Message Date
Pradyun Gedam 7ccc1a8f34
Update requests to 2.19.1 2018-06-21 18:40:52 +05:30
Pradyun Gedam 8ccab7a475
Resolve existing mypy errors (#5492)
mypy is failing on master because it turns out mypy isn't noticing configparser from six, when vendored.

This should be a temporary fix for that.
2018-06-11 12:40:56 +05:30
Miro Hrončok 04e98d9718 Vendoring: Drop the bin directory
It contains the executables: easy_install, distro, chardetect etc.

It should not be picked as vendored library.

Related to https://github.com/pypa/pip/issues/5347
2018-04-28 11:38:58 +02:00
Miro Hrončok 461d94698e Vendoring: Make sure to only rewrite relevant imports
If there is an import from hamster, while we vendor ham, we should
not rewrite it.

Fixes https://github.com/pypa/pip/issues/5347
2018-04-28 11:38:58 +02:00
Paul Moore 70e870f72a Add a comment to tasks/generate.py regarding Windows shell syntax 2018-04-22 13:16:57 +01:00
Donald Stufft 084cbb087b Fix msgpack on older versions of Python 2.7 2018-04-16 17:32:54 -04:00
Paul Moore ad390f75d0 Fix line length in tasks/generate.py 2018-03-31 19:30:59 +01:00
Paul Moore e3871a0428 Fix author generation to explicitly use UTF-8 (for Windows) and regenerate authors 2018-03-31 13:12:25 +01:00
Paul Moore 81723abb00 Fix to generate.authors task so that it works on Windows 2018-03-31 11:14:05 +01:00
Pradyun Gedam 6ec5bc56fd
Merge branch 'master' into vendoring/enable-c-libs 2018-03-30 12:38:13 +05:30
Donald Stufft 4c16e71cdd Merge branch 'release/9.0.3' into merged/9.0.3 2018-03-21 21:34:03 -04:00
Paul Moore c822b765b5 Fixes to vendoring scripts so they work on Windows 2018-03-20 14:37:15 +00:00
Pradyun Gedam 25afbd3f99
Remove stub for appdirs 2018-01-24 15:37:09 +05:30
Pradyun Gedam a91e545900
Do not load win32com on Windows 2018-01-24 15:36:22 +05:30
Pradyun Gedam 9b4af01a29
Merge branch 'master' into vendoring/enable-c-libs 2017-12-16 18:05:37 +05:30
Anthony Sottile 6bf55db7c0 Drop vendoring patch for distro
- python2.6 is no longer supported by pip

```bash
git apply --reverse tasks/vendoring/patches/distro.patch
git rm tasks/vendoring/patches/distro.patch
```
2017-12-14 20:46:06 -08:00
Pradyun Gedam 1e614feee4
misc: fix another mistake from the merge 2017-11-12 20:03:19 +05:30
Pradyun Gedam 88924a4006
Fix a mistake in merge 2017-11-04 13:15:24 +05:30
Pradyun Gedam 032009380f
Merge branch 'master' into pr/4612 2017-11-04 12:45:15 +05:30
Donald Stufft 13a3f1d52a Upgrade requests 2017-09-07 15:54:22 -04:00
Donald Stufft 46eca2846c Don't automatically vendor dependencies 2017-09-07 12:47:05 -04:00
Pradyun S. Gedam 11451c54ec Merge branch 'master' into mypy/infrastructure 2017-09-02 16:06:48 +05:30
Donald Stufft 95bcf8c5f6 Move all internal APIs to pip._internal 2017-08-31 14:53:00 -04:00
Pradyun S. Gedam c365304f66 Merge branch 'master' into mypy/infrastructure 2017-08-03 03:26:59 +05:30
Pradyun S. Gedam 281061fca7 Upgrade some vendored dependencies (#4638) 2017-08-02 17:50:45 -04:00
pip 2f76fbe6fa Limit the disabling of requests' pyopenssl import to Windows 2017-07-19 14:26:49 -04:00
Pradyun S. Gedam 7c5f901f1a Modify vendoring to include additional .pyi stubs 2017-07-17 22:34:41 +05:30
Pradyun S. Gedam 9fce241457 Patch pkg_resources for mypy 2017-07-17 22:34:41 +05:30
Donald Stufft a45c2f5e24 Generate our NEWS.rst with towncrier 2017-03-19 12:00:31 -04:00
Donald Stufft b005a9bb84 Upgrade setuptools, appdirs, cachecontrol, distro, ipaddress, pyparsing, and requests (#4342)
* Upgrade setuptools to 34.3.2
* Upgrade appdirs to 1.4.3
* Upgrade CacheControl to 0.12.1
* Upgrade distro to 1.0.2
* Upgrade ipaddress to 1.0.18
* Upgrade pyparsing to 2.2.0
* Upgrade requests to 2.13.0
* Remove patching of progress
* Don't translate imports that would be syntax errors
* Patch pkg_resources to handle packaging correctly
2017-03-18 14:51:13 -04:00
Stephan Erb 6da392f689 Adopt cachecontrol 0.12.0 with msgpack support (#3515) (#4258)
This change promises a performance improvement of up to 25%:

    # Before
    $ time pip install django --no-compile
    2.34s user 2.49s system 47% cpu 10.106 total

    # With this patch
    $ time pip install django --no-compile
    1.82s user 2.10s system 51% cpu 7.646 total

Both tests have been performed with hot caches.
2017-01-30 17:44:49 -05:00
Xavier Fernandez 2c9735437a Automatic vendoring (#4093) 2016-11-06 17:34:10 -05:00
Donald Stufft 3c753c5a86 Move get-pip.py to its own repository 2016-01-20 08:53:45 -05:00
Donald Stufft 2dcb0a3610 Return to only installing setuptools/wheel if actually needed 2016-01-20 05:58:58 -05:00
Donald Stufft c02d9171fd Allow specifying a particular version of items to install for get-pip.py 2016-01-19 23:12:17 -05:00
Donald Stufft cf7d6a21cd Attempt to install Wheel in get-pip.py 2015-05-21 22:22:45 -04:00
Guilherme Espada 06ba1d5de9 Update documentation on the generate task
Instead of base64, we now use base85
2015-03-19 19:46:06 +00:00
Donald Stufft eb09cd4440 Remove unneeded imports 2015-01-28 16:32:14 -05:00
Donald Stufft 376bd9b19f Switch get-pip.py to use the generated .whl 2015-01-28 15:54:08 -05:00
Donald Stufft 1947f076f5 Revert "Don't use the cache directory when using get-pip.py"
This reverts commit 1a35caf3f1.
2014-12-27 20:50:38 -05:00
Donald Stufft 1a35caf3f1 Don't use the cache directory when using get-pip.py 2014-12-27 20:49:09 -05:00
Donald Stufft 2084e41347 Fix pep8 issue 2014-12-23 07:38:23 -05:00
Donald Stufft 39990a37a1 Correct the spelling 2014-12-22 18:56:50 -05:00
Donald Stufft 61415ea2bf Do some gymnastic to respect a certificate configured via config file 2014-12-22 18:32:34 -05:00
Donald Stufft c5549bb353 Rearrange the get-pip.py script to make it slightly easier to audit 2014-05-06 22:44:50 -04:00
Donald Stufft 7e7922a839 Use base85 instead of base64 for the bundled pip 2014-05-06 22:02:32 -04:00
Alex Gaynor b48b9ce53f Resolve several typos in the codebase 2014-04-29 22:33:04 -07:00
Donald Stufft fba8a93251 Use a staging area to create pip.zip instead of the installer_path 2014-02-26 17:45:56 -05:00
Donald Stufft 76535626c1 Move the contrib/build-installer into an invoke generate.installer 2014-02-26 17:35:01 -05:00
Donald Stufft e87f4bf3d2 Switch to using Author <email@domain.com> for the AUTHORS file 2014-02-26 13:28:48 -05:00