Your message dated Sat, 18 Mar 2023 08:15:57 +0000
with message-id <[email protected]>
and subject line unblock graphite-web
has caused the Debian Bug report #1033139,
regarding unblock: graphite-web/1.1.8-2
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 [email protected]
immediately.)


-- 
1033139: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033139
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: [email protected]
Usertags: unblock

Please unblock package graphite-web

[ Reason ]
Debian release -2 adds support for pyparsing 3, which is currenly in
Bookworm. Without this patch, graphite-web doesn't work.

[ Impact ]
Without this patch, graphite-web doesn't work in Bookworm.

[ 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 graphite-web/1.1.8-2
diff -Nru graphite-web-1.1.8/debian/changelog 
graphite-web-1.1.8/debian/changelog
--- graphite-web-1.1.8/debian/changelog 2023-02-07 15:42:01.000000000 +0100
+++ graphite-web-1.1.8/debian/changelog 2023-03-17 14:24:47.000000000 +0100
@@ -1,3 +1,9 @@
+graphite-web (1.1.8-2) unstable; urgency=medium
+
+  * Add fix-compat-with-pyparsing-3.patch.
+
+ -- Thomas Goirand <[email protected]>  Fri, 17 Mar 2023 14:24:47 +0100
+
 graphite-web (1.1.8-1.1) unstable; urgency=medium
 
   * NMU
diff -Nru graphite-web-1.1.8/debian/patches/fix-compat-with-pyparsing-3.patch 
graphite-web-1.1.8/debian/patches/fix-compat-with-pyparsing-3.patch
--- graphite-web-1.1.8/debian/patches/fix-compat-with-pyparsing-3.patch 
1970-01-01 01:00:00.000000000 +0100
+++ graphite-web-1.1.8/debian/patches/fix-compat-with-pyparsing-3.patch 
2023-03-17 14:24:47.000000000 +0100
@@ -0,0 +1,27 @@
+Description: Fix compat with pyparsing 3
+Author: Viacheslav Chimishuk
+Forwarded: no
+Last-Update: 2023-03-17
+
+--- graphite-web-1.1.8.orig/webapp/graphite/render/evaluator.py
++++ graphite-web-1.1.8/webapp/graphite/render/evaluator.py
+@@ -58,7 +58,7 @@ def evaluateTokens(requestContext, token
+     return evaluateTokens(requestContext, tokens.template, arglist)
+ 
+   if tokens.expression:
+-    if tokens.expression.pipedCalls:
++    if tokens.expression.pipedCalls.asList():
+       # when the expression has piped calls, we pop the right-most call and 
pass the remaining
+       # expression into it via pipedArg, to get the same result as a nested 
call
+       rightMost = tokens.expression.pipedCalls.pop()
+--- graphite-web-1.1.8.orig/webapp/graphite/render/grammar_unsafe.py
++++ graphite-web-1.1.8/webapp/graphite/render/grammar_unsafe.py
+@@ -80,7 +80,7 @@ kwargs = delimitedList(kwarg)
+ 
+ 
+ def setRaw(s, loc, toks):
+-    toks[0].raw = s[toks[0].start:toks[0].end]
++    toks[0]['raw'] = s[toks[0].start:toks[0].end]
+ 
+ 
+ call = Group(
diff -Nru graphite-web-1.1.8/debian/patches/series 
graphite-web-1.1.8/debian/patches/series
--- graphite-web-1.1.8/debian/patches/series    2023-02-07 15:42:01.000000000 
+0100
+++ graphite-web-1.1.8/debian/patches/series    2023-03-17 14:24:47.000000000 
+0100
@@ -1,3 +1,4 @@
 local_settings.patch
 settings_debian.patch
 CVE-2022-4728-CVE-2022-4729-CVE-2022-4730.patch
+fix-compat-with-pyparsing-3.patch

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

--- End Message ---

Reply via email to