Control: tags 1084703 + pending

Dear maintainer,

I've prepared an NMU for docker-compose (versioned as 1.29.2-6.4) and
uploaded it to unstable, since that seems to be in accordance with the
guidance in
https://www.debian.org/doc/manuals/developers-reference/pkgs.en.html#when-and-how-to-do-an-nmu.

Regards,

-- 
Colin Watson (he/him)                              [cjwat...@debian.org]
diff -Nru docker-compose-1.29.2/debian/changelog docker-compose-1.29.2/debian/changelog
--- docker-compose-1.29.2/debian/changelog	2024-08-09 09:28:27.000000000 +0100
+++ docker-compose-1.29.2/debian/changelog	2025-01-19 22:10:18.000000000 +0000
@@ -1,3 +1,13 @@
+docker-compose (1.29.2-6.4) unstable; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ Alexandre Detiste ]
+  * Replace pipes with shlex for Python 3.13 compatibility (closes:
+    #1084703).
+
+ -- Colin Watson <cjwat...@debian.org>  Sun, 19 Jan 2025 22:10:18 +0000
+
 docker-compose (1.29.2-6.3) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru docker-compose-1.29.2/debian/patches/remove-pipes.patch docker-compose-1.29.2/debian/patches/remove-pipes.patch
--- docker-compose-1.29.2/debian/patches/remove-pipes.patch	1970-01-01 01:00:00.000000000 +0100
+++ docker-compose-1.29.2/debian/patches/remove-pipes.patch	2025-01-19 22:10:14.000000000 +0000
@@ -0,0 +1,28 @@
+Description: Replace pipes with shlex for Python 3.13 compatibility
+Author: Alexandre Detiste <alexandre.deti...@gmail.com>
+Bug-Debian: https://bugs.debian.org/1084703
+Last-Update: 2025-01-19
+
+Index: b/compose/cli/main.py
+===================================================================
+--- a/compose/cli/main.py
++++ b/compose/cli/main.py
+@@ -2,8 +2,8 @@
+ import functools
+ import json
+ import logging
+-import pipes
+ import re
++import shlex
+ import subprocess
+ import sys
+ from shutil import which
+@@ -1577,7 +1577,7 @@
+         )
+ 
+     args = [executable_path] + tls_options + args
+-    log.debug(" ".join(map(pipes.quote, args)))
++    log.debug(" ".join(map(shlex.quote, args)))
+ 
+     filtered_env = {k: v for k, v in environment.items() if v is not None}
+ 
diff -Nru docker-compose-1.29.2/debian/patches/series docker-compose-1.29.2/debian/patches/series
--- docker-compose-1.29.2/debian/patches/series	2024-08-09 09:25:33.000000000 +0100
+++ docker-compose-1.29.2/debian/patches/series	2025-01-19 22:08:14.000000000 +0000
@@ -1,3 +1,4 @@
 remove_distutils.patch
 dockerpy-v7-compatibility.patch
 fix-test-failure-py-path.patch
+remove-pipes.patch

Reply via email to