From 47055f7c5c0a93ddddfa5030a73b22a5d42b9c10 Mon Sep 17 00:00:00 2001 From: Alexei Mochalov Date: Fri, 23 Feb 2024 10:34:35 +0100 Subject: [PATCH] shared: Tweak checksum types (#3888) --- py-shared/CHANGELOG.md | 1 + py-shared/src/quilt_shared/pkgpush.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/py-shared/CHANGELOG.md b/py-shared/CHANGELOG.md index 2a97d0157a0..52888c50a6d 100644 --- a/py-shared/CHANGELOG.md +++ b/py-shared/CHANGELOG.md @@ -16,4 +16,5 @@ where verb is one of ## Changes +- [Changed] Tweak checksum types ([#3888](https://github.com/quiltdata/quilt/pull/3888)) - [Added] Bootstrap `quilt_shared` package ([#3849](https://github.com/quiltdata/quilt/pull/3849)) diff --git a/py-shared/src/quilt_shared/pkgpush.py b/py-shared/src/quilt_shared/pkgpush.py index 4abf3a082d6..902ea3a3ba5 100644 --- a/py-shared/src/quilt_shared/pkgpush.py +++ b/py-shared/src/quilt_shared/pkgpush.py @@ -72,8 +72,8 @@ class S3CopyLambdaParams(pydantic.BaseModel): class ChecksumType(str, enum.Enum): - MP = "QuiltMultipartSHA256" - SP = "SHA256" + SHA256 = "SHA256" # legacy + SHA256_CHUNKED = "sha2-256-chunked" class Checksum(pydantic.BaseModel):