| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Validation:
Note: full ruff check src tests still reports existing baseline cleanup issues, which are handled separately in #31. |
Sorry, something went wrong.
|
Thanks for the focused change. I found one issue I’d fix before merging. _resolve_import_targets currently returns only the successfully resolved internal alias targets once any alias resolves. That means a statement like from namespace_pkg.domain import model, remote_model will drop the external/unresolved side if model resolves to namespace_pkg/domain/model.py but remote_model does not resolve internally. Because this is the core graph extractor, that can hide dependency edges in mixed alias imports. Please preserve an external edge for unresolved aliases, or preserve the original external base edge when not every alias resolves internally, and add a regression test for that case. |
Sorry, something went wrong.
|
@copilot resolve the merge conflicts in this pull request |
Sorry, something went wrong.
Resolved by merging origin/main into this branch and fixing the conflict in BACKLOG.md in commit 18c155d. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Pull Request
Adds support for resolving submodule imports from namespace packages that do not contain __init__.py files.
Previously, imports like from namespace_pkg.domain import model could be treated as external when namespace_pkg/domain/ was a namespace package directory. This change adds a targeted fallback that resolves imported aliases as submodules only when the base import cannot be resolved internally.
Also adds regression tests for absolute and relative namespace-package imports and documents the behavior in the README.
Change Type