Bug 1830213 - supervisor doesn't support python 3.8 (cannot import name 'escape' from 'cgi' )
Summary: supervisor doesn't support python 3.8 (cannot import name 'escape' from 'cgi' )
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: supervisor
Version: 32
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Francisco Javier Tsao Santín
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-01 06:04 UTC by Dick Marinus
Modified: 2020-05-12 03:07 UTC (History)
6 users (show)

Fixed In Version: supervisor-4.2.0-2.fc32
Clone Of:
Environment:
Last Closed: 2020-05-12 03:07:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dick Marinus 2020-05-01 06:04:21 UTC
Description of problem:


Version-Release number of selected component (if applicable):
supervisor-4.0.4-4.fc32.noarch


How reproducible:
Always

Steps to Reproduce:
1. dnf install supervisor
2. /usr/bin/supervisord

Actual results:
Traceback (most recent call last):
  File "/usr/bin/supervisord", line 11, in <module>
    load_entry_point('supervisor==4.0.4', 'console_scripts', 'supervisord')()
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2852, in load_entry_point
    return ep.load()
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2443, in load
    return self.resolve()
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2449, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3.8/site-packages/supervisor/supervisord.py", line 40, in <module>
    from supervisor.options import ServerOptions
  File "/usr/lib/python3.8/site-packages/supervisor/options.py", line 54, in <module>
    from supervisor import xmlrpc
  File "/usr/lib/python3.8/site-packages/supervisor/xmlrpc.py", line 24, in <module>
    from supervisor.http import NOT_DONE_YET
  File "/usr/lib/python3.8/site-packages/supervisor/http.py", line 24, in <module>
    from supervisor.medusa import default_handler
  File "/usr/lib/python3.8/site-packages/supervisor/medusa/default_handler.py", line 20, in <module>
    from supervisor.medusa.util import html_repr
  File "/usr/lib/python3.8/site-packages/supervisor/medusa/util.py", line 1, in <module>
    from cgi import escape
ImportError: cannot import name 'escape' from 'cgi' (/usr/lib64/python3.8/cgi.py)

Expected results:
A started supervisord

Additional info:
This is fixed in the latest version of supervisor.

Comment 1 Fedora Update System 2020-05-01 11:36:24 UTC
FEDORA-2020-6cdd2f6d7a has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-6cdd2f6d7a

Comment 2 Fedora Update System 2020-05-02 05:54:14 UTC
FEDORA-2020-6cdd2f6d7a has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-6cdd2f6d7a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-6cdd2f6d7a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2020-05-12 03:07:30 UTC
FEDORA-2020-6cdd2f6d7a has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.