Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

Is python 3.9.5 compatible with selenium image #413

Open
rajesh9383 opened this issue May 25, 2021 · 2 comments
Open

Is python 3.9.5 compatible with selenium image #413

rajesh9383 opened this issue May 25, 2021 · 2 comments

Comments

@rajesh9383
Copy link

When we use this image in our environment the DTR scan show security vulnerabilities in python layer and asking to update to 3.9.2 or higher CVE-2021-29921. I tried to upgrade the python to 3.9.5 and I am getting these errors. Is selenium compatible with python 3.9.5? Any help or suggestions are highly appreciated.

Traceback (most recent call last):
File "/usr/local/bin/supervisord", line 5, in
from supervisor.supervisord import main
File "/usr/local/lib/python3.9/site-packages/supervisor/supervisord.py", line 40, in
from supervisor.options import ServerOptions
File "/usr/local/lib/python3.9/site-packages/supervisor/options.py", line 54, in
from supervisor import xmlrpc
File "/usr/local/lib/python3.9/site-packages/supervisor/xmlrpc.py", line 25, in
from supervisor.http import NOT_DONE_YET
File "/usr/local/lib/python3.9/site-packages/supervisor/http.py", line 24, in
from supervisor.medusa import default_handler
File "/usr/local/lib/python3.9/site-packages/supervisor/medusa/default_handler.py", line 20, in
from supervisor.medusa.util import html_repr
File "/usr/local/lib/python3.9/site-packages/supervisor/medusa/util.py", line 1, in
from cgi import escape
ImportError: cannot import name 'escape' from 'cgi' (/usr/local/lib/python3.9/cgi.py)
Traceback (most recent call last):
File "/usr/local/bin/supervisord", line 5, in
from supervisor.supervisord import main
File "/usr/local/lib/python3.9/site-packages/supervisor/supervisord.py", line 40, in
from supervisor.options import ServerOptions
File "/usr/local/lib/python3.9/site-packages/supervisor/options.py", line 54, in
from supervisor import xmlrpc
File "/usr/local/lib/python3.9/site-packages/supervisor/xmlrpc.py", line 25, in
from supervisor.http import NOT_DONE_YET
File "/usr/local/lib/python3.9/site-packages/supervisor/http.py", line 24, in
from supervisor.medusa import default_handler
File "/usr/local/lib/python3.9/site-packages/supervisor/medusa/default_handler.py", line 20, in
from supervisor.medusa.util import html_repr
File "/usr/local/lib/python3.9/site-packages/supervisor/medusa/util.py", line 1, in
from cgi import escape
ImportError: cannot import name 'escape' from 'cgi' (/usr/local/lib/python3.9/cgi.py)

@rajesh9383
Copy link
Author

@elgalu I have upgraded python to 3.9.5 and supervisor version to 4.2. The tests are working fine but the live preview is not working. The containers shows disconnected .

@elgalu
Copy link
Owner

elgalu commented Jun 8, 2021

Hi! I'm no longer actively working on this project, also not using it. You'll need to fix it and send a PR, or find someone who has time to fix it:)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants