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

79 commits

Author SHA1 Message Date
Pradyun Gedam
250f687ffe
Merge pull request #6827 from cjerdonek/issue-6804-find-links-expansion
Fix "~" expansion in --find-links paths
2019-08-11 22:14:41 +05:30
Pradyun Gedam
bf1b8216f0
Remove period from the end of URL 2019-07-20 09:37:48 +05:30
Pradyun Gedam
c80f94e192
Ignore line length for the link 2019-07-20 09:37:48 +05:30
Pradyun Gedam
6762a3d518
Add link to pip's Python 2 deprecation message 2019-07-20 09:37:48 +05:30
Xavier Fernandez
4cf08e85c0 Isolate src_prefix computation in a function 2019-07-19 12:08:33 +02:00
Xavier Fernandez
fc618bf3b1 Move virtualenv detection functions into their own module 2019-07-19 10:03:22 +02:00
Hugo
2c1010ee96 Drop support for EOL Python 3.4 2019-07-07 11:45:16 +03:00
Chris Jerdonek
a8510bc5e6
Merge pull request #6638 from cjerdonek/debug-command
Add a "pip debug" command
2019-07-02 02:00:02 -07:00
Chris Jerdonek
ae79b5bf5c Add a SelectionPreferences class. 2019-06-28 11:14:55 -07:00
Chris Jerdonek
8af3f21a57 Filter out yanked links earlier when allow_yanked=False. 2019-06-27 19:50:25 -07:00
Chris Jerdonek
db213c04d7 Add add_target_python_options() and make_target_python(). 2019-06-23 09:28:54 -07:00
Chris Jerdonek
9117cccc7e Refactor out a get_pip_version() function into misc.py. 2019-06-23 09:28:50 -07:00
Chris Jerdonek
cab7316e2b Change PackageFinder.create() to accept a SearchScope object. 2019-06-21 14:41:49 -07:00
Laszlo Kiss-Kollar
246130c48f Consolidate --path parsing into cmdoptions.py
This option is used both in the `freeze` and `list` commands. The code
to parse the option and validate that it's not used with incompatible
arguments should be done in one place.
2019-06-13 09:37:16 +01:00
Chris Jerdonek
93769d0a9c
Merge pull request #6591 from cjerdonek/target-python-class
Add a TargetPython class.
2019-06-11 19:03:13 -07:00
Chris Jerdonek
b8d693c71e Add a TargetPython class. 2019-06-11 18:19:20 -07:00
Chris Jerdonek
4bb225d486 Allow dotted version strings for --python-version. 2019-06-08 19:59:09 -07:00
Chris Jerdonek
798d814629 Change PackageFinder to use Tuple[int, ...] instead of List[str] for --python-version. 2019-05-28 03:05:14 -07:00
Chris Jerdonek
fada348b00 Make all Option callbacks start with the same prefix. 2019-05-28 02:32:18 -07:00
Chris Jerdonek
ad2b07898d Fix pip-install to respect --ignore-requires-python. 2019-05-22 21:34:41 -07:00
Chris Jerdonek
cad71a7117 Add PackageFinder.create(), and simplify PackageFinder(). 2019-05-17 11:55:21 -07:00
Steve Dower
49b9298a44 Improve import error handling
Fix --no-index usage
Fix missing type annotation type
2019-05-07 17:01:41 -04:00
Steve Dower
c63ee61027 Issue #5948: Enable keyring support
This requires keyring and any backends to be installed separately.
Once discovered, it will be used to retrieve credentials by index URL
and netloc before prompting. If the user is prompted and the
credentials work, they will (optionally) be saved to keyring against
the netloc of the requested URL.
2019-05-07 09:55:02 -04:00
Chris Jerdonek
a163ae5af1
Fix some formatting issues in the pip-install docs (#6432) 2019-05-07 09:13:56 -04:00
Pi Delport
5f3c56e188 Fix some typos 2019-03-12 21:54:18 +01:00
Juanjo Bazán
61e5970fa4 Fix typo (extra parenthesis). (#6316) 2019-03-06 03:43:20 -08:00
Chris Jerdonek
8d78ff0fce Prefix warning and error log messages. 2019-02-27 03:22:26 -08:00
Pradyun Gedam
d4217f0cc3
Merge pull request #6129 from asottile/dead
delete some dead code
2019-02-24 22:08:16 +05:30
Pradyun Gedam
04f1e70427
Merge pull request #6282 from mkurnikov/update-flake8-to-3.7.6
Update flake8 to 3.7.6
2019-02-22 21:56:28 +05:30
Maxim Kurnikov
c4dfdbe265 remove unused imports 2019-02-22 14:18:46 +03:00
Maxim Kurnikov
f77b8ca051 remove #noqa: F401 2019-02-22 14:17:07 +03:00
Maxim Kurnikov
8fd009850a remove unused # type: ignore 2019-02-22 00:40:57 +03:00
Anthony Sottile
2c53b709cd Remove hidden
last reference removed in 8447f39fe1
2019-02-20 11:51:24 -08:00
Julian Berman
77c989f377 Only show Python 2.7 EOL date on CPython.
Other Python implementations, notably PyPy, are not EOL'ing on January
1, 2020.
2019-01-31 08:27:47 -05:00
Chris Jerdonek
9d00420c16 Use the requested log level when handling broken stdout pipe. 2019-01-21 12:45:59 -08:00
Chris Jerdonek
7a9e1f344b Handle BrokenPipeError gracefully. 2019-01-20 15:49:49 -08:00
Donald Stufft
5074327bcb
Merge pull request #6147 from dstufft/warn-on-27
Warn on Python 2.7
2019-01-19 21:53:09 -05:00
Donald Stufft
f3b9cf2e8f fix grammar, line lengths 2019-01-19 19:09:04 -05:00
Donald Stufft
71dbc9c3d5 Warn on Python 2.7 2019-01-19 14:54:07 -05:00
Chris Jerdonek
5fe3157917 Change the --no-cache-dir error to use raise_option_error(). 2019-01-15 09:21:16 -08:00
Chris Jerdonek
c0cc004ca8 Raise an error if the user tries to use PIP_NO_USE_PEP517. 2019-01-15 09:21:12 -08:00
Xavier Fernandez
b268c67f84 Deprecate Python 3.4 2019-01-12 22:08:24 +01:00
Xavier Fernandez
a09913673f Redact index password from logs
Closes #6124
2019-01-10 10:47:19 +01:00
Pradyun Gedam
7222cb8fdb
Remove --process-dependency-links and related support code 2019-01-02 17:27:06 +05:30
Maxim Kurnikov
028848574a add type annotations for pip/_internal/cli/ 2018-12-03 15:47:11 +03:00
Paul Moore
4ca38e0c38 Merge with master 2018-11-11 13:49:35 +00:00
Chris Jerdonek
fc1b1e4cf0
Merge pull request #5884 from cjerdonek/pip-no-cache-dir-var
Make PIP_NO_CACHE_DIR behave as it reads, and not crash pip
2018-11-08 14:19:48 -08:00
Chris Jerdonek
b94d719f39 Make PIP_NO_CACHE_DIR disable the cache also if given a "true" value. 2018-11-08 03:43:56 -08:00
Pradyun Gedam
35701ea3cd
Merge pull request #5930 from cytolentino/basecommand-typing
Add mypy annotations to base_command.py
2018-10-31 01:57:46 +05:30
Paul Moore
83979fedaa Actually use the new --[no-]use-pep517 option 2018-10-29 23:33:21 +01:00