Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove now unused FormatControl in WheelCache | Stéphane Bidoul | 2023-03-29 | 1 | -31/+10 |
| | |||||
* | Deprecate --no-binary disabling the wheel cache | Stéphane Bidoul | 2022-09-17 | 1 | -1/+5 |
| | |||||
* | Enforce utf-8 encoding for origin.json in wheel cache | Stéphane Bidoul | 2022-06-11 | 1 | -1/+1 |
| | |||||
* | Record origin url in wheel cache | Stéphane Bidoul | 2022-05-22 | 1 | -0/+25 |
| | |||||
* | Reformat the codebase, with black | Pradyun Gedam | 2021-08-20 | 1 | -26/+16 |
| | |||||
* | convert type comments | harupy | 2021-07-24 | 1 | -44/+31 |
| | |||||
* | Remove typing.TYPE_CHECKING guards | Jon Dufresne | 2021-02-19 | 1 | -9/+3 |
| | | | | | | | | | | | 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 support for legacy cache entries | Stéphane Bidoul | 2021-01-10 | 1 | -47/+0 |
| | |||||
* | Remove object from class definitions | Jon Dufresne | 2020-12-25 | 1 | -2/+2 |
| | | | | | Unnecessary since dropping Python 2 support. In Python 3, all classes are new style classes. | ||||
* | Use short Python3 super() syntax | Jon Dufresne | 2020-12-24 | 1 | -10/+4 |
| | |||||
* | Update linter: isort | Pradyun Gedam | 2020-09-23 | 1 | -1/+1 |
| | |||||
* | Clean up code style changes | Pradyun Gedam | 2020-07-17 | 1 | -1/+2 |
| | | | | | | Toward minimizing style changes in the overall PR diff, or toward consistency with the future use of black (in cases where I wasn't sure of a good way to minimize the diff). | ||||
* | Enable flake8-logging-format | Nguyễn Gia Phong | 2020-07-17 | 1 | -5/+3 |
| | |||||
* | Add type annotations to pip._internal.cache | Devesh Kumar Singh | 2020-07-09 | 1 | -5/+3 |
| | |||||
* | Add WheelCache method to inform which cache was used | Stéphane Bidoul | 2020-04-01 | 1 | -2/+32 |
| | | | | Return whether the link was found in the persistent or ephemeral cache. | ||||
* | Remove unused WheelCache.cleanup | Chris Hunt | 2020-02-04 | 1 | -4/+0 |
| | |||||
* | Remove no-op calls to WheelCache.cleanup | Chris Hunt | 2020-02-04 | 1 | -9/+0 |
| | |||||
* | Globally manage EphemWheelCache temp directory | Chris Hunt | 2020-02-04 | 1 | -2/+3 |
| | |||||
* | Make ephem-wheel-cache tempdir name globally accessible | Chris Hunt | 2020-02-04 | 1 | -2/+4 |
| | |||||
* | Remove redundant expanduser in WheelCache | Stéphane Bidoul (ACSONE) | 2020-01-08 | 1 | -2/+2 |
| | | | | | | Path normalization, which includes expanduser is now done eagerly. Assert this when initializing WheelCache. | ||||
* | Use packaging.tags.Tag in place of Tuple | Chris Hunt | 2020-01-07 | 1 | -4/+6 |
| | | | | | | | | | This is the standard type used by packaging.tags. Making this change throughout the code lets us start switching over to using its tag-generating functions in get_supported(). We also get rid of a test, since it was superseded by `__str__` in packaging.tags.Tag. | ||||
* | Replace get_abbr_impl with interpreter_name | Chris Hunt | 2020-01-06 | 1 | -2/+1 |
| | | | | | | | | This reduces the amount of code we have to manage. interpreter_name is calculated differently, defaulting to the long name of the interpreter rather than "cp", but that is more conformant. | ||||
* | Replace get_impl_ver with interpreter_version | Chris Hunt | 2020-01-06 | 1 | -1/+2 |
| | |||||
* | Simplify handling of cache candidate directories | Stéphane Bidoul (ACSONE) | 2019-12-16 | 1 | -7/+6 |
| | |||||
* | Fix WheelCache.get in presence of legacy cache keys | Stéphane Bidoul (ACSONE) | 2019-12-15 | 1 | -12/+15 |
| | |||||
* | Use interpreter_name and _version in cache keys | Stéphane Bidoul (ACSONE) | 2019-12-02 | 1 | -7/+3 |
| | |||||
* | Better support for unicode cache entries | Stéphane Bidoul (ACSONE) | 2019-12-02 | 1 | -8/+4 |
| | |||||
* | Use legacy cache entries when they exist. | Stéphane Bidoul (ACSONE) | 2019-12-02 | 1 | -8/+50 |
| | | | | | | | | | Pip 20 changes the cache key format to include the interpreter name. To avoid invalidating all existing caches, we continue using existing cache entries that were computed with the legacy algorithm. This should not regress issue #3025 because wheel cached in such legacy entries should have the python implementation tag set. | ||||
* | New cache key generation algorithm | Stéphane Bidoul (ACSONE) | 2019-12-02 | 1 | -10/+18 |
| | | | | | | Instead of building an URL-ish string that could be complex to describe and reproduce, generate a dictionary that is hashed with a simple algorithm. | ||||
* | Better workaround for cache poisoning #3025 | Stéphane Bidoul (ACSONE) | 2019-12-02 | 1 | -1/+15 |
| | | | | | | | | | | Make sure ``pip wheel`` never outputs pure python wheels with a python implementation tag. Better fix/workaround for `#3025 <https://github.com/pypa/pip/issues/3025>`_ by using a per-implementation wheel cache instead of caching pure python wheels with an implementation tag in their name. Fixes #7296 | ||||
* | Move wheel.Wheel to models.wheel.Wheel | Chris Hunt | 2019-12-02 | 1 | -1/+2 |
| | | | | | | This aligns more closely with how the class is used and makes it easier to move the rest of the wheel module to a dedicated module for installation. | ||||
* | Debug logging in case of unexpected wheel name in cache | Stéphane Bidoul (ACSONE) | 2019-11-13 | 1 | -0/+6 |
| | |||||
* | Avoid double package name canonicalization | Stéphane Bidoul (ACSONE) | 2019-11-13 | 1 | -6/+5 |
| | |||||
* | Simplify SimpleWheelCache.get in case package_name is falsy | Stéphane Bidoul (ACSONE) | 2019-11-13 | 1 | -4/+4 |
| | |||||
* | Include subdirectory URL fragment in the cache key | Stéphane Bidoul (ACSONE) | 2019-11-12 | 1 | -0/+10 |
| | |||||
* | Import FormatControl more directly | Pradyun Gedam | 2019-10-19 | 1 | -1/+1 |
| | |||||
* | Move path_to_url() to utils/urls.py (#7075) | Pradyun Gedam | 2019-09-25 | 1 | -1/+1 |
|\ | |||||
| * | Move path_to_url() to utils/urls.py. | Chris Jerdonek | 2019-09-24 | 1 | -1/+1 |
| | | |||||
* | | Unconditionally create TempDirectory.path | Chris Hunt | 2019-09-22 | 1 | -1/+0 |
|/ | |||||
* | Make tags required in Wheel.support_index_min() and supported(). | Chris Jerdonek | 2019-08-10 | 1 | -12/+39 |
| | |||||
* | Use mypy's inline configuration syntax for opt-outs | Pradyun Gedam | 2019-07-30 | 1 | -0/+3 |
| | |||||
* | Import path_to_url() from utils/misc.py instead of download.py. | Chris Jerdonek | 2019-06-03 | 1 | -1/+1 |
| | |||||
* | remove #noqa: F401 | Maxim Kurnikov | 2019-02-22 | 1 | -2/+2 |
| | |||||
* | Add typing to cache.py | cytolentino | 2018-10-30 | 1 | -0/+22 |
| | |||||
* | update parametrize test and comment | Nitesh Sharma | 2018-09-04 | 1 | -1/+1 |
| | |||||
* | refactor format control and rename test functions | Nitesh Sharma | 2018-08-28 | 1 | -1/+1 |
| | |||||
* | Refactoring: Move FormatControl to separate class | Nitesh Sharma | 2018-08-28 | 1 | -4/+3 |
| | | | | | | | This moves FormatControl named tuple and it's all related methods to separate class. Closes https://github.com/pypa/pip/issues/5592 | ||||
* | Update imports for the moved compat module | Pradyun Gedam | 2018-07-29 | 1 | -1/+1 |
| | |||||
* | Move Link to models | Pradyun Gedam | 2018-06-24 | 1 | -1/+2 |
| |