[Webkit-unassigned] [Bug 59997] New: webkitpy has weird layering problems now that break test-webkitpy on win32, cause other problems
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon May 2 18:21:12 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=59997
Summary: webkitpy has weird layering problems now that break
test-webkitpy on win32, cause other problems
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: dpranke at chromium.org
CC: eric at webkit.org, aroben at apple.com, tony at chromium.org,
abarth at webkit.org, ojan at chromium.org
I'm not sure if this was introduced by Eric's refactoring of scm and net/bugzilla, or has been broken longer, but
1) I can no longer run test-webkitpy inside a win32 cmd shell
2) I can no longer run specific subsets of the tests by hand, e.g., using 'test-webkitpy webkitpy.common.net.bugzilla.bugzilla_unittest'
3) I can't directly import common.net.bugzilla ; we seem to get circular references. The output is:
$ python
Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import webkitpy.common.net.bugzilla
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Volumes/Src/src/dev/src/third_party/WebKit/Tools/Scripts/webkitpy/common/net/bugzilla/__init__.py", line 5, in <module>
from .bugzilla import Bugzilla, parse_bug_id, parse_bug_id_from_changelog
File "/Volumes/Src/src/dev/src/third_party/WebKit/Tools/Scripts/webkitpy/common/net/bugzilla/bugzilla.py", line 46, in <module>
from webkitpy.common.net.credentials import Credentials
File "/Volumes/Src/src/dev/src/third_party/WebKit/Tools/Scripts/webkitpy/common/net/credentials.py", line 36, in <module>
from webkitpy.common.checkout.scm import Git
File "/src/dev/src/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/__init__.py", line 3, in <module>
from .checkout import Checkout
File "/src/dev/src/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/checkout.py", line 33, in <module>
from webkitpy.common.checkout.changelog import ChangeLog
File "/Volumes/Src/src/dev/src/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/changelog.py", line 39, in <module>
from webkitpy.common.net.bugzilla import parse_bug_id_from_changelog
ImportError: cannot import name parse_bug_id_from_changelog
>>>
We appear to have a circular import.
I'm not sure why test-webkitpy is working on non-win32 ports, but I'm guessing they happen to load the test files in a particular order that allows things to work.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list