Commit Graph

60 Commits

Author SHA1 Message Date
Pradyun Gedam 0d45b3cc4c
Upgrade msgpack to 0.6.1
This also allows us to drop our compatibility patch Python <2.7.6.
2019-07-20 09:44:51 +05:30
Chih-Hsuan Yen ef7ca1472c
Add an html5lib patch for Python 3.9 compatibility
The patch is adapted from 4f9235752c

Closes https://github.com/pypa/pip/issues/6407
Closes https://github.com/pypa/pip/issues/6237
2019-07-18 14:11:42 +08:00
Paul Moore 93d8f177c6
Merge pull request #5785 from brcrista/master
Add Azure Pipelines configuration
2018-11-21 19:17:36 +00:00
Miro Hrončok eb8ddba8d6 Add automation for fetching licenses of 3rd party libraries
See https://github.com/pypa/pipenv/issues/1961
2018-10-29 22:02:07 +01:00
Brian Cristante 962cbf89a7 Merge branch 'master' of https://github.com/pypa/pip 2018-10-15 09:44:27 -04:00
Pradyun Gedam caabd1f8b2
Fix the vendoring script to cover relative imports 2018-09-30 22:55:51 +05:30
Brian Cristante be3fb9366f Use --yes flag to generate NEWS.rst during CI 2018-09-15 10:31:48 -07:00
Pradyun Gedam f665403da3
Fix vendoring import rewriting, when imports are on first line 2018-08-17 00:01:54 +05:30
Pradyun Gedam abfe928385
Update the vendored requests for the moved compat module 2018-07-29 18:32:22 +05:30
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