#32740: Running colorama.init() at import time causes deployment error
---------------------------------+------------------------------------
     Reporter:  Leon Matthews    |                    Owner:  nobody
         Type:  Bug              |                   Status:  new
    Component:  Core (Other)     |                  Version:  3.2
     Severity:  Release blocker  |               Resolution:
     Keywords:  apache mod_wsgi  |             Triage Stage:  Accepted
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+------------------------------------

Comment (by Leon Matthews):

 Replying to [comment:6 Carlton Gibson]:
 > Can you give the PR on https://github.com/django/django/pull/14386 a go.
 > That should at least enable you to get past this with
 `WSGIRestrictedStdout` still on.

 That seems to have done the trick!

 BTW, it's a moot point now but I found out why ''colorama'' was getting
 installed in the first place. It wasn't a 3rd-party dependency like I
 thought it was. It turns out that Ubuntu 20.04 LTS installs a bunch of
 [https://bugs.launchpad.net/ubuntu/+source/python-virtualenv/+bug/1904945
 libraries into every Python virtualenv by default].

 Thank you so much for your work on this Carlton, it's very much
 appreciated!

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32740#comment:8>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/071.db260ce9d17dd18343ce2d1586c1aeaf%40djangoproject.com.

Reply via email to