I am uploading a NMU to fix this.
Please find the changes attached.
diff -Nru python-botocore-1.40.72+repack/debian/changelog 
python-botocore-1.40.72+repack/debian/changelog
--- python-botocore-1.40.72+repack/debian/changelog     2025-11-13 
09:18:24.000000000 +0100
+++ python-botocore-1.40.72+repack/debian/changelog     2026-10-26 
00:23:42.000000000 +0100
@@ -1,3 +1,13 @@
+python-botocore (1.40.72+repack-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload
+  * Start testing Python 3.15 (Closes: #1145153)
+
+  [ Nico Della Torre ]
+  * python-botocore: drop the python3-six dependency
+
+ -- Bastian Germann <[email protected]>  Mon, 26 Oct 2026 00:23:42 +0100
+
 python-botocore (1.40.72+repack-1) unstable; urgency=medium
 
   * New upstream version 1.40.72+repack
diff -Nru python-botocore-1.40.72+repack/debian/control 
python-botocore-1.40.72+repack/debian/control
--- python-botocore-1.40.72+repack/debian/control       2025-11-13 
09:18:24.000000000 +0100
+++ python-botocore-1.40.72+repack/debian/control       2026-10-26 
00:18:51.000000000 +0100
@@ -12,7 +12,6 @@
         , python3-jmespath <!nocheck>
         , python3-pytest <!nocheck>
         , python3-requests <!nocheck>
-        , python3-six <!nocheck>
        , dh-python
 Standards-Version: 4.6.2
 Homepage: https://github.com/boto/botocore
@@ -24,7 +23,6 @@
 Architecture: all
 Depends: ${python3:Depends},
  python3-requests,
- python3-six,
  python3-dateutil (>= 2.1),
  python3-jmespath (>= 0.7.1),
  ${misc:Depends}
diff -Nru 
python-botocore-1.40.72+repack/debian/patches/0001-Don-t-use-duplicated-modules.patch
 
python-botocore-1.40.72+repack/debian/patches/0001-Don-t-use-duplicated-modules.patch
--- 
python-botocore-1.40.72+repack/debian/patches/0001-Don-t-use-duplicated-modules.patch
       2025-11-13 09:18:24.000000000 +0100
+++ 
python-botocore-1.40.72+repack/debian/patches/0001-Don-t-use-duplicated-modules.patch
       2026-10-26 00:18:51.000000000 +0100
@@ -19,12 +19,15 @@
 
 --- a/botocore/compat.py
 +++ b/botocore/compat.py
-@@ -26,7 +26,7 @@
+@@ -26,7 +26,10 @@
  from collections.abc import MutableMapping
  from math import floor
  
 -from botocore.vendored import six
-+import six
++try:
++    import six
++except ImportError:
++    pass
  from botocore.exceptions import MD5UnavailableError
  from dateutil.tz import tzlocal
  from urllib3 import exceptions
diff -Nru 
python-botocore-1.40.72+repack/debian/patches/0002-pin-compresslevel-9.patch 
python-botocore-1.40.72+repack/debian/patches/0002-pin-compresslevel-9.patch
--- 
python-botocore-1.40.72+repack/debian/patches/0002-pin-compresslevel-9.patch    
    1970-01-01 01:00:00.000000000 +0100
+++ 
python-botocore-1.40.72+repack/debian/patches/0002-pin-compresslevel-9.patch    
    2026-10-26 00:19:14.000000000 +0100
@@ -0,0 +1,34 @@
+commit 2c238cfebcb8d9151df52d7715c5c229b10f42bf
+Author: jonathan343 <[email protected]>
+Date:   Thu Feb 12 19:55:58 2026 -0500
+
+    Start testing Python 3.15 Alpha (#3628)
+    
+    Add Python 3.15-dev to the GitHub Actions matrices for run-tests and 
run-crt-test to catch compatibility issues early without claiming official 
support.
+    
+    Set PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 only for the 3.15-dev matrix 
jobs to avoid prerelease install failures from PyO3-based dependencies.
+    
+    Update tests/unit/test_compress.py test helpers to pin compresslevel=9 
(with mtime fixed) so gzip byte-for-byte fixtures stay stable across Python 
versions, including 3.15.
+
+diff --git a/tests/unit/test_compress.py b/tests/unit/test_compress.py
+index c149d7c6b..8a4b9f626 100644
+--- a/tests/unit/test_compress.py
++++ b/tests/unit/test_compress.py
+@@ -107,11 +107,17 @@ def request_dict_non_seekable_bytes_stream():
+ 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)
+ 
+ 
diff -Nru python-botocore-1.40.72+repack/debian/patches/series 
python-botocore-1.40.72+repack/debian/patches/series
--- python-botocore-1.40.72+repack/debian/patches/series        2025-11-13 
09:18:24.000000000 +0100
+++ python-botocore-1.40.72+repack/debian/patches/series        2026-10-26 
00:19:41.000000000 +0100
@@ -1 +1,2 @@
 0001-Don-t-use-duplicated-modules.patch
+0002-pin-compresslevel-9.patch

Reply via email to