Hi Carlos,

A quick update: I have uploaded 2.9.0-2.4 to DELAYED/7-days.  The
debdiff between -2.3 and -2.4 is attached.

Best wishes,

   Julian

On Tue, Jul 04, 2023 at 04:47:29PM +0100, Julian Gilbey wrote:
> Hi Carlos,
> 
> This package has a grave bug against it as it breaks other packages.
> I'll do an NMU in the next couple of days (uploading to the delayed
> queue) unless you would like to do it yourself.
> 
> Please do let me know!
> 
> Best wishes,
> 
>    Julian
> 
> On Tue, Jul 04, 2023 at 10:23:09AM +0100, Julian Gilbey wrote:
> > reassign 1040179 rmlint-gui
> > severity 1040179 grave
> > retitle 1040179 rmlint-gui: invalid Python version number breaks other 
> > packages
> > thanks
> > 
> > On Mon, Jul 03, 2023 at 08:03:58PM -0400, mhaag85893 wrote:
> > > Hi, Julian
> > > 
> > > That worked! Here's the output:
> > 
> > Hi Mike,
> > 
> > Fantastic, thanks!
> > 
> > >     Python 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] on linux
> > >     Type "help", "copyright", "credits" or "license()" for more 
> > > information.
> > > 
> > >     ============== RESTART: /home/mike/Downloads/check_version_info.py
> > >     =============
> > >     Info file 
> > > /usr/lib/python3/dist-packages/Shredder-2.9.0.Odd.Olm.egg-info has
> > >     invalid versionĀ  2.9.0 Odd Olm
> > > 
> > > I apt purged rmlint and rmlint-gui followed by an apt autoremove. Then,
> > > restarted Spyder and the error message did not appear.
> > > 
> > > To verify, I reinstalled rmlint and rmlint-gui. Then, restarted Spyder 
> > > which
> > > reproduced the error message.
> > > [...]
> > 
> > OK, so you've located the culprit - thank you for doing this.
> > 
> > > If you want me to try something else, let me know, but it sure looks like 
> > > the
> > > 1040179 bug report can be closed.
> > 
> > No, I won't close it, as it is a major bug in the rmlint-gui package.
> > I'll reassign it there.  Since rmlint has no active maintainer, I'll
> > deal with this myself in the next couple of days.
> > 
> > Best wishes,
> > 
> >    Julian
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-05 09:31:46.000000000 +0100
@@ -1,3 +1,11 @@
+rmlint (2.9.0-2.4) unstable; 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 <j...@debian.org>  Wed, 05 Jul 2023 09:31:46 +0100
+
 rmlint (2.9.0-2.3) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru rmlint-2.9.0/debian/patches/0001-fix-link-error-on-compilers-with-fno-common-enabled.patch rmlint-2.9.0/debian/patches/0001-fix-link-error-on-compilers-with-fno-common-enabled.patch
--- rmlint-2.9.0/debian/patches/0001-fix-link-error-on-compilers-with-fno-common-enabled.patch	2020-12-01 18:56:33.000000000 +0000
+++ rmlint-2.9.0/debian/patches/0001-fix-link-error-on-compilers-with-fno-common-enabled.patch	2023-07-05 09:31:46.000000000 +0100
@@ -10,11 +10,9 @@
  lib/config.h.in | 62 ++++++++++++++++++++++++++-----------------------
  1 file changed, 33 insertions(+), 29 deletions(-)
 
-diff --git a/lib/config.h.in b/lib/config.h.in
-index 44d7e5d9..d9fdeabd 100644
 --- a/lib/config.h.in
 +++ b/lib/config.h.in
-@@ -121,9 +121,13 @@
+@@ -123,9 +123,13 @@
  #  define N_(String) gettext_noop (String)
  #endif
  
@@ -30,7 +28,7 @@
  
  typedef guint64 RmOff;
  
-@@ -150,33 +154,33 @@ typedef guint64 RmOff;
+@@ -152,33 +156,33 @@
  
  ///////////////
  
@@ -91,6 +89,3 @@
  
  /* Domain for reporting errors. Needed by GOptions */
  #define RM_ERROR_QUARK (g_quark_from_static_string("rmlint"))
--- 
-2.20.1
-
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-05 09:31:46.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-05 09:31:46.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

Reply via email to