Pradyun Gedam
b98dd2d07d
Merge pull request #8778 from hugovk/deprecate-3.5
...
Deprecate support for Python 3.5
2020-09-08 16:40:56 +05:30
gutsytechster
8c267e6e39
feat(pip/_internal/*): Use custom raise_for_status method
2020-07-08 18:08:55 +05:30
Pradyun Gedam
26e29aa70e
Disallow --unstable-feature, pointing to --use-feature instead
2020-07-03 18:49:57 +05:30
Stéphane Bidoul
acab2ee54e
Deprecate --build-dir
2020-06-21 19:05:55 +02:00
Greg Ward
dd3672fe34
Fix grammar in Python 2 warning message
2020-06-03 22:00:32 +02:00
Devesh Kumar Singh
b01eb958d0
Fix run type annotation in base_command and configuration
2020-05-30 10:57:40 +05:30
Devesh Kumar Singh
cb25f93a20
Assert that status is int
2020-05-28 22:31:00 +05:30
Devesh Kumar Singh
4b5f723480
Don't return SUCCESS at end of run method
2020-05-28 22:31:00 +05:30
Devesh Kumar Singh
2bcbc52b2c
Remove isinstance check for status
2020-05-28 22:31:00 +05:30
Devesh Kumar Singh
e9f738a3da
Bubble up SubProcessError to basecommand._main
2020-05-23 19:13:13 +05:30
gutsytechster
b82516c9ca
fix(_internal/commands): Define a default add_option to child commands
2020-05-23 14:55:37 +05:30
gutsytechster
72a42197a4
refactor(commands): Add method add_options and remove __init__
...
This removes the __init__ method of child classes and defines
explicit method for adding command options.
2020-05-23 14:50:57 +05:30
Pradyun Gedam
daff81124a
Merge pull request #8087 from pradyunsg/document-python-2-drop-date
2020-04-23 00:43:26 +05:30
Pradyun Gedam
c46e16794d
Include month and year for pip 21.0
...
Co-Authored-By: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-04-21 08:22:47 +05:30
Pradyun Gedam
7e61569b1a
Drop --skip-requirements-regex
2020-04-20 22:37:25 +05:30
Pradyun Gedam
a75f2fa31d
Document pip 21.0 as end of Python 2 support
2020-04-19 23:42:39 +05:30
Pradyun Gedam
e060970d51
Merge pull request #7675 from deepak1725/string-format2
...
Updated string_formatting to .format
2020-02-02 02:05:34 +05:30
Deepak Sharma
d31cf696e8
string_formatting
2020-01-30 20:33:00 +05:30
Chris Hunt
f2af7df453
Use tempdir_registry to control auto-deleted files globally
...
Next we can actually transition some files to be globally-managed that
are only deleted conditionally.
2020-01-29 23:04:26 -05:00
Stéphane Bidoul (ACSONE)
4d79037527
Eagerly normalize the cache directory
...
Fixes #7541
2020-01-08 08:01:09 +01:00
Stéphane Bidoul (ACSONE)
1ee270a8d4
Check that the cache is writable in _main()
...
This avoid code duplication (for the wheel and http
cache) and repeated warnings.
2019-12-28 13:04:54 +01:00
victorvpaulo
81805a5776
Add option to silence warnings related to deprecation of Python versions ( #6739 )
...
* Add option to silence warnings related to deprecation of Python versions
* Move skip_if_python2 and skip_if_not_python2 decorator declaratios to test/lib/__init__.py and use them in test_warning.py
* Add tests to ensure that python version deprecation warning is shown correctly and can be silenced by a flag.
* Add new test to ensure that --no-python-version-warning flag does nothing if python version is not 2
2019-12-15 09:59:34 +08:00
Chris Hunt
d6b509d7c6
Set up global tempdir manager in BaseCommand
...
This ensures that the resource is available for the lifetime of the
program.
2019-12-09 06:06:37 +08:00
Hugo
0c65a9e2a3
The next pip will be released after Python 2.7's EOL
2019-12-07 11:20:17 +02:00
Maxim Kurnikov
d1452ffabd
add global disallow_any_generics=True
2019-11-12 21:08:48 +03:00
Chris Hunt
a47fef71c2
Deprecate --skip-requirements-regex
2019-11-04 18:00:42 -05:00
Chris Hunt
45fe22b3ec
Manage overall application context in Command.
2019-09-07 09:41:18 -04:00
Chris Jerdonek
234ef43915
Remove mypy: strict-optional=False from base_command.py.
2019-08-08 05:37:14 -07:00
Chris Jerdonek
e74fd24c71
Eliminate base_command.py's import dependency on PipSession.
2019-08-07 14:12:42 -07:00
Chris Jerdonek
5a1b97d572
Merge pull request #6835 from cjerdonek/requirement-command-import
...
Move RequirementCommand to a different module
2019-08-07 12:08:00 -07:00
Pradyun Gedam
476606425a
Add mypy's no-strict-optional configuration inline ( #6750 )
2019-08-04 21:59:42 +05:30
Chris Jerdonek
da9ebed9df
Move RequirementCommand to req_command.py.
2019-08-04 02:05:33 -07:00
Prabakaran Kumaresshan
b562531cc5
Add make_resolver() to RequirementCommand base class ( #6826 ).
2019-08-03 23:47:50 -07:00
Prabakaran Kumaresshan
82dbcdae87
Add make_requirement_preparer() to RequirementCommand base class ( #6810 )
2019-08-01 20:29:44 -07:00
Pradyun Gedam
f377148f6d
Use mypy's inline configuration syntax for opt-outs
2019-07-30 12:39:51 +05:30
Chris Jerdonek
1f09e67f34
Only import a Command class when it is actually needed.
...
This resulted in an approximate 24% speed-up of a vanilla `pip`
invocation on one system (0.477 secs before, 0.363 secs after).
2019-07-26 23:30:26 -04:00
Pradyun Gedam
537b0fca12
Change isort multi_line_output to 3
2019-07-22 10:15:27 +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
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
cab7316e2b
Change PackageFinder.create() to accept a SearchScope object.
2019-06-21 14:41:49 -07:00
Chris Jerdonek
b8d693c71e
Add a TargetPython class.
2019-06-11 18:19:20 -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
ad2b07898d
Fix pip-install to respect --ignore-requires-python.
2019-05-22 21:34:41 -07:00