Commit Graph

2530 Commits

Author SHA1 Message Date
Chris Jerdonek d1b9441595 Change check_version() to accept a commit hash / id. 2017-10-05 02:32:54 -07:00
Chris Jerdonek 3e4f8089d1 Fix check_version() (the tests now pass). 2017-10-05 02:32:54 -07:00
Chris Jerdonek c66ecc73ab Address issue #4507: don't warn when installing from a commit hash (#4674)
* Add failing test for issue #4507.

* Add looks_like_hash() with tests.

* Add news file.

* Address issue #4507 by using looks_like_hash().

* Tweak warning text.

* Fix test after rebasing.

* Remove extra line.
2017-10-05 00:16:10 +02:00
Donald Stufft ae7bbee3f6 Merge pull request #4765 from pradyunsg/misc/remove-platform-glibc
Stop depending on platform.libc_ver()
2017-10-04 13:49:01 -04:00
Pradyun S. Gedam 9ac0220ceb Stop depending on platform.libc_ver() 2017-10-04 21:01:22 +05:30
Pradyun S. Gedam 165b10b9db Rework Wheel Caching 2017-10-04 18:53:55 +05:30
Pradyun S. Gedam b96618bedc Revert unrelated change 2017-10-04 18:53:55 +05:30
Pradyun S. Gedam ebf06ceb9d Merge master 2017-10-04 16:58:31 +05:30
Chris Jerdonek 6a0d3aa66e Update for mypy. 2017-10-02 15:37:03 -07:00
Chris Jerdonek 3498b19a8b Address issue #1130: make pip ignore GIT_DIR and GIT_WORK_TREE. 2017-10-02 15:35:30 -07:00
Antony Lee d339351a41 Autocomplete installed dists in `pip show ...`. (#4749)
* Autocomplete installed dists in `pip show ...`.

* 🎨 Assign to a variable to satisfy linters
2017-10-02 22:56:17 +02:00
Pradyun Gedam fc7ca26489 Warn user when installing scripts outside PATH (#4553) 2017-10-02 17:54:37 +01:00
Chris Jerdonek 3e56733df4 Add a RevOptions class (#4707)
* Add the RevOptions class, and test.

* Start using the RevOptions class.

* Add news file.

* Update for mypy.

* Fix test after rebasing.

* Address @xavfernandez's review comments.
2017-10-02 00:21:11 +02:00
Dustin Ingram 8d96363882 Don't assume master branch exists when reinstalling editable package from Git (#4450)
* Add failing test

* Don't assume master branch is default

* Don't expect output to stderr

* Use the 'short ref' instead of the 'full ref'
2017-09-30 00:30:30 +02:00
Ville Skyttä 8fb2b6318f Python 3.6 invalid escape sequence deprecation fixes
https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior
2017-09-15 23:35:45 +03:00
Donald Stufft 6e2391a92c Merge pull request #4712 from dstufft/upgrade
Upgrade our Vendored Dependencies
2017-09-07 16:19:47 -04:00
Donald Stufft 13a3f1d52a Upgrade requests 2017-09-07 15:54:22 -04:00
Donald Stufft d1379fa336 Merge pull request #4684 from pradyunsg/misc/remove-redundant-import
Remove a redundant import
2017-09-07 12:55:03 -04:00
Donald Stufft b14a62f36e Upgrade cachecontrol, setuptools, and pytoml 2017-09-07 12:47:05 -04:00
Pradyun S. Gedam c6cce8509d Remove a redundant import
The linters missed it. Funny.
2017-09-07 16:50:13 +05:30
Pradyun S. Gedam 1240a81b50 Get rid of successfully_installed attr 2017-09-07 00:06:26 +05:30
Pradyun S. Gedam e2b2f70ebb isort all imports 2017-09-02 17:02:48 +05:30
Pradyun S. Gedam 93d9f20df8 Remove a useless section 2017-09-02 16:59:37 +05:30
Pradyun S. Gedam da57810742 type: Any partials in cmdoptions 2017-09-02 16:52:19 +05:30
Pradyun S. Gedam ec26f0a024 Import from inner packages
mypy doesn't seem to recognize the imports from pip._internal.req for some reason. This is a quick hacky patch for that. If someone is reading this, you probably want to look into why that's happening.

Also, Hi to you, a person from the future!
2017-09-02 16:52:00 +05:30
Pradyun S. Gedam d9a44310f7 Move mypy stubs as well 2017-09-02 16:18:28 +05:30
Pradyun S. Gedam d40881894e Add imports I'd missed 2017-09-02 16:10:48 +05:30
Pradyun S. Gedam d37868ff04 Move the typing file 2017-09-02 16:07:39 +05:30
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