From 1fadd2f658c508972fd36eea6976066482db7a9e Mon Sep 17 00:00:00 2001 From: Nicola Soranzo Date: Sun, 3 Nov 2024 18:04:54 +0000 Subject: [PATCH] Do not recalculate dependencies when exporting Saves a few milliseconds :D --- lib/galaxy/dependencies/dev-requirements.txt | 2 +- lib/galaxy/dependencies/pinned-requirements.txt | 2 +- lib/galaxy/dependencies/pinned-typecheck-requirements.txt | 2 +- lib/galaxy/dependencies/update.sh | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/galaxy/dependencies/dev-requirements.txt b/lib/galaxy/dependencies/dev-requirements.txt index a0b0f68801f0..685b1149cd08 100644 --- a/lib/galaxy/dependencies/dev-requirements.txt +++ b/lib/galaxy/dependencies/dev-requirements.txt @@ -1,5 +1,5 @@ # This file was autogenerated by uv via the following command: -# uv export --no-hashes --only-group=dev +# uv export --frozen --no-hashes --only-group=dev aiohappyeyeballs==2.4.3 aiohttp==3.10.10 aiosignal==1.3.1 diff --git a/lib/galaxy/dependencies/pinned-requirements.txt b/lib/galaxy/dependencies/pinned-requirements.txt index 6227984653a6..6f4c5cc99496 100644 --- a/lib/galaxy/dependencies/pinned-requirements.txt +++ b/lib/galaxy/dependencies/pinned-requirements.txt @@ -1,5 +1,5 @@ # This file was autogenerated by uv via the following command: -# uv export --no-hashes --no-dev +# uv export --frozen --no-hashes --no-dev a2wsgi==1.10.7 adal==1.2.7 aiobotocore==2.15.2 diff --git a/lib/galaxy/dependencies/pinned-typecheck-requirements.txt b/lib/galaxy/dependencies/pinned-typecheck-requirements.txt index a835c64276fa..316819f75cd7 100644 --- a/lib/galaxy/dependencies/pinned-typecheck-requirements.txt +++ b/lib/galaxy/dependencies/pinned-typecheck-requirements.txt @@ -1,5 +1,5 @@ # This file was autogenerated by uv via the following command: -# uv export --no-hashes --only-group=typecheck +# uv export --frozen --no-hashes --only-group=typecheck annotated-types==0.7.0 boto3-stubs==1.35.49 botocore-stubs==1.35.49 diff --git a/lib/galaxy/dependencies/update.sh b/lib/galaxy/dependencies/update.sh index 2d26f6b40bef..12078ddbed3d 100755 --- a/lib/galaxy/dependencies/update.sh +++ b/lib/galaxy/dependencies/update.sh @@ -42,6 +42,6 @@ else fi # Update pinned requirements files. -${uv} export --no-hashes --no-dev > "$this_directory/pinned-requirements.txt" -${uv} export --no-hashes --only-group=dev > "$this_directory/dev-requirements.txt" -${uv} export --no-hashes --only-group=typecheck > "$this_directory/pinned-typecheck-requirements.txt" +${uv} export --frozen --no-hashes --no-dev > "$this_directory/pinned-requirements.txt" +${uv} export --frozen --no-hashes --only-group=dev > "$this_directory/dev-requirements.txt" +${uv} export --frozen --no-hashes --only-group=typecheck > "$this_directory/pinned-typecheck-requirements.txt"