Public bug reported:

graphite-web fails on focal with python3.8 (the default) due to the
following error:

File "/usr/lib/python3/dist-packages/graphite/render/urls.py", line 16, in 
<module>
  from . import views
File "/usr/lib/python3/dist-packages/graphite/render/views.py", line 23, in 
<module>
  from cgi import parse_qs
ImportError: cannot import name 'parse_qs' from 'cgi' 
(/usr/lib/python3.8/cgi.py)

The following upstream PR fixes the issue by using six.moves for this, and also 
makes 1 other change for Python3.8:
https://github.com/graphite-project/graphite-web/commit/117b04df26d83c57d3d5f25fb7457572d3fe90bd


This PR is in the upstream release 1.1.6 however Debian sid/experimental and 
thus focal is stuck on 1.1.4


The reproduction setup is using apache2 with libapache2-mod-wsgi-py3 - there 
appears to be no easy way to request mod-wsgi load python3.7 instead so this 
seems critical.

** Affects: graphite-web (Ubuntu)
     Importance: High
         Status: Confirmed

** Changed in: graphite-web (Ubuntu)
       Status: New => Confirmed

** Changed in: graphite-web (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1863697

Title:
  not compatible with python3.8 on focal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/graphite-web/+bug/1863697/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to