Maxim Kurnikov
3692097cca
add per-file disallow_untyped_defs=False, and set it to True globally
2019-09-29 23:31:15 +02:00
Chris Jerdonek
0435316fde
Move path_to_url() to utils/urls.py.
2019-09-24 02:01:52 -07:00
Chris Hunt
5656364112
Move supporting functions to utils.unpacking.
2019-09-17 23:40:02 -04:00
Chris Hunt
6a8b47d20b
Move file type info to utils.filetypes.
2019-09-17 23:40:02 -04:00
Chris Hunt
6a5bd723ec
Move unpack_* from utils.misc to utils.unpacking.
2019-09-17 23:40:02 -04:00
Christopher Hunt
47293435bb
Merge pull request #6976 from atugushev/fix-issue-4910
...
Fix rmtree_errorhandler to skip nonexistent dirs
2019-09-17 22:40:46 -04:00
Christopher Hunt
b1bc41b2c3
Merge pull request #6914 from sbidoul/pip6892-sbi
...
uninstall: remove symlinks created by flit install --symlink
2019-09-17 21:14:28 -04:00
Pradyun Gedam
a39e881479
Fix pip.exe upgrade pip fails on Windows
...
Merge pull request #6928 from atugushev/fix-issue-6924
2019-09-07 14:14:29 +05:30
Albert Tugushev
cdcacff8a1
Address review comments
...
Fix some comments and variable names.
Execute rmtree_errorhandler in an except block to test whether
it reraises an exception.
2019-09-06 10:55:40 +03:00
Albert Tugushev
b5c1c76203
Fix failing test and revisit is_readonly flag
2019-09-05 17:49:58 +03:00
Albert Tugushev
85a5ae12d2
Fix rmtree_errorhandler to skip non-existing dirs
2019-09-05 00:25:35 +03:00
Albert Tugushev
3c9770d9b2
Redact single-part login credentials from URLs ( #6921 )
2019-08-26 15:50:07 -07:00
Albert Tugushev
d8b6296227
Fix pip.exe upgrade pip fails on Windows
...
It fails if it already satisfies the requirement, when
pip has been modifying via `pip.exe install ...` command.
2019-08-26 16:05:48 +03:00
Frost Ming
8ac22141c2
Support including port part in trusted-host ( #6909 )
2019-08-25 16:26:01 -07:00
Pradyun Gedam
d2b7082932
Fix bypassed pip upgrade warning on Windows
...
Merge pull request #6864 from atugushev/fix-issue-6841
2019-08-25 19:08:28 +05:30
Stéphane Bidoul (ACSONE)
885fdc3754
Correctly uninstall symlinks
2019-08-24 23:04:47 +02:00
A_Rog
70027b2f50
Address #6876 : Make command output go through a single function ( #6881 )
2019-08-22 17:29:22 -07:00
Chris Jerdonek
7783c47131
Hide security-sensitive strings in VCS command log messages ( #6890 )
2019-08-21 03:22:57 -07:00
Pradyun Gedam
9332803089
Merge pull request #6729 from asottile/3_10_fixes
...
sys.version fixes for python 3.10
2019-08-18 09:27:09 +09:00
Chris Jerdonek
bbae384d5b
Make some final tweaks to the PR.
2019-08-14 22:13:26 -07:00
Frost Ming
3f9136f885
Make trusted host w/o port work for HTTPS
2019-08-14 22:13:18 -07:00
Albert Tugushev
173761c030
Address review comments
...
Rebased to the latest master
Remove unneeded assertions
Use create_basic_wheel_for_package
Couple other nitpicks
2019-08-14 11:39:16 +03:00
Albert Tugushev
a1fa84e57e
Address review comments
...
Handle the case of invoking pip via pip3 and pip3.7
2019-08-14 10:11:16 +03:00
Albert Tugushev
9a317d3b20
Fix bypassed pip upgrade warning on Windows
2019-08-14 10:11:16 +03:00
Chris Hunt
a0418719b0
Clean up import in moved module.
2019-08-10 13:54:35 -04:00
Pradyun Gedam
f377148f6d
Use mypy's inline configuration syntax for opt-outs
2019-07-30 12:39:51 +05:30
Pradyun Gedam
2a5c23b3d5
Simplify the handling of "typing.cast"
2019-07-30 10:17:19 +05:30
Pradyun Gedam
3b98423981
Work around mypy quirks
2019-07-29 23:21:24 +05:30
Chris Jerdonek
6f638eb591
Add get_major_minor_version().
2019-07-27 20:01:52 -07:00
Anthony Sottile
c3fb5cbff0
sys.version fixes for python 3.10
2019-07-27 19:59:18 -07:00
Pradyun Gedam
537b0fca12
Change isort multi_line_output to 3
2019-07-22 10:15:27 +05:30
Xavier Fernandez
fc618bf3b1
Move virtualenv detection functions into their own module
2019-07-19 10:03:22 +02:00
Xavier Fernandez
34092d3234
Move pip marker related constant & function in their own module
...
It didn't seem related with the rest of the locations module
2019-07-18 22:53:05 +02:00
Chris Jerdonek
1a7f76fe1c
Remove strict_optional=False for vcs/subversion.py.
2019-07-14 23:07:48 -07:00
Chris Jerdonek
957756ac36
Remove strict_optional=False for models/target_python.py.
2019-07-14 23:07:45 -07:00
Chris Jerdonek
77ad4764ef
Support non-ascii cwds in make_subprocess_output_error().
2019-07-06 00:26:36 -07:00
Chris Jerdonek
0d5a98390e
Merge pull request #6671 from cjerdonek/make-subprocess-error-non-ascii-cmd
...
Handle non-ascii commands in Python 2 in make_subprocess_output_error()
2019-07-04 15:43:25 -07:00
Chris Jerdonek
a6020e8553
Handle non-ascii commands in Python 2 in make_subprocess_output_error().
2019-07-04 00:54:15 -07: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
9eab3526a8
Improve error message formatting when a subprocess command errors out.
2019-06-27 03:05:06 -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
e6b1070e14
Add normalize_version_info() with tests.
2019-06-06 13:20:26 -07:00
Chris Jerdonek
ce46f8524e
Merge pull request #6545 from cjerdonek/vcs-imports
...
Remove from pip/_internal/__init__.py the vcs module imports
2019-06-03 02:10:43 -07:00
László Kiss Kollár
929fefdbae
Add --path to pip freeze to support --target installations ( #6450 )
...
* Add support for --path in pip freeze
2019-05-28 02:28:18 -07:00
Chris Jerdonek
2d450936c6
Move path_to_url() from download.py to misc.py.
2019-05-26 22:51:00 -07:00
Donald Stufft
3596ad5cd8
Merge pull request #5952 from zooba/issue-5948
...
Fixes #5948 Adds keyring support
2019-05-10 08:13:55 -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
0ea639d644
Remove url as an instance attribute of the VersionControl class.
2019-05-06 22:59:18 -04:00
Chris Jerdonek
e0505bb152
Prevent subprocess stdout and stderr from cluttering pip's stdout.
2019-03-25 00:21:20 -07:00
Chris Jerdonek
7f6edbd252
Merge pull request #6130 from cjerdonek/move-get-src-requirement-to-base-class
...
Move get_src_requirement() to the VersionControl base class
2019-03-14 15:22:54 -07:00