From cfaa08efeddf59dda7e46a79f11779bebdaf8cd2 Mon Sep 17 00:00:00 2001 From: Pradyun Gedam Date: Thu, 21 May 2020 19:32:28 +0530 Subject: [PATCH] Remove a sorted call Otherwise, we'd try sorting this list twice. --- noxfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index dbb9c3029..1746bb699 100644 --- a/noxfile.py +++ b/noxfile.py @@ -274,7 +274,7 @@ def upload_release(session): f"Remove dist/ and run 'nox -s build-release -- {version}'" ) # Sanity check: Make sure the files are correctly named. - distfile_names = sorted(map(os.path.basename, distribution_files)) + distfile_names = map(os.path.basename, distribution_files) expected_distribution_files = [ f"pip-{version}-py2.py3-none-any.whl", f"pip-{version}.tar.gz",