From feca1060ac15eba9de963ae3dc40bebcefcab9b5 Mon Sep 17 00:00:00 2001 From: Danny McClanahan <1305167+cosmicexplorer@users.noreply.github.com> Date: Tue, 16 Jun 2020 06:37:42 -0700 Subject: [PATCH] rename news --- news/8448.feature | 1 + news/NNNN.feature | 1 - tests/unit/test_req.py | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 news/8448.feature delete mode 100644 news/NNNN.feature diff --git a/news/8448.feature b/news/8448.feature new file mode 100644 index 00000000000..5cc8b451007 --- /dev/null +++ b/news/8448.feature @@ -0,0 +1 @@ +Add a set of utilities in ``pip._internal.network.shallow`` for fetching metadata from remote wheel files without downloading the entire file. Link these utilities into the v2 resolver by adding a new ShallowWheelDistribution AbstractDistribution subclass. Expose this behavior via a --shallow-wheels command-line option to ``pip download``. This produces a marked performance improvement. diff --git a/news/NNNN.feature b/news/NNNN.feature deleted file mode 100644 index 902118743e0..00000000000 --- a/news/NNNN.feature +++ /dev/null @@ -1 +0,0 @@ -Add a set of utilities in `pip._internal.network.shallow` for fetching metadata from remote wheel files without downloading the entire file. Link these utilities into the v2 resolver by adding a new ShallowWheelDistribution AbstractDistribution subclass. Expose this behavior via a --shallow-wheels command-line option to `pip download`. This produces a marked performance improvement. diff --git a/tests/unit/test_req.py b/tests/unit/test_req.py index 2da0b62dbfc..fb324336fe0 100644 --- a/tests/unit/test_req.py +++ b/tests/unit/test_req.py @@ -89,6 +89,7 @@ def _basic_resolver(self, finder, require_hashes=False): finder=finder, require_hashes=require_hashes, use_user_site=False, + use_shallow_wheels=False, ) yield Resolver( preparer=preparer,