Merge lp:~bac/launchpad/import_error into lp:launchpad
Proposed by
Brad Crittenden
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp:~bac/launchpad/import_error |
Merge into: | lp:launchpad |
Diff against target: | None lines |
To merge this branch: | bzr merge lp:~bac/launchpad/import_error |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Henning Eggers (community) | code | Approve | |
Review via email: mp+12115@code.launchpad.net |
To post a comment you must log in.
= Summary =
The addition of a new test (registry/ browser/ tests/test_ person_ view.py) that does an browser. person has caused a circular import error that only
import of lp.registry.
shows up if you try to run just the registry tests using:
bin/test -vvm lp.registry.
The module that triggers the import error is lp.soyuz. browser. archive. ArchiveAdminVie w.
== Proposed fix ==
The "fix" is to move the import of lp.soyuz. browser. archive in person to be at the
single point of use. This fix may be a mask instead just covering up the real problem.
== Pre-implementation notes ==
Chats with Salgado.
== Implementation details ==
As above.
== Tests ==
bin/test -vvm lp.registry
== Demo and Q/A ==
N/A
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: registry/ browser/ tests/test_ person_ view.py registry/ browser/ person. py
lib/lp/
lib/lp/
== Pylint notices ==
lib/lp/ registry/ browser/ person. py interface' (No module named restful)
117: [F0401] Unable to import 'lazr.delegates' (No module named delegates)
118: [F0401] Unable to import 'lazr.config' (No module named config)
119: [F0401] Unable to import 'lazr.restful.