Benoit Pierre
6af0a836f3
tox: enable usedevelop
for faster testsuite startup ( #4776 )
2017-10-06 20:50:00 +01:00
Pradyun Gedam
02c219e2c4
Merge pull request #4728 from scop/escseq
...
Python 3.6 invalid escape sequence deprecation fixes
2017-10-06 17:11:45 +05:30
Xavier Fernandez
ea66415e75
Merge pull request #4690 from cjerdonek/simplify-git-ref-detection
...
Simplify code for handling Git branches and tags
2017-10-06 11:04:32 +02:00
Pradyun Gedam
bfad7d837c
Merge pull request #4767 from pradyunsg/misc/gitignore-rewrite
...
Restructure the gitignore
2017-10-06 12:56:50 +05:30
Chris Jerdonek
adc932b6af
Address @xavfernandez's review comments.
2017-10-05 15:52:10 -07:00
Chris Jerdonek
28061a71c5
Fix test after rebasing another time.
2017-10-05 13:35:14 -07:00
Chris Jerdonek
2a30db5994
Use guard clause.
2017-10-05 10:42:04 -07:00
Chris Jerdonek
099fe84752
Fix test after rebasing.
2017-10-05 10:42:04 -07:00
Chris Jerdonek
4ed70c03d9
Address review comments.
2017-10-05 10:42:04 -07:00
Chris Jerdonek
dd58b1427f
Update imports after _internal refactoring.
2017-10-05 10:42:04 -07:00
Chris Jerdonek
f22c9b265f
Change the default revision from origin/master to master.
2017-10-05 10:42:04 -07:00
Chris Jerdonek
1f44b2a586
Add failing test to check that no warning gets logged.
2017-10-05 10:42:04 -07:00
Chris Jerdonek
eebd561f00
Some clean-ups.
2017-10-05 10:42:04 -07:00
Chris Jerdonek
15d058edf0
Start using Git.get_revision_sha().
2017-10-05 10:42:04 -07:00
Chris Jerdonek
85dc157147
Add Git.get_revision_sha() with tests.
2017-10-05 10:40:55 -07:00
Chris Jerdonek
b2d36d2696
DRY up the reference to a sha.
2017-10-05 10:40:55 -07:00
Chris Jerdonek
6cbc134ba1
Remove the unused is_ref_commit().
2017-10-05 10:40:55 -07:00
Chris Jerdonek
b8ba25c79f
Remove the unused get_refs().
2017-10-05 10:40:55 -07:00
Chris Jerdonek
b65dfd2686
Test installing after updating the remote repository.
2017-10-05 10:40:55 -07:00
Chris Jerdonek
86e936931f
Add news file.
2017-10-05 10:40:55 -07:00
Pradyun S. Gedam
b3afe17875
Restructure the gitignore
...
- Sectionize patterns and improve them
- Start ignoring .scratch -- a scratch pad for experiments
2017-10-05 18:24:47 +05:30
Xavier Fernandez
4092707df3
Merge pull request #4676 from cjerdonek/issue-4675-fix-check-version
...
Address issue #4675 : fix Git.check_version()
2017-10-05 13:34:29 +02:00
Chris Jerdonek
cf23b06d76
Add a note to the pip-install docs.
...
This was suggested by @xavfernandez in the review comments.
2017-10-05 02:46:33 -07:00
Chris Jerdonek
da30b7007d
Address @pradyunsg's review comment.
2017-10-05 02:32:54 -07:00
Chris Jerdonek
b0d116017c
Add news entry.
2017-10-05 02:32:54 -07:00
Chris Jerdonek
d646aaca72
Choose a better name, and other clean-ups.
2017-10-05 02:32:54 -07:00
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
3e7ce5314f
Fix test expectations (the tests now fail).
2017-10-05 02:32:54 -07:00
Chris Jerdonek
4c97794261
Add a failing test case to test_git_check_version().
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
5bad1e474a
Merge pull request #4762 from pradyunsg/docs/strip-usage
...
Strip usage in the documentation
2017-10-04 13:51:10 -04: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
6feb7979c0
Strip usage in the documentation
...
This removes a useless empty line in the output.
2017-10-03 22:37:10 +05:30
Xavier Fernandez
90f64b41bb
Merge pull request #4666 from cjerdonek/issue-1130-git-dir-env-vars
...
Address issue #1130 (GIT_DIR and GIT_WORK_TREE).
2017-10-03 13:09:49 +02:00
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
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
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