[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1107611: marked as done (unblock: pdfarranger/1.11.1-3)



Your message dated Tue, 10 Jun 2025 17:43:08 +0000
with message-id <E1uP308-00DQQL-16@respighi.debian.org>
and subject line unblock pdfarranger
has caused the Debian Bug report #1107611,
regarding unblock: pdfarranger/1.11.1-3
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1107611: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1107611
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
X-Debbugs-Cc: pdfarranger@packages.debian.org
Control: affects -1 + src:pdfarranger
User: release.debian.org@packages.debian.org
Usertags: unblock

[ Reason ]
pdfarranger was rendered completely non-functional by python3.13 
3.13.4-1 in unstable, as described in https://bugs.debian.org/1107304.

[ Impact ]
If python3.13 3.13.4-1 doesn't migrate to testing, then it should be 
fine; but otherwise pdfarranger will fail to start.  I don't really want 
to bank on the former not happening.

[ Tests ]
https://github.com/pdfarranger/pdfarranger/issues/1238 has a couple of 
reports from people on various distributions that this patch fixes 
things with Python 3.13.4.  I tested it manually against the python3.13 
version in testing as well.

pdfarranger doesn't have autopkgtests, so this won't migrate on its own.

[ Risks ]
This is a leaf package.

The patch just moves a multiprocessing.freeze_support 
(https://docs.python.org/3/library/multiprocessing.html#multiprocessing.freeze_support) 
call to a place where it won't be used unless you're using a frozen 
executable.  The Debian package isn't a frozen executable, and 
multiprocessing.freeze_support is irrelevant if you aren't using a 
frozen executable, so that should be exactly what we want.

[ Checklist ]
  [x] all changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in testing

unblock pdfarranger/1.11.1-3

Thanks,

-- 
Colin Watson (he/him)                              [cjwatson@debian.org]
diff -Nru pdfarranger-1.11.1/debian/changelog pdfarranger-1.11.1/debian/changelog
--- pdfarranger-1.11.1/debian/changelog	2025-02-13 18:51:09.000000000 +0000
+++ pdfarranger-1.11.1/debian/changelog	2025-06-10 17:46:41.000000000 +0100
@@ -1,3 +1,10 @@
+pdfarranger (1.11.1-3) unstable; urgency=medium
+
+  * Team upload.
+  * Fix incompatibility with Python 3.13.4 (closes: #1107304).
+
+ -- Colin Watson <cjwatson@debian.org>  Tue, 10 Jun 2025 17:46:41 +0100
+
 pdfarranger (1.11.1-2) unstable; urgency=medium
 
   * Team upload.
diff -Nru pdfarranger-1.11.1/debian/patches/freeze-py3134.patch pdfarranger-1.11.1/debian/patches/freeze-py3134.patch
--- pdfarranger-1.11.1/debian/patches/freeze-py3134.patch	1970-01-01 01:00:00.000000000 +0100
+++ pdfarranger-1.11.1/debian/patches/freeze-py3134.patch	2025-06-10 17:46:41.000000000 +0100
@@ -0,0 +1,29 @@
+From: David Auer <dreua@posteo.de>
+Date: Tue, 10 Jun 2025 01:14:30 +0200
+Subject: Fix incompatibility with Python 3.13.4
+
+Origin: other, https://github.com/pdfarranger/pdfarranger/pull/1239
+Bug: https://github.com/pdfarranger/pdfarranger/issues/1238
+Bug-Debian: https://bugs.debian.org/1107304
+Last-Update: 2025-06-10
+---
+ pdfarranger/pdfarranger.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pdfarranger/pdfarranger.py b/pdfarranger/pdfarranger.py
+index 1f1c6a7..0e6f273 100644
+--- a/pdfarranger/pdfarranger.py
++++ b/pdfarranger/pdfarranger.py
+@@ -41,11 +41,11 @@ from urllib.request import url2pathname
+ from functools import lru_cache
+ from math import log
+ 
+-multiprocessing.freeze_support()  # Does nothing in Linux
+ 
+ sharedir = os.path.join(sys.prefix, 'share')
+ basedir = '.'
+ if getattr(sys, 'frozen', False):
++    multiprocessing.freeze_support()
+     basedir = os.path.dirname(sys.executable)
+     sharedir = os.path.join(basedir, 'share')
+ elif sys.argv[0]:
diff -Nru pdfarranger-1.11.1/debian/patches/series pdfarranger-1.11.1/debian/patches/series
--- pdfarranger-1.11.1/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ pdfarranger-1.11.1/debian/patches/series	2025-06-10 17:46:41.000000000 +0100
@@ -0,0 +1 @@
+freeze-py3134.patch

--- End Message ---
--- Begin Message ---
Unblocked pdfarranger.

--- End Message ---

Reply to: