Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Build local directories in-place with feature flag | David Hewitt | 2021-02-22 | 1 | -3/+31 |
| | |||||
* | Merge pull request #9415 from jdufresne/path_to_display | Pradyun Gedam | 2021-02-20 | 1 | -3/+3 |
|\ | | | | | Remove Python 2 compat shim path_to_display() | ||||
| * | Remove Python 2 compat shim path_to_display() | Jon Dufresne | 2021-02-19 | 1 | -3/+3 |
| | | | | | | | | | | | | Per the function's type signature, this accepted either a str or None. In both cases, the value was returned unaltered. Since dropping Python 2, it has been unnecessary. | ||||
* | | Remove typing.TYPE_CHECKING guards | Jon Dufresne | 2021-02-19 | 1 | -15/+8 |
|/ | | | | | | | | | | | 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. | ||||
* | Merge pull request #8896 | Tzu-ping Chung | 2021-02-18 | 1 | -6/+55 |
|\ | |||||
| * | fix lint | Danny McClanahan | 2020-10-09 | 1 | -3/+2 |
| | | |||||
| * | download requirements in the download command, outside of the resolver | Danny McClanahan | 2020-10-09 | 1 | -7/+57 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | create PartialRequirementDownloadCompleter, and use in wheel, install, and download add NEWS entry rename NEWS entry rename NEWS entry respond to review comments move the partial requirement download completion to the bottom of the prepare_more method | ||||
* | | Merge pull request #9274 from sbidoul/pip-wheel-must-keep-clone-sbi | Pradyun Gedam | 2021-01-17 | 1 | -1/+1 |
|\ \ | |||||
| * | | The preparer always clones VCS requirements | Stéphane Bidoul | 2020-12-27 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | Previously, in download mode, it did a vcs export, which did not include vcs information, leading to issues when the build backend required it. | ||||
* | | | Remove unused class CopytreeKwargs | Jon Dufresne | 2020-12-28 | 1 | -12/+1 |
| | | | | | | | | | | | | Unused since d509a27ad4e462181719f25c32ba64c2c34b68de. | ||||
* | | | 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 | -1/+1 |
| | | | |||||
* | | | Review updates | Hugo van Kemenade | 2020-12-22 | 1 | -5/+7 |
| | | | |||||
* | | | Remove redundant Python 2.7 code | Hugo van Kemenade | 2020-12-22 | 1 | -25/+11 |
|/ / | |||||
* | | Do not download editables while preparing requirements | Stéphane Bidoul | 2020-11-22 | 1 | -2/+1 |
|/ | | | | | | | Downloading is done at the end of the download command just like any other requirement. This is necessary to avoid archiving editable requirements to a zip file when running pip wheel. | ||||
* | New resolver: Avoid polluting dest dir | Nguyễn Gia Phong | 2020-10-07 | 1 | -13/+23 |
| | | | | | | | Previously, during dependency resolution for `pip download -d <dir>` or `pip wheel -w <dir>`, distributions downloaded are always saved to <dir>, even for those are only used in backtracking and are not part of the returned requirement set. | ||||
* | Merge usage of download_dir and wheel_download_dir | Nguyễn Gia Phong | 2020-10-07 | 1 | -33/+13 |
| | | | | | In every cases, at least one of them is None. By doing this, it is also possible to simplify wrapper codes around download_dir. | ||||
* | Remove download_dir exist check | Nguyễn Gia Phong | 2020-10-07 | 1 | -16/+2 |
| | | | | Both pip download and wheel call endure_dir on the directory. | ||||
* | Merge pull request #8804 from McSinyx/fast-deps-check-dl-dir | Pradyun Gedam | 2020-10-02 | 1 | -14/+20 |
|\ | |||||
| * | Comment and rework conditionals in download dir check | Nguyễn Gia Phong | 2020-10-01 | 1 | -5/+10 |
| | | | | | | | | Co-authored-by: Pradyun Gedam <3275593+pradyunsg@users.noreply.github.com> | ||||
| * | [fast-deps] Check download directory before making requests | Nguyễn Gia Phong | 2020-09-17 | 1 | -14/+15 |
| | | |||||
* | | Prepare isort for black | Pradyun Gedam | 2020-09-23 | 1 | -9/+2 |
| | | |||||
* | | Merge pull request #8861 from pradyunsg/nicer-output-try-1 | Pradyun Gedam | 2020-09-17 | 1 | -5/+17 |
|\ \ | |/ |/| | |||||
| * | Use a symmetric type and make mypy happy | Pradyun Gedam | 2020-09-10 | 1 | -1/+1 |
| | | |||||
| * | Only Print "Collecting ..." when the requirement changes | Pradyun Gedam | 2020-09-10 | 1 | -1/+6 |
| | | |||||
| * | Improve how cached wheels are presented | Pradyun Gedam | 2020-09-10 | 1 | -1/+5 |
| | | | | | | | | This is specifically for the case of look ups done in the new resolver. | ||||
| * | Factor out logger.into into a single call | Pradyun Gedam | 2020-09-10 | 1 | -4/+7 |
| | | | | | | | | This makes it easier to conditionally print this information. | ||||
* | | Dedent late download logs | Nguyễn Gia Phong | 2020-09-13 | 1 | -48/+45 |
|/ | |||||
* | Give batch downloader a separate class | Nguyễn Gia Phong | 2020-08-12 | 1 | -9/+10 |
| | |||||
* | Check download folder for files to be downloaded in batch | Nguyễn Gia Phong | 2020-08-12 | 1 | -13/+26 |
| | |||||
* | Check hashes of memoized downloads | Nguyễn Gia Phong | 2020-08-11 | 1 | -3/+7 |
| | |||||
* | Clean up code style and internal interface | Nguyễn Gia Phong | 2020-08-11 | 1 | -5/+7 |
| | | | | | Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com> Co-Authored-By: Chris Hunt <chrahunt@gmail.com> | ||||
* | Add memoization mechanism for file download | Nguyễn Gia Phong | 2020-08-11 | 1 | -17/+26 |
| | | | | This is intentionally dependent from caching, which relies on cache dir. | ||||
* | Make Downloader perform the download | Nguyễn Gia Phong | 2020-08-11 | 1 | -27/+4 |
| | |||||
* | Revise method fetching metadata using lazy wheels | Nguyễn Gia Phong | 2020-08-06 | 1 | -3/+3 |
| | | | | | | | | * Rename it to fit the fact that it no longer handle fetching _not_ using lazy wheels * Use self as the first parameter * Unnest the checks with additional logs showing reason when lazy wheel is not used | ||||
* | Define RequirementPreparer._session | Nguyễn Gia Phong | 2020-08-06 | 1 | -16/+29 |
| | |||||
* | Prepare lazy wheels more so they are downloaded | Chris Hunt | 2020-08-02 | 1 | -0/+14 |
| | | | | | | This keeps all knowledge about preparation and types of requirements in `RequirementPreparer`, so there's one place to look when we're ready to start breaking it apart later. | ||||
* | Pass link to _fetch_metadata instead of req | Chris Hunt | 2020-08-02 | 1 | -5/+3 |
| | | | | Removes dependence on `InstallRequirement`. | ||||
* | Log in one common location | Chris Hunt | 2020-08-02 | 1 | -4/+3 |
| | | | | | Reduces dependence on `InstallRequirement` being passed to `_fetch_metadata`. | ||||
* | Move _fetch_metadata to RequirementPreparer | Chris Hunt | 2020-08-02 | 1 | -0/+32 |
| | | | | | | The fact that all of this functionality can be put in terms of the `RequirementPreparer` indicates that, at least at this point, this is the cleanest place to put this functionality. | ||||
* | Propagate lazy_wheel option through RequirementPreparer | Chris Hunt | 2020-08-02 | 1 | -0/+4 |
| | | | | Reduces dependence on Candidate (and Resolver (and Factory)). | ||||
* | Abstract away AbstractDistribution in higher-level resolver code | Nguyễn Gia Phong | 2020-07-26 | 1 | -19/+16 |
| | |||||
* | feat(pip/_internal/*): Use custom raise_for_status method | gutsytechster | 2020-07-08 | 1 | -2/+2 |
| | |||||
* | Inline constant variable | Chris Hunt | 2020-07-06 | 1 | -3/+2 |
| | |||||
* | Don't unpack wheels during preparation | Chris Hunt | 2020-07-06 | 1 | -12/+8 |
| | | | | | | | | For some time we have not needed to pre-emptively unpack wheels as part of metadata processing, but kept the existing logic because the behavior would start to diverge more for different package types. In this case, though, removing the special cases for wheels makes this logic a bit simpler, so it is worth doing. | ||||
* | Apply suggestions from code review | Pradyun Gedam | 2020-06-17 | 1 | -2/+4 |
| | |||||
* | Make linked req hashes an independant method | Nguyễn Gia Phong | 2020-06-17 | 1 | -44/+37 |
| | |||||
* | Move req.source_dir ensure out | Nguyễn Gia Phong | 2020-06-17 | 1 | -35/+37 |
| | |||||
* | Move link log from prepare_linked_requirement | Nguyễn Gia Phong | 2020-06-17 | 1 | -17/+14 |
| |