Commit Graph

16 Commits

Author SHA1 Message Date
Pradyun Gedam caabd1f8b2
Fix the vendoring script to cover relative imports 2018-09-30 22:55:51 +05:30
Pradyun Gedam f665403da3
Fix vendoring import rewriting, when imports are on first line 2018-08-17 00:01:54 +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 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
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
Pradyun S. Gedam 7c5f901f1a Modify vendoring to include additional .pyi stubs 2017-07-17 22:34:41 +05:30
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