Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Blacken src/pip/_internal/utils directory | Jon Dufresne | 2021-02-21 | 1 | -9/+7 |
| | |||||
* | Merge pull request #9606 from hexagonrecursion/fstr | Pradyun Gedam | 2021-02-21 | 1 | -2/+1 |
|\ | |||||
| * | Convert more str.format() calls to f-strings | Andrey Bienkowski | 2021-02-13 | 1 | -2/+1 |
| | | |||||
* | | Remove typing.TYPE_CHECKING guards | Jon Dufresne | 2021-02-19 | 1 | -5/+2 |
| | | | | | | | | | | | | | | | | | | | | | | The typing module has been available since Python 3.5. Guarding the import has been unnecessary since dropping Python 2. Some guards remain to either: - Avoid circular imports - Importing objects that are also guarded by typing.TYPE_CHECKING - Avoid mypy_extensions dependency | ||||
* | | Replace pip._internal.utils.typing with stdlib typing | Jon Dufresne | 2021-02-18 | 1 | -2/+2 |
|/ | | | | | | | | The stdlib module has been available since Python 3.5 and the TYPE_CHECKING constant has been available since 3.5.2. By using stdlib, this removes the need for pip to maintain its own Python 2 typing compatibility shim. | ||||
* | Remove unnecessary type override NamedTemporaryFileResult | Jon Dufresne | 2020-12-27 | 1 | -10/+4 |
| | | | | | | The object returned by NamedTemporaryFile delegates all functions calls to the underlying file so can avoid the type override by relying on IO methods. | ||||
* | Use unified OSError and its subclasses | Jon Dufresne | 2020-12-26 | 1 | -17/+11 |
| | | | | | | | | | | | | | | | Since Python 3.3, the following classes have merged into OSError. They remain as aliases for backward compatibility. - EnvironmentError - IOError - WindowsError https://docs.python.org/3/library/exceptions.html#OSError Python 3 also has subclasses of OSError to help identify more specific errors. For example, FileNotFoundError. This allows simplifying some except blocks. | ||||
* | Remove redundant Python 2.7 code | Hugo van Kemenade | 2020-12-22 | 1 | -13/+1 |
| | |||||
* | Fix src/pip with flake8-bugbear | Devesh Kumar Singh | 2020-06-10 | 1 | -2/+2 |
| | |||||
* | Merge pull request #8053 from gutsytechster/update_filesystem_comment | Pradyun Gedam | 2020-05-22 | 1 | -0/+2 |
|\ | |||||
| * | fix(_internal/utils/filesystem): Update comment for catched exception | gutsytechster | 2020-05-13 | 1 | -0/+2 |
| | | | | | | | | This fixes https://github.com/pypa/pip/issues/8047 | ||||
* | | Revert "remove _copy_source_tree and friends" | Pradyun Gedam | 2020-05-13 | 1 | -0/+32 |
|/ | | | | This reverts commit 873f1e6332aa827c886266c7d858067c12521e80. | ||||
* | Merge pull request #8025 from catPill/fix-windows-writable-test | Paul Moore | 2020-04-14 | 1 | -1/+4 |
|\ | | | | | Fix Windows folder writable detection | ||||
| * | Fix Windows folder writable detection | ghost | 2020-04-12 | 1 | -1/+4 |
| | | |||||
* | | Merge pull request #7882 from sbidoul/build-in-place-7555-sbi | Pradyun Gedam | 2020-04-13 | 1 | -32/+0 |
|\ \ | | | | | | | Build local directories in place | ||||
| * | | remove _copy_source_tree and friends | Stéphane Bidoul | 2020-04-12 | 1 | -32/+0 |
| |/ | |||||
* | | [command/cache, utils/filesystem] Use existing format_size; remove ↵ | Ellen Marie Dash | 2020-04-01 | 1 | -29/+5 |
| | | | | | | | | _friendly_size; rename friendly_*_size to format_*_size for consistency. | ||||
* | | [utils/filesystem] Reformat comment to keep lines <79 characters long. | Ellen Marie Dash | 2020-04-01 | 1 | -1/+5 |
| | | |||||
* | | [utils/filesystem] Convert `size` to float, for consistent behavior between ↵ | Ellen Marie Dash | 2020-04-01 | 1 | -0/+1 |
| | | | | | | | | Py2 and Py3. | ||||
* | | [commands/cache] Add file size information. | Ellen Marie Dash | 2020-04-01 | 1 | -1/+49 |
| | | |||||
* | | Add 'pip cache' command. | Ellen Marie Dash | 2020-04-01 | 1 | -1/+13 |
|/ | |||||
* | Use better temporary files mechanism | Nguyễn Gia Phong | 2020-04-01 | 1 | -5/+11 |
| | |||||
* | 👹 Feed the hobgoblins (delint). | Jason R. Coombs | 2020-03-06 | 1 | -1/+2 |
| | |||||
* | Convert the remaining '%' formatters to '.format'. Fixes #6973. | Jason R. Coombs | 2020-03-06 | 1 | -1/+1 |
| | |||||
* | Eagerly normalize the cache directory | Stéphane Bidoul (ACSONE) | 2020-01-08 | 1 | -0/+2 |
| | | | | Fixes #7541 | ||||
* | Fix mypy checks on Windows | Chris Hunt | 2019-12-29 | 1 | -1/+2 |
| | | | | | | Previously we were making unguarded calls to non-Windows-only APIs. Mypy only automatically excludes these from platform-specific checks when inside conditions. | ||||
* | Move utils.misc.cast to avoid circular import | Chris Hunt | 2019-11-04 | 1 | -2/+1 |
| | |||||
* | Handle nonexistant directory when checking for write access | Thomas Kluyver | 2019-10-09 | 1 | -0/+7 |
| | |||||
* | Fix exclusive-mode open for Python 2 | Thomas Kluyver | 2019-10-09 | 1 | -2/+2 |
| | |||||
* | Fix maximum line length | Thomas Kluyver | 2019-10-09 | 1 | -1/+3 |
| | |||||
* | Fix OSError catching for Python 2 | Thomas Kluyver | 2019-10-09 | 1 | -7/+10 |
| | |||||
* | Add type annotation comments | Thomas Kluyver | 2019-10-09 | 1 | -0/+2 |
| | |||||
* | Default to --user install in certain conditions | Thomas Kluyver | 2019-10-09 | 1 | -0/+40 |
| | |||||
* | Use os.replace in Python 3. | Chris Hunt | 2019-09-08 | 1 | -8/+15 |
| | |||||
* | Write to tempfile and move instead of locking selfcheck file. | Chris Hunt | 2019-09-08 | 1 | -0/+47 |
| | |||||
* | Ignore errors copying socket files for source installs (in Python 3). (#6844) | Christopher Hunt | 2019-08-21 | 1 | -0/+31 |
| | |||||
* | Added type hints | petr-tik | 2018-10-27 | 1 | -0/+2 |
| | | | | | | | | | | 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 | ||||
* | Update imports for the moved compat module | Pradyun Gedam | 2018-07-29 | 1 | -1/+1 |
| | |||||
* | Move all internal APIs to pip._internal | Donald Stufft | 2017-08-31 | 1 | -0/+28 |