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

Bug#1040939: marked as done (bookworm-pu: package rmlint/2.9.0-2.3+deb12u1)



Your message dated Sat, 07 Oct 2023 09:59:38 +0000
with message-id <E1qp45y-00A4AM-JE@coccia.debian.org>
and subject line Released with 12.2
has caused the Debian Bug report #1040939,
regarding bookworm-pu: package rmlint/2.9.0-2.3+deb12u1
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.)


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

[ Reason ]
This bug has been present for a long time but only just stumbled
upon.  rmlint-gui installs a Python package with an invalid version
number, causing other packages to mysteriously break when rmlint-gui
is installed.  Only spyder has been reported to be affected so far,
but I expect others to be equally impacted.

[ Impact ]
Some other unrelated packages will continue to break in strange ways.
It may well also cause headaches to maintainers of those packages.

[ Tests ]
No tests cover the affected code, unfortunately, to the best of my
knowledge.  However, the package rmlint-gui doesn't work anyway (I
had never used it, but just tried and it crashed immediately with a
SyntaxError).  Nevertheless, its mere presence on a Debian system will
cause the above error.  Upstream is now showing signs of life again,
though the package does not currently have an active Debian
maintainer, so it may be dropped from testing soon; I'll file an RC
bug against the current version in a moment.

[ Risks ]
I cannot see any risks to fixing one bug in a piece of broken
software.

[ 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 (old)stable
  [x] the issue is verified as fixed in unstable

[ Changes ]
Apply an upstream patch to fix the Python version number.

[ Other info ]
This is an NMU because the maintainer is MIA.
diff -Nru rmlint-2.9.0/debian/changelog rmlint-2.9.0/debian/changelog
--- rmlint-2.9.0/debian/changelog	2021-04-15 22:03:37.000000000 +0100
+++ rmlint-2.9.0/debian/changelog	2023-07-12 16:18:40.000000000 +0100
@@ -1,3 +1,11 @@
+rmlint (2.9.0-2.3+deb12u1) bookworm; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix error in other packages caused by invalid python package version
+    number (cherry-picking upstream patch; closes: #1040179)
+
+ -- Julian Gilbey <jdg@debian.org>  Wed, 12 Jul 2023 16:18:40 +0100
+
 rmlint (2.9.0-2.3) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru rmlint-2.9.0/debian/patches/python-version-number.patch rmlint-2.9.0/debian/patches/python-version-number.patch
--- rmlint-2.9.0/debian/patches/python-version-number.patch	1970-01-01 01:00:00.000000000 +0100
+++ rmlint-2.9.0/debian/patches/python-version-number.patch	2023-07-12 16:18:40.000000000 +0100
@@ -0,0 +1,17 @@
+From: Cebtenzzre
+Subject: gui: use PEP 440-compliant version number
+Origin: upstream, https://github.com/sahib/rmlint/commit/b5a6d9b359b1fc1ea75bdb6c1ae6cbdc0a304ecf
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1040179
+
+--- a/gui/setup.py
++++ b/gui/setup.py
+@@ -14,7 +14,8 @@
+     with open('../.version', 'r') as handle:
+         version_string = handle.read()
+ 
+-    return version_string.strip()
++    version_numbers, _ = version_string.split(' ', 1)
++    return version_numbers
+ 
+ 
+ def get_prefix():
diff -Nru rmlint-2.9.0/debian/patches/series rmlint-2.9.0/debian/patches/series
--- rmlint-2.9.0/debian/patches/series	2021-04-15 22:03:37.000000000 +0100
+++ rmlint-2.9.0/debian/patches/series	2023-07-12 16:18:40.000000000 +0100
@@ -8,3 +8,4 @@
 glib-2_62.patch
 0001-fix-link-error-on-compilers-with-fno-common-enabled.patch
 0010-apply-upstream-fix-for-data-loss-bug.patch
+python-version-number.patch

--- End Message ---
--- Begin Message ---
Version: 12.2

The upload requested in this bug has been released as part of 12.2.

--- End Message ---

Reply to: