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

5387 commits

Author SHA1 Message Date
Pradyun S. Gedam dcd7c60413 Raise a ConfigurationError 2017-05-20 12:56:13 +05:30
Pradyun S. Gedam 9a9ef8a4de Make options tests work 2017-05-20 12:55:31 +05:30
Pradyun S. Gedam af528de2df Errors are fatal 2017-05-20 12:54:04 +05:30
Pradyun S. Gedam b617f39bf6 Add debugging message + 🎨 2017-05-20 12:54:04 +05:30
Pradyun S. Gedam 027911f5e1 Remove dependency on re for a trivial task 2017-05-20 12:54:04 +05:30
Pradyun S. Gedam ebead2376a Handle PIP_CONFIG_FILE correctly 2017-05-20 12:53:13 +05:30
Pradyun S. Gedam 75680a8372 Put environment configuration file in a list
And skip None case cleanly
2017-05-20 12:53:13 +05:30
Pradyun S. Gedam 9ed0dd73a1 Add a news file 2017-05-20 12:53:13 +05:30
Pradyun S. Gedam 7ff6c12469 DRY the code 2017-05-20 12:53:13 +05:30
Pradyun S. Gedam f1f2c2b0e8 Git messed up whitespace. :/ 2017-05-20 12:53:13 +05:30
Pradyun S. Gedam e91292b118 Move conditional out of _get_config_files 2017-05-20 12:53:13 +05:30
Pradyun S. Gedam 558edd6882 Implement get_file 2017-05-20 12:53:13 +05:30
Pradyun S. Gedam 891a10c6de Remove unused imports 2017-05-20 12:53:13 +05:30
Pradyun S. Gedam 757d356d89 Add ConfigurationError and use it. 2017-05-20 12:52:01 +05:30
Pradyun S. Gedam 39edb2cfb2 Nicer messages/docstrings, better log level 2017-05-20 12:52:01 +05:30
Pradyun S. Gedam 5a02a7d85c Comment + Docstring changes 2017-05-20 12:52:01 +05:30
Pradyun S. Gedam 06367c0655 Misc 2017-05-20 12:52:01 +05:30
Pradyun S. Gedam 86777f1d48 Move file-paths into pip.locations 2017-05-20 12:52:01 +05:30
Pradyun S. Gedam 812008a1ce Undo name change on baseparser 2017-05-20 12:48:59 +05:30
Pradyun S. Gedam 614059007f Add a configuration command
* Major refactor of configuration to remember parsers and contexts.
* Add new methods for modifying configuration and what a parser is for.
* Add a load_only parameter to make life easier.
* Rename variable on baseparser for ensuring no collisions occur by mistake
* Add a configuration command that *mostly* does what it should

[skip ci] because it'll fail anyway. The tests need updating.
2017-05-20 12:48:59 +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 2ae5f1e8a7 Merge pull request #4470 from vartec/setup.py-fix
fix for 'pretend' and 'scripttest>=1.3' getting concatenated
2017-05-19 18:14:04 -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
Pradyun S. Gedam 375ed4d3fc Switch default upgrade strategy to only-if-needed 2017-05-19 17:09:48 +05:30
Pradyun S. Gedam 6b08889735 Add dependency on pytest-rerunfailures 2017-05-19 16:54:35 +05:30
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
Pradyun S. Gedam a1ccc52970 Log the exception when verbosity > 1 2017-05-19 16:34:23 +05:30
Donald Stufft 60ebb030c6 Merge pull request #4490 from pradyunsg/windows-upgrade-message
Display message on Windows when modifying pip
2017-05-19 06:31:13 -04:00
Thomas Kluyver 15ac808c7d Fix duplicate imports and code style 2017-05-19 11:10:57 +01: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 e41bad700e Display a message on Windows if pip is being modified.
If the user run a pip modifying command without using the python -m,
pip now displays an error requesting the user to use python -m method of
invoking pip.
2017-05-19 14:40:40 +05:30
Pradyun S. Gedam 5605976160 📰 2017-05-19 12:45:12 +05:30
Pradyun S. Gedam ef49ad6db6 Sort imports 2017-05-19 12:44:55 +05:30
Pradyun S. Gedam f07c49329f Nicer message, Return error 2017-05-19 12:44:07 +05:30
Pradyun S. Gedam db3e8570cc THIS IS A DUMB MISTAKE! 2017-05-19 12:43:29 +05:30
Pradyun S. Gedam cc786ba7a4 Improve the error message a bit more 2017-05-19 12:43:29 +05:30
Pradyun S. Gedam 8e1a353b6d Switch to a larger catch-all error 2017-05-19 12:43:28 +05:30
Pradyun S. Gedam 0557b0e2d1 Improve error message on PermissionError 2017-05-19 12:43:28 +05:30