1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
Commit graph

5447 commits

Author SHA1 Message Date
Chris Jerdonek
3498b19a8b Address issue #1130: make pip ignore GIT_DIR and GIT_WORK_TREE. 2017-10-02 15:35:30 -07:00
Chris Jerdonek
035a2a720b Add failing tests for issue #1130. 2017-10-02 15:33:32 -07:00
anatoly techtonik
77dad642f4 Travis: Enable fast_finish (#4693)
* .travis.tml: Enable fast_finish

https://blog.travis-ci.com/2013-11-27-fast-finishing-builds/

* https://pip.pypa.io/en/latest/development/#adding-a-news-entry
2017-10-02 23:54:21 +02: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
41e3ddcf15 Unpin mock (#4750) 2017-10-02 18:37:14 +01:00
Benoit Pierre
d778fc330e Small tests related cleanups (#4703)
* fix test not using temporary directory
* avoid creating a `cache_dir` directory in the source tree
* drop `data` fixture from tests that don't use it

* tests: fix pytest warning
2017-10-02 18:33:52 +01: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
Eric Hopper
72f677f263 Update supported Mercurial schemes with hg+file (#4357)
Empirically, pip supports pip [-e] hg+file:///path/to/repo
2017-09-30 00:37:45 +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
kpinc
e3288bb15c Improve sentence in docs vis passing multiple values in an environment variable (#4677)
* Improve repeated command line options sentence

* Add trivial news entry

* Update user_guide.rst

* Shorten sentence
2017-09-29 23:49:22 +02:00
Paul Moore
4ac223585a Add documentation on how to call pip from user code (#4743)
* Add documentation on how to call pip from user code
* Document the lack of a Python API for pip
2017-09-28 22:15:51 +01:00
Paul Moore
54b983c2bd Merge pull request #4719 from pradyunsg/ci/travis-test-fix-1
Fix Tests by depending on testpypi
2017-09-15 18:36:07 +01:00
Pradyun S. Gedam
fcfdc0f189 Fix Tests to depend on testpypi 2017-09-12 15:41:52 +05:30
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
46eca2846c Don't automatically vendor dependencies 2017-09-07 12:47:05 -04:00
Donald Stufft
b14a62f36e Upgrade cachecontrol, setuptools, and pytoml 2017-09-07 12:47:05 -04:00
Donald Stufft
4b5a0d559e Merge pull request #4711 from pradyunsg/refactor/req-set-reduction-1
Get rid of successfully_installed attr
2017-09-07 11:37:15 -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
Donald Stufft
28cca11e28 Merge pull request #4545 from pradyunsg/mypy/infrastructure 2017-09-04 02:14:25 -04:00
Donald Stufft
cd9ecdf252 Merge pull request #4706 from benoit-pierre/speedup_testsuite 2017-09-04 01:25:54 -04:00
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
efd7264162 Update MANIFEST 2017-09-02 16:40:36 +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
Benoit Pierre
e792c48ac8 tests: speedup testsuite
Speedup virtualenv creation: create one (per session) relocatable
virtual environment, and then just make a copy of the resulting tree
when a new virtualenv is needed.
2017-09-02 02:19:55 +02:00
Benoit Pierre
6a930d5233 tests: remove old workaround for Travis failures 2017-09-02 02:18:33 +02:00
Benoit Pierre
8522035708 travis: pypy3 tests should now run, disallow failures 2017-09-02 02:18:33 +02:00
Benoit Pierre
3dd4a446f7 tests: fix virtualenv support when using PyPy 3 2017-09-02 02:18:33 +02:00
Donald Stufft
a9d56c7734 Merge pull request #4700 from dstufft/make-internal 2017-08-31 15:59:34 -04:00
Donald Stufft
8860dc016a Remove vendored test support, as it's never worked
Since de-vendoring support exists only for downstream, and they need
to patch pip to get that support anyways, it seems reasonable to push
support for testing that configuration onto them. This is something
they need to do anyways, since they need to test their versions of the
vendored libraries.

See https://github.com/pypa/pip/pull/4657 for more information.
2017-08-31 14:53:00 -04:00
Donald Stufft
95bcf8c5f6 Move all internal APIs to pip._internal 2017-08-31 14:53:00 -04:00
Benoit Pierre
c58a4ccf1d tests: fix mistakenly skipped test (#4665) 2017-08-31 13:17:56 -04:00
Filip Kokosiński
6ebec4a87e Added offending line from requirements file (#4227) (#4635) 2017-08-31 13:07:42 -04:00
Ian Stapleton Cordasco
283cf2ca78 Add support for wheel build tags (#4299) 2017-08-31 07:58:02 -04:00
Pradyun Gedam
c87ea2868c Try running with 4 workers (#4687) 2017-08-31 07:49:21 -04:00
Pradyun S. Gedam
a2bf077111 Fix a typo I made in #4579 (#4641) 2017-08-16 13:07:13 -04:00
Pradyun S. Gedam
cd205fbd51 Re-order Travis jobs (#4669) 2017-08-16 13:06:54 -04:00
Pradyun S. Gedam
ebb0d1a2a3 Fix Pradyun's duplicate entries in AUTHORS (#4672) 2017-08-16 13:00:51 -04:00
Pradyun S. Gedam
1443be07bb Adopt the use of OrderedDict (#4650) 2017-08-16 12:57:11 -04:00
Chris Jerdonek
d5402d33e1 Refactor in preparation for issue #1139 fix. (#4644) 2017-08-09 16:30:13 -04:00
Pradyun S. Gedam
9986c0f1a7 Travis: Upgrade to Trusty and MyPy 5.8.0 (#4652)
* Upgrade to Trusty on Travis

Before Travis pushes us forcefully, it makes sense to ensure that the flip won't break our builds.

* Show failures because travis misbehaves occasionally

* Try out newer PyPy versions on Travis

* Use pypy and pypy3

🎉

* Revert "Show failures because travis misbehaves occasionally"

This reverts commit 7434fd6103.

* Allow PyPy3 to fail
2017-08-09 16:12:32 -04:00