Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions awscrt/s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,18 @@ class S3ChecksumAlgorithm(IntEnum):
CRC64NVME = 5
"""CRC64NVME"""

SHA512 = 6,
"""SHA512"""

XXHASH64 = 7,
"""XXHASH64"""

XXHASH3 = 8,
"""XXHASH3"""

XXHASH128 = 9,
"""XXHASH128"""


class S3ChecksumLocation(IntEnum):
"""Where to put the checksum."""
Expand Down
2 changes: 1 addition & 1 deletion crt/s2n
Submodule s2n updated from e82d62 to a71ea1
4 changes: 4 additions & 0 deletions setup.py
Comment thread
DmitriyMusatkin marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@ def awscrt_ext():
extra_objects = []
define_macros = []
py_limited_api = False
has_gil = True

libraries = [x.libname for x in AWS_LIBS]

Expand Down Expand Up @@ -537,6 +538,9 @@ def awscrt_ext():
else:
extra_link_args += ['-Wl,--fatal-warnings']

if hasattr(sys, '_is_gil_enabled'):
has_gil = sys._is_gil_enabled()

# prefer building with stable ABI, so a wheel can work with multiple major versions
if FREE_THREADED_BUILD and sys.version_info[:2] <= (3, 14):
# 3.14 free threaded (aka no gil) does not support limited api.
Expand Down
Loading