<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Update twisted version in webkitpy.thirdparty.autoinstalled module."
   href="https://bugs.webkit.org/show_bug.cgi?id=154667#c21">Comment # 21</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Update twisted version in webkitpy.thirdparty.autoinstalled module."
   href="https://bugs.webkit.org/show_bug.cgi?id=154667">bug 154667</a>
              from <span class="vcard"><a class="email" href="mailto:dewei_zhu&#64;apple.com" title="dewei_zhu&#64;apple.com">dewei_zhu&#64;apple.com</a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=154667#c19">comment #19</a>)
<span class="quote">&gt; I have tested this. It works fine on the GTK+ platform.
&gt; 
&gt; But I see that it won't auto-install twisted 15.0 or use it if the system
&gt; already has python-twisted installed.
&gt; 
&gt; If you want to ensure this script always uses twisted 15.0 you can try
&gt; something like:
&gt; 
&gt; 
&gt; ---
&gt; a/Tools/Scripts/webkitpy/benchmark_runner/http_server_driver/http_server/
&gt; twisted_http_server.py
&gt; +++
&gt; b/Tools/Scripts/webkitpy/benchmark_runner/http_server_driver/http_server/
&gt; twisted_http_server.py
&gt; &#64;&#64; -5,11 +5,8 &#64;&#64; import logging
&gt;  import os
&gt;  import sys
&gt;  
&gt; -try:
&gt; -    import twisted
&gt; -except ImportError:
&gt; -   
&gt; sys.path.append(os.path.abspath(os.path.join(os.path.dirname(os.path.
&gt; abspath(__file__)), '../../../..')))
&gt; -    from webkitpy.thirdparty.autoinstalled.twisted import twisted
&gt; +sys.path.append(os.path.abspath(os.path.join(os.path.dirname(os.path.
&gt; abspath(__file__)), '../../../..')))
&gt; +from webkitpy.thirdparty.autoinstalled.twisted_15_5_0 import twisted
&gt;  
&gt;  from twisted.web import static, server
&gt;  from twisted.web.resource import Resource</span >
That sounds good to me. I think it's even better to check the version of twisted, if it is a version earlier than 15.5.0(this version is working for sure), we should always use autoinstalled module in webkitpy.thirdparty.
<span class="quote">&gt; 
&gt; 
&gt; 
&gt; 
&gt; By the way.. what is the context for requiring twisted 15.0 here?
&gt; Is it necessary for some run-benchmark test?</span ></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>