<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>179541</bug_id>
          
          <creation_ts>2017-11-10 12:23:41 -0800</creation_ts>
          <short_desc>[Windows] ActivePython cannot find logilab.astng module because of logilab.common in site-package</short_desc>
          <delta_ts>2023-02-08 22:14:31 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>179216</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Basuke Suzuki">basuke</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>basuke</cc>
    
    <cc>fujii</cc>
    
    <cc>lforschler</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1370444</commentid>
    <comment_count>0</comment_count>
    <who name="Basuke Suzuki">basuke</who>
    <bug_when>2017-11-10 12:23:41 -0800</bug_when>
    <thetext>ActivePython&apos;s installer installs logilab-common package into site-package, but not logilab-astng. Even if WebKitPy installs third party libraries by itself and sys.path is setup correctly, the packages in site-package have an priority to be loaded which prevent to import logilab.astng in the thirdpary/autoinstalled directory.

The workaround is to install logilab-astng manually globally, but that is not the right solution.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1370445</commentid>
    <comment_count>1</comment_count>
    <who name="Basuke Suzuki">basuke</who>
    <bug_when>2017-11-10 12:25:20 -0800</bug_when>
    <thetext>python&apos;s cli argument &quot;-S&quot; disables site-package which solve this issue, but need to figure out for the possibility of other new issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1370450</commentid>
    <comment_count>2</comment_count>
    <who name="Basuke Suzuki">basuke</who>
    <bug_when>2017-11-10 12:32:09 -0800</bug_when>
    <thetext>Actually &quot;-S&quot; doesn&apos;t work well because it prevents to load primitive modules.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1370454</commentid>
    <comment_count>3</comment_count>
    <who name="Basuke Suzuki">basuke</who>
    <bug_when>2017-11-10 12:36:44 -0800</bug_when>
    <thetext>I confirmed this issue also happens on Mac if logilab-common is installed globally.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>