summaryrefslogtreecommitdiff
path: root/app-admin/awscli/files/awscli-2.38.5-py315.patch
blob: 891013de8a1632dba175fb3d0ef196d3bc39bf97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/tests/unit/botocore/test_compress.py
+++ b/tests/unit/botocore/test_compress.py
@@ -107,11 +107,17 @@ def request_dict_non_seekable_bytes_stre
 class StaticGzipFile(gzip.GzipFile):
     def __init__(self, *args, **kwargs):
         kwargs['mtime'] = 1
+        # Python 3.15 changed default gzip header output; pin level so these
+        # tests remain byte-stable across runtimes.
+        kwargs['compresslevel'] = 9
         super().__init__(*args, **kwargs)
 
 
 def static_compress(*args, **kwargs):
     kwargs['mtime'] = 1
+    # Python 3.15 changed default gzip header output; pin level so these
+    # tests remain byte-stable across runtimes.
+    kwargs['compresslevel'] = 9
     return gzip.compress(*args, **kwargs)