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

2433 commits

Author SHA1 Message Date
Pradyun Gedam
df083c7916 Polish docs and change theme (#4758) 2017-10-07 17:45:27 +01:00
Pradyun Gedam
ae1a7550bc Delete 4545.feature 2017-10-06 22:33:51 +05:30
Chris Jerdonek
86e936931f Add news file. 2017-10-05 10:40:55 -07:00
Chris Jerdonek
b0d116017c Add news entry. 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
Pradyun S. Gedam
ebf06ceb9d Merge master 2017-10-04 16:58:31 +05:30
Chris Jerdonek
3498b19a8b Address issue #1130: make pip ignore GIT_DIR and GIT_WORK_TREE. 2017-10-02 15:35:30 -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
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
Donald Stufft
13a3f1d52a Upgrade requests 2017-09-07 15:54:22 -04:00
Donald Stufft
b14a62f36e Upgrade cachecontrol, setuptools, and pytoml 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
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 S. Gedam
a2bf077111 Fix a typo I made in #4579 (#4641) 2017-08-16 13:07:13 -04:00
Chris Jerdonek
d5402d33e1 Refactor in preparation for issue #1139 fix. (#4644) 2017-08-09 16:30:13 -04:00
Pradyun S. Gedam
573a501181 Per requirement global options (#4579)
* Stop using a mutable default value

* 📰
2017-08-02 18:03:38 -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
bc637a8491 📰 2017-07-17 22:19:31 +05:30
Thomas Kluyver
a32ebea3c4 Add news file 2017-07-05 20:04:56 -04:00
Pradyun S. Gedam
bf4c613071 Add man pages for pip (#4491)
* Add man pages to pip

* 📰
2017-07-05 19:56:13 -04:00
Paul Moore
d3f040e120 Handle sys.__stderr__.encoding not existing (#4599)
Handle sys.__stderr__.encoding not existing
2017-07-05 15:46:36 +01:00
Pradyun S. Gedam
69ef4d9224 From RequirementSet to Resolver - Part 1 (#4546) 2017-06-27 12:37:38 -04:00
Pradyun S. Gedam
29bab5adbd Support forward slash on windows (#4563)
Support forward slash on windows
2017-06-26 22:07:49 +01:00
Pradyun S. Gedam
21be153044 Display where pip is looking for packages (#4483)
Display where PackageFinder is looking for packages
2017-06-26 21:45:47 +01:00
Pradyun S. Gedam
c92cbe7aba Add Required-by field to pip show (#4564) 2017-06-26 08:58:52 -04:00
Pradyun S. Gedam
49abd55fe5 Configuration - Documentation updates (#4556) 2017-06-24 13:24:13 -04:00
Pradyun S. Gedam
a24c59fc27 Only apply re-runs marker on CI runs (#4541) 2017-06-17 12:21:14 -04:00
Pradyun S. Gedam
44e82c4cf4 📰 2017-06-16 12:32:10 +05:30
Donald Stufft
78573d9897 Merge pull request #4240 from pradyunsg/configuration-command
Add a configuration command
2017-06-13 15:21:20 -04:00
Donald Stufft
f5558026c5 Merge pull request #4526 from pradyunsg/refactor/resolve
Move prepare_files logic to pip.resolve
2017-06-13 14:41:32 -04:00
Donald Stufft
32601af01c Merge pull request #4481 from pradyunsg/more-checks
Travis CI - Updates and Additions (sorted imports)
2017-06-13 13:54:36 -04:00
Pradyun S. Gedam
b0ed0f7e9b Merge branch 'master' into configuration-command 2017-06-13 21:26:10 +05:30
Donald Stufft
fc3a8e77e6 Merge pull request #4495 from pradyunsg/installed-files-bug-373
Fix for #373
2017-06-13 09:43:13 -04:00
Pradyun S. Gedam
0bd4ba9467 📰 2017-06-13 17:59:33 +05:30
Pradyun S. Gedam
9923c1ad7e Sort imports and minor Flake8 changes (#4520)
* Run isort on the codebase

Command: isort --recursive --skip __main__.py --skip _vendor -o pip._vendor -sd THIRDPARTY -m 5 -p pip -p tests ./pip ./tests

* 📰
2017-06-13 14:17:00 +02:00
Pradyun S. Gedam
5e6be8b4b0 📰 2017-06-13 11:35:40 +05:30
Pradyun S. Gedam
8b5cf0de1d 🎨 Misc change to re-trigger CI 2017-06-13 10:33:13 +05:30
David Tucker
7b88f2bbe4 Fall back to sys.getdefaultencoding in auto_decode (#4430)
* Test auto_decode when getpreferredencoding is None

* Fall back to sys.getdefaultencoding in auto_decode

* Add a news file fragment for 4184
2017-06-01 21:41:01 +02:00
Pradyun S. Gedam
0bdbee5c30 TemporaryDirectory abstraction (#4332)
* Rename BuildDirectory to TempDirectory

Because that's what it is.

* Use TempDirectory in more places (take 2)

* Fix indentation...

* 🎨

* Dumb mistake.

* Defer creation of temporary directory

* Misc

* Oops!

* Use better name

* Fix mistakes made in rebasing

* Remove unnecessary wrapping

* 📰

* Misc change to trigger a new CI build

* Make TempDirectory more robust

Update test accordingly

* 🎨 Remove unused import

* 🔧 Fix mistake made during merge

* Move kind to prefix

* Move delete initalization to __init__

* Remove unrelated message

* Improve existing test

* Oops.

* Add a test to verify that readonly files are also deleted

* 🎨

* Increase places where TempDirectory is used

* Remove unused import

* Improve tests, fix bug

* 🎨

* Update test for new behaviour

* Missed no_clean argument

* Make temp_dir private

* Delete the temporary directory based on no_clean

* Give TemporaryDirectory use a unique name

* 🎨

* 📝 Add basic documentation
2017-06-01 14:54:29 +02:00
Donald Stufft
2dd2375c11 Merge pull request #4509 from pradyunsg/misc/indent-completion-snippets
Indent the completion text and use textwrap.dedent
2017-05-30 07:48:36 -04:00
Paul Moore
8a101321f6 Another attempt to fix encoding issues (#4486)
When reading bytes from subprocesses, use the locale encoding. Don't fail if the data is encoded incorrectly - instead, use the backslashreplace error handler (and warn the user).
2017-05-27 22:02:08 +01:00
Pradyun S. Gedam
067dd14082
📰 2017-05-25 22:16:56 +05:30
Pradyun S. Gedam
d6db3b0429 📰 2017-05-20 13:22:31 +05:30
Pradyun S. Gedam
9ed0dd73a1 Add a news file 2017-05-20 12:53:13 +05:30
Donald Stufft
9c03780319 Merge pull request #4454 from dstufft/securetransport
Use SecureTransport on macOS
2017-05-19 18:15:13 -04:00
Donald Stufft
410549db9d Merge pull request #4500 from pradyunsg/switch-default-strategy
Switch default upgrade strategy to only-if-needed
2017-05-19 18:10:18 -04:00
Pradyun S. Gedam
053218b991 📰 2017-05-19 19:40:59 +05:30
Donald Stufft
7c4353e683 Merge pull request #4144 from takluyver/pep518
Install build dependencies as specified in PEP 518
2017-05-19 09:48:43 -04:00
Donald Stufft
84677844e3 Inject securetransport support into pip
Older versions of OpenSSL (before 1.0.1) did not support TLSv1.2 and
in the near future PyPI will be configured to *only* support TLSv1.2+.
This allows us to utilize SecureTransport on these systems where the
linked OpenSSL is *not* new enough to handle TLSv1.2.
2017-05-19 09:47:23 -04:00
Donald Stufft
bf5c388aa1 Merge pull request #4499 from dstufft/upgrade
Upgrade Dependencies
2017-05-19 09:10:26 -04:00
Donald Stufft
5fcd202a11 Merge pull request #4492 from pradyunsg/rerun-network-tests
Mark network tests as flaky and do reruns on fail
2017-05-19 08:28:12 -04:00
Donald Stufft
de829c4017 Merge pull request #4233 from pradyunsg/nicer-permissions-error
Nicer permissions error message
2017-05-19 08:04:18 -04:00
Donald Stufft
c665bc1369 Upgrade setuptools to 35.0.2 2017-05-19 08:01:44 -04:00
Donald Stufft
20b2f324f5 Upgrade requests to 2.14.2 2017-05-19 08:01:43 -04:00
Donald Stufft
065b9de2c8 Upgrade distlib to 0.2.5 2017-05-19 08:01:43 -04:00
Donald Stufft
cd2bfd20a6 Upgrade colorama to 0.3.9 2017-05-19 08:01:43 -04:00
Donald Stufft
686ea382fe Merge pull request #4484 from pradyunsg/readme-modification
README: Move badges before links
2017-05-19 07:12:44 -04:00
Donald Stufft
d24581fedf Merge pull request #4493 from pradyunsg/nicer-uninstall
Make uninstall less verbose
2017-05-19 07:12:15 -04:00
Thomas Kluyver
20955812bf Merge branch 'master' into pep518 2017-05-19 11:04:32 +01:00
Pradyun S. Gedam
053fa2f3f3 📰 2017-05-19 14:42:26 +05:30
Pradyun S. Gedam
5605976160 📰 2017-05-19 12:45:12 +05:30
Pradyun S. Gedam
501b774d7e 📰 2017-05-19 11:20:49 +05:30
Pradyun S. Gedam
dc6ce2260a 📰 2017-05-19 08:48:57 +05:30
Donald Stufft
f16de42863 Merge pull request #4485 from pradyunsg/isort-only
Sort all imports
2017-05-18 15:58:28 -04:00
Pradyun S. Gedam
4a86d894de 📰 2017-05-18 20:11:12 +05:30
Pradyun S. Gedam
ad0349624d 📰 2017-05-18 18:55:07 +05:30
Pradyun S. Gedam
206bf1f041 📰 2017-05-17 23:59:06 +05:30
Pradyun S. Gedam
476fbf2d2a 📰 2017-05-16 23:50:43 +05:30
Pradyun S. Gedam
464e9d14ec 📰 2017-05-16 15:54:03 +05:30
Pradyun S. Gedam
e3abcbc658 📰 2017-05-16 10:29:33 +05:30
Pradyun S. Gedam
6c201b7c8e New entry 2017-05-13 15:59:13 +05:30
Paul Moore
ccd75d4daf Merge pull request #4442 from pfmoore/user_site
Ensure USER_SITE is set by calling getusersitepackages() on Python 3.2+
2017-05-05 15:53:00 +01:00
AraHaan
0d513acd0f Inform users when vcs's are not in the path. (#4461)
Inform users when the vcs command is not in the path.

This provides extra information when someone who tries to use git with pip but can't because git is not in the path environment variable.
2017-05-03 08:46:36 +01:00
Xavier Fernandez
548a913652 Deprecate SVN specific code based on dependency links
This seems to have been around since forever (c2000d7de6 at least)
for an undocumented, untested and quite specific corner case based
on the deprecated dependency links.
2017-04-19 23:20:16 +02:00
Paul Moore
048dacde21 Ensure USER_SITE is set by calling getusersitepackages() 2017-04-12 19:36:11 +01:00
Xavier Fernandez
2552da3f27 Bump progress to 1.3
Closes #3015
2017-04-10 15:49:43 +02:00
Dustin Ingram
253d2a673e
Support installing from Git refs 2017-04-07 09:50:58 -04:00
Xavier Fernandez
4ee868553c Merge pull request #4208 from frame-technology/relative-file-paths
Support relative paths for file links.
2017-04-07 10:02:48 +02:00
Donald Stufft
88fa958db2 Merge pull request #4224 from kuzmiigo/fix-search-latest-version
Fix the latest version number in search results
2017-04-06 18:18:06 -04:00
Igor Kuzmitshov
fe9f070133 Add NEWS entry 2017-04-06 18:29:10 +01:00
Dustin Ingram
13373c37cf
Generalize help text for compile/no-compile flags 2017-04-06 13:27:46 -04:00
Donald Stufft
4749845a51 Merge pull request #4413 from luojiebin/Fixed-issue#4008
Allowed combinations of -q and -v to act sanely
2017-04-06 12:37:02 -04:00
luojiebin
d0c0cc9e80 Fixed issue #949 (#4414)
* Showed installers when list command runs with -vv option

* Added news entry

* Updated code to show both location and installer of a package when '-v' is used

* Removed installer from freeze format

* Moved get_installer function to pip.utils.packaging
2017-04-06 15:16:18 +02:00
Dustin Ingram
07d0bb7928
Upgrade webencodings==0.5.1 2017-04-05 17:31:53 -04:00
Brandon L. Reiss
465ca092c0 Add news/4208.bugfix. 2017-04-05 10:17:02 -04:00
Luo Jiebin
9aee3e6e82 Added news entry 2017-04-04 14:51:55 +08:00
Donald Stufft
0abb87d39a Merge pull request #4402 from luojiebin/master
Fixed issue #979
2017-04-03 08:56:40 -04:00
Luo Jiebin
58346dfab8 Added a news entry 2017-04-03 09:57:27 +08:00
Donald Stufft
77154ead85 Fix a typo in the news file entry 2017-04-01 17:12:26 -04:00
Donald Stufft
2e534b0c92 Merge pull request #4393 from qdamian/handle-url-encoded-credentials
Finish PR 3732: Handle url encoded credentials
2017-04-01 15:41:11 -04:00
Thomas Kluyver
b0b6ec1c7a Add news file 2017-04-01 19:35:01 +01:00
Donald Stufft
418a4dea41 Merge pull request #4395 from dstufft/upgrade-distro
Upgrade distro to 1.0.4
2017-04-01 14:17:02 -04:00
Donald Stufft
197c057b48 Merge pull request #4384 from vphilippon/install-whell-with-non-pep440-version
Install wheel with a non-PEP 440 version in the filename.
2017-04-01 10:59:01 -04:00
Donald Stufft
270ea3af20 Upgrade distro to 1.0.4 2017-04-01 10:51:45 -04:00
Damian Quiroga
3cdd162a7b Expect and return str when handling URL credentials 2017-03-30 22:01:43 -03:00
Donald Stufft
985dd899e0 Merge pull request #4388 from dstufft/upgrade
Upgrade CacheControl and setuptools
2017-03-30 20:48:12 -04:00
Donald Stufft
55c43aa364 Removed setup.py test support 2017-03-30 16:52:49 -04:00
Donald Stufft
69734f1627 Upgrade setuptools to 34.3.3 2017-03-30 08:49:11 -04:00
Donald Stufft
0078723269 Upgrade CacheControl to 0.12.2 2017-03-30 08:48:14 -04:00
Vincent Philippon
8378567b61 Install wheel with a non-PEP 440 version in the filename.
PEP 427 has no specific requirements for the format of the version.
As pip wheel allows to create a wheel with a non-PEP 440 version,
it should also be able to install that same wheel.
2017-03-27 23:12:42 -04:00
fiber-space
fa7aeb6cc8 Fixes destination directory of data_files when 'pip install --target' is used (#4092) (#4152) 2017-03-26 23:55:50 +02:00
Xavier Fernandez
49f259814f tests: addapt test_install_quiet
-qqq is now needed to hide warnings
2017-03-26 17:39:32 +02:00
Cooper Lees
e41b8b1959 Add PR 4336 news file 2017-03-23 11:12:35 -07:00
Xavier Fernandez
7adacc8b18 Fix deduce_helpful_msg in python3
Add a test and changelog for #4127
2017-03-23 12:57:57 +01:00
Donald Stufft
49af40e173 Merge pull request #4355 from dstufft/deprecate-3.3
Deprecate support for Python 3.3
2017-03-22 21:53:20 -04:00
Donald Stufft
bca2cf3824 Merge pull request #4362 from alex/patch-4
Remove pip download --editable, it doesn't make sense
2017-03-22 19:33:35 -04:00
Donald Stufft
6b54145783 Deprecate support for Python 3.3 2017-03-22 19:22:56 -04:00
Paul Kehrer
476d297ff6 add support for returning setuptools version for bigquery statistics (#4209)
* add support for returning setuptools version for bigquery statistics

* don't send the data if None

* add changelog entry
2017-03-22 23:59:43 +01:00
Alex Gaynor
935b11896e Added a newsfile 2017-03-22 18:47:06 -04:00
Donald Stufft
2f7007ca0a Merge pull request #4351 from dstufft/remove-10
Officially bump to 10.0 and remove deprecated items.
2017-03-20 14:45:02 -04:00
Donald Stufft
c15e112287 Merge pull request #4353 from dstufft/changelog-for-4322
Add a missing changelog for #4322
2017-03-20 12:11:01 -04:00
Donald Stufft
078f4444bf Add a missing changelog for #4322 2017-03-20 11:08:06 -04:00
Donald Stufft
8c2a1b44b0 Upgrade distro to 1.0.3 2017-03-20 11:03:15 -04:00
Donald Stufft
fabb73971e Remove the ability to uninstall distutils installed projects 2017-03-20 10:49:57 -04:00
Donald Stufft
ffac1c2180 Removed the deprecated --default-vcs option 2017-03-20 10:49:57 -04:00
Donald Stufft
95b9541ed4 Remove the deprecated --(no-)use-wheel flags 2017-03-20 10:49:56 -04:00
Donald Stufft
0b1f521059 Switch the default for pip list to the columns format 2017-03-20 10:49:56 -04:00
Donald Stufft
e6bfa12403 Remove the deprecated --download option to install 2017-03-20 10:49:56 -04:00
Donald Stufft
bb41490225 Removed the deprecated --allow-* commands from PEP 438 2017-03-19 20:51:54 -04:00
Donald Stufft
bb48371714 Removed the deprecated `--egg` flag 2017-03-19 20:31:23 -04:00
Donald Stufft
90dd13f6a6 Add a special kind of towncrier type for vendored lib updates 2017-03-19 16:49:55 -04:00
Donald Stufft
c36cca51ca Allow marking a change as "trivial" for the news file 2017-03-19 16:39:27 -04:00
Donald Stufft
a45c2f5e24 Generate our NEWS.rst with towncrier 2017-03-19 12:00:31 -04:00