From 83353a79c9a2633f78d655e02ead976588bd541a Mon Sep 17 00:00:00 2001 From: Juniper Tyree <50025784+juntyr@users.noreply.github.com> Date: Fri, 25 Oct 2024 06:37:07 +0000 Subject: [PATCH] Fix package sorting in requirements.txt --- tools/requirements.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/requirements.py b/tools/requirements.py index fec55414..315d3f54 100644 --- a/tools/requirements.py +++ b/tools/requirements.py @@ -77,5 +77,5 @@ f.write(f"# pyodide == {pyodide}\n") f.write("\n") - for name, version in sorted(packages.items()): + for name, version in sorted(packages.items(), key=lambda kv: kv[0].lower()): f.write(f"{name} == {version}\n")