Commit Graph

28 Commits

Author SHA1 Message Date
Pradyun Gedam ab6ac9d31b
Merge pull request #8221 from pradyunsg/revert-in-place-builds 2020-05-19 11:43:45 +05:30
Paul Moore 6a244de617
Merge pull request #8025 from catPill/fix-windows-writable-test
Fix Windows folder writable detection
2020-04-14 12:33:10 +01:00
Pradyun Gedam f458573de6
Merge pull request #7882 from sbidoul/build-in-place-7555-sbi
Build local directories in place
2020-04-13 21:33:02 +05:30
ghost dbd2c2f760 Fix Windows folder writable detection 2020-04-12 20:38:43 +08:00
Stéphane Bidoul 873f1e6332
remove _copy_source_tree and friends 2020-04-12 12:00:57 +02:00
Ellen Marie Dash 63ba6cce4a [command/cache, utils/filesystem] Use existing format_size; remove _friendly_size; rename friendly_*_size to format_*_size for consistency. 2020-04-01 16:54:42 -04:00
Ellen Marie Dash 03d5ec10f2 [utils/filesystem] Reformat comment to keep lines <79 characters long. 2020-04-01 16:54:42 -04:00
Ellen Marie Dash f22f69e9bd [utils/filesystem] Convert `size` to float, for consistent behavior between Py2 and Py3. 2020-04-01 16:54:42 -04:00
Ellen Marie Dash 554133a90e [commands/cache] Add file size information. 2020-04-01 16:54:42 -04:00
Ellen Marie Dash 04c0b0e6eb Add 'pip cache' command. 2020-04-01 16:54:03 -04:00
Nguyễn Gia Phong 209c74f690 Use better temporary files mechanism 2020-04-01 22:02:34 +07:00
Jason R. Coombs 6282a307dc 👹 Feed the hobgoblins (delint). 2020-03-06 12:43:10 -05:00
Jason R. Coombs 3511d3d493 Convert the remaining '%' formatters to '.format'. Fixes #6973. 2020-03-06 12:43:03 -05:00
Stéphane Bidoul (ACSONE) 4d79037527
Eagerly normalize the cache directory
Fixes #7541
2020-01-08 08:01:09 +01:00
Chris Hunt 8dc6919875 Fix mypy checks on Windows
Previously we were making unguarded calls to non-Windows-only APIs. Mypy
only automatically excludes these from platform-specific checks when
inside conditions.
2019-12-29 00:33:28 -05:00
Chris Hunt 912f5763c6 Move utils.misc.cast to avoid circular import 2019-11-04 20:16:36 -05:00
Thomas Kluyver 357c132222 Handle nonexistant directory when checking for write access 2019-10-09 10:13:29 +01:00
Thomas Kluyver 086ab4c52a Fix exclusive-mode open for Python 2 2019-10-09 09:46:12 +01:00
Thomas Kluyver a6b13b637b Fix maximum line length 2019-10-09 08:43:58 +01:00
Thomas Kluyver f7132d9c6d Fix OSError catching for Python 2 2019-10-09 08:43:42 +01:00
Thomas Kluyver 172274ac1d Add type annotation comments 2019-10-09 08:39:07 +01:00
Thomas Kluyver 042d4844e8 Default to --user install in certain conditions 2019-10-09 08:34:29 +01: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
Christopher Hunt 5e97de4773 Ignore errors copying socket files for source installs (in Python 3). (#6844) 2019-08-21 02:19:02 -07:00
petr-tik 55f6787c04 Added type hints
Found a potential bug i.e. missing return statement in check_path_owner. If
while loop falls through without returning,
return a defensive False

Added a trivial file as per the contributor guidelines

Make linter happy - ignore "unused" import
2018-10-27 15:37:29 +01:00
Pradyun Gedam 4fc697847a
Update imports for the moved compat module 2018-07-29 18:32:20 +05:30
Donald Stufft 95bcf8c5f6 Move all internal APIs to pip._internal 2017-08-31 14:53:00 -04:00
Renamed from pip/utils/filesystem.py (Browse further)