[Bug 5120] New: test-check-module-imports.t will fail if flamegraph is installed

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Sun Feb 28 12:05:34 UTC 2016


https://bz.mercurial-scm.org/show_bug.cgi?id=5120

            Bug ID: 5120
           Summary: test-check-module-imports.t will fail if flamegraph is
                    installed
           Product: Mercurial
           Version: default branch
          Hardware: All
                OS: Linux
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at selenic.com
          Reporter: arcppzju+hgbug at gmail.com
                CC: mercurial-devel at selenic.com

If flamegraph is installed system-wide, test-check-module-imports.t will fail
with following message:

   $ hg locate 'mercurial/**.py' 'hgext/**.py' | sed 's-\\-/-g' | python
"$import_checker" -
+  mercurial/dispatch.py:967: relative import of stdlib module
   Import cycle: hgext.largefiles.basestore -> hgext.largefiles.localstore ->
hgext.largefiles.basestore
   [1]

I can confirm "uninstall" flamegraph by the following command will make the
test pass:

  sudo mv /usr/lib/python2.7/site-packages/flamegraph{,_}

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list