This is a multi-part MIME message sent by reportbug.

--===============0522418674==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: graphite-web
Followup-For: Bug #962623

Dear Maintainer,

please upgrade to 1.1.7 available upstream and replace 
debian/patches/settings_debian.patch
with the appended version.

This makes 1.1.7 working in testing(bullseye).

Thanks a lot,
 greetings
   Hermann

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing'), (40, 'unstable')
Architecture: armhf (armv7l)

Kernel: Linux 5.7.8 (SMP w/2 CPU threads)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages graphite-web depends on:
ii  adduser                 3.118
ii  python3                 3.8.2-3
ii  python3-cairo           1.16.2-4
ii  python3-cairocffi       0.9.0-4
ii  python3-django          2:2.2.15-2
ii  python3-django-tagging  1:0.4.5-3
ii  python3-pyparsing       2.4.7-1
ii  python3-simplejson      3.17.0-1
ii  python3-six             1.15.0-1
ii  python3-tz              2020.1-2
ii  python3-urllib3         1.25.9-1
ii  python3-whisper         1.1.4-2

graphite-web recommends no packages.

Versions of packages graphite-web suggests:
pn  graphite-carbon          <none>
pn  libapache2-mod-wsgi-py3  <none>
pn  python3-ldap             <none>
pn  python3-memcache         <none>
pn  python3-mysqldb          <none>

-- Configuration Files:
/etc/graphite/local_settings.py changed [not included]

-- no debconf information

--===============0522418674==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="settings_debian.patch"

# HG changeset patch
# Parent  bc853f64d61b2a37516e59c5c8edff74c78feccd

diff --git a/webapp/graphite/settings.py b/webapp/graphite/settings.py
--- a/webapp/graphite/settings.py
+++ b/webapp/graphite/settings.py
@@ -20,6 +20,9 @@
 from warnings import warn
 from importlib import import_module
 
+# Debian add etc/graphite into path
+sys.path.append('/etc/graphite')
+
 from django import VERSION as DJANGO_VERSION
 try:
     from django.urls import reverse_lazy
@@ -221,7 +224,7 @@
 FLUSHRRDCACHED = ''
 
 ## Load our local_settings
-SETTINGS_MODULE = os.environ.get('GRAPHITE_SETTINGS_MODULE', 
'graphite.local_settings')
+SETTINGS_MODULE = os.environ.get('GRAPHITE_SETTINGS_MODULE', 'local_settings')
 try:
   globals().update(import_module(SETTINGS_MODULE).__dict__)
 except ImportError:

--===============0522418674==--

Reply via email to