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

259 commits

Author SHA1 Message Date
Maxim Kurnikov
64dacbf888 update mypy to 0.730 2019-09-28 17:42:27 +03:00
Pradyun Gedam
ad33ecef74
Move PipSession to network.session (#7089) 2019-09-28 11:55:15 +05:30
Chris Hunt
cf7ebdbbc2 Move PipSession to network.session 2019-09-27 01:02:52 -04:00
Christopher Hunt
ea923d96a9
Merge pull request #6313 from wilsonfv/master
Fix #3907 tar file placed outside of target location
2019-09-26 19:30:53 -04:00
Pradyun Gedam
b447f438df
Move path_to_url() to utils/urls.py (#7075) 2019-09-25 10:00:33 +05:30
Chris Hunt
8c94b70354 Address review comments 2019-09-24 22:43:06 -04:00
Wilson Mo
08a0eeb90c Fix #3907 tar file placed outside of target location 2019-09-24 22:25:18 -04:00
Chris Jerdonek
0435316fde Move path_to_url() to utils/urls.py. 2019-09-24 02:01:52 -07:00
Chris Hunt
e6bde63620 Assert TempDirectory.path has not been cleaned up on access 2019-09-23 20:09:04 -04:00
Chris Hunt
97ec73881e Switch TempDirectory.path to property 2019-09-23 18:41:31 -04:00
Chris Hunt
ebd286ebec Add types to TempDirectory 2019-09-22 00:02:46 -04:00
Chris Hunt
85dcaa74bb Unconditionally create TempDirectory.path 2019-09-22 00:02:46 -04:00
Pradyun Gedam
fbe8fe21ab
Normalize usage of TempDirectory (#7047) 2019-09-20 19:46:31 +05:30
Chris Hunt
92e9748147 Make TempDirectory._create return path instead of setting self.path 2019-09-19 22:16:00 -04:00
Chris Hunt
2aeed371e5 Make content_type optional in unpack_file. 2019-09-19 20:02:47 -04:00
Chris Hunt
ea6eb1f898 Remove unused functions 2019-09-19 01:47:27 -04:00
Chris Hunt
89bbe73498 Remove unused argument in unpacking.unpack_file 2019-09-19 01:47:24 -04:00
Chris Hunt
8648ff568f Removed unused Subversion().unpack in unpack_file
`download.unpack_url` already calls `unpack_vcs_link`, it looks like
this was leftover from before that change.
2019-09-19 01:47:20 -04:00
Christopher Hunt
41ea07ac4a
Merge pull request #7005 from epicfaace/patch-1
Fix grammar
2019-09-18 19:59:12 -04:00
Chris Jerdonek
6d94944efd Change PackageFinder.create() to accept a LinkCollector. 2019-09-18 00:59:04 -07:00
Chris Jerdonek
6a55f0788b Move make_search_scope() to outdated.py. 2019-09-18 00:48:48 -07:00
Chris Hunt
5a759daaff Make style consistent. 2019-09-17 23:40:02 -04: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
ab250e3e09
Merge pull request #6879 from chrahunt/bugfix/dont-lock-selfcheck
Don't use lockfile to protect updates to selfcheck file.
2019-09-15 19:02:46 +05:30
Chris Jerdonek
3303c11828 Remove index.py and req/constructors.py's dependence on download.py. 2019-09-13 09:57:04 -07:00
Ashwin Ramaswami
9322b9fa22
Fix grammar 2019-09-10 09:53:45 -07:00
Pradyun Gedam
ceaf514189
Drop support for EOL Python 3.4 (2) (#6782)
Merge pull request #6782 from hugovk/rm-3.4
2019-09-10 09:28:11 +05:30
Hugo
97f719cee2 Explicitly refer to Python 2.7 instead of <=3.4 2019-09-08 19:39:50 +03:00
Chris Hunt
68e6feb31a Use os.replace in Python 3. 2019-09-08 09:29:48 -04:00
Chris Hunt
6617d15838 Write to tempfile and move instead of locking selfcheck file. 2019-09-08 09:29:48 -04:00
Hugo
fd5ffb6346 Fix for Python 4: replace unsafe six.PY3 with PY2 2019-09-08 14:47:19 +03:00
Hugo
11ec2a3b17 Remove redundant check 2019-09-08 11:53:58 +03: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
Pradyun Gedam
8b2e1c866c
Merge pull request #6855 from chrahunt/refactor/separate-statefile-states
Write separate statefiles per prefix.
2019-09-07 09:35:23 +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
Chris Hunt
0c5721fe84 Simplify directory delete marker file check. 2019-09-05 11:25:19 +02: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
1ab37d31f1
Merge pull request #6903 from cjerdonek/move-trusted-hosts
Move PackageFinder's --trusted-host logic to PipSession
2019-08-22 03:56:13 -07:00
Chris Jerdonek
9ef811638b
Merge pull request #6787 from cjerdonek/best-candidate-result
Simplify PackageFinder best candidate API some more
2019-08-21 13:13:44 -07:00