GitNexus/gitnexus/test/unit/scope-resolution/python
Gergő Magyar d57f570dff
refactor(ingestion): colocate import resolution rules (#3670)
* refactor(ingestion): remove dormant import resolvers

Remove the unused LanguageProvider importResolver contract, factory and strategy chain. Keep active scope resolver helpers and their semantic tests.

Verified 5,309 corpus edges unchanged, 7,411 focused tests, typechecks, build and resolver benchmarks. Full local suite is still running; graph analysis remains partial on deleted and comment-only regions.

* refactor: colocate language import helpers

Keep import policy beside language resolvers and share only generic
indexes. Pass the existing ordered candidates explicitly so lookup
behavior and cache identities stay unchanged.

* fix: defer MCP imports and narrow Python paths

* fix(python): prefer packages in relative imports

* test(python): pin package-first import lookup

* test(python): use a valid parent-relative import

---------

Co-authored-by: Gergely Magyar <magyargergo@users.noreply.github.com>
Co-authored-by: Gergo Magyar <gergomagyar0@gmail.com>
2026-10-22 03:49:35 +00:00
..
cached-tree-parity.test.ts feat(python): scope-based call resolution + registry-primary flip + perf + generalization (RFC #909 Ring 3) (#980) 2026-04-21 15:50:00 +01:00
python-builtin-descriptors.test.ts fix(python): model restoring helper calls in decorator identity (#3415) 2026-09-29 12:37:27 +01:00
python-captures-golden.test.ts fix(deps): upgrade native tree-sitter to 0.25.1 (#3531) 2026-10-10 13:07:59 +03:00
python-constructor-field-bindings.test.ts fix(python): resolve calls through constructor-injected fields (#2628) 2026-07-22 16:32:53 +01:00
python-fixtures.test.ts fix(scope): resolve local imports by lexical ownership (#3532) 2026-10-10 08:13:55 +03:00
python-generic-annotation-reduction.test.ts fix(resolution): resolve calls through a generic-typed field receiver in every language (#2833) (#2855) 2026-08-07 17:14:13 +01:00
python-global-declarations.test.ts fix(scope): resolve local imports by lexical ownership (#3532) 2026-10-10 08:13:55 +03:00
python-hooks.test.ts fix(test): align fixtures and mocks with current types (#3471) 2026-10-05 04:47:37 +01:00
python-import-probe-count.test.ts refactor(ingestion): colocate import resolution rules (#3670) 2026-10-22 03:49:35 +00:00
python-import-target-parity.test.ts fix(python): resolve classes through module imports (#2770) 2026-08-01 06:02:47 +01:00
python-importer-ancestors.test.ts refactor(ingestion): colocate import resolution rules (#3670) 2026-10-22 03:49:35 +00:00
python-local-imports.test.ts fix(scope): resolve local imports by lexical ownership (#3532) 2026-10-10 08:13:55 +03:00
python-module-accessors.test.ts fix(python): resolve calls through module-returning accessors (#3542) 2026-10-10 18:41:51 +01:00
python-module-namespace-construction.test.ts fix(python): resolve calls through aliased package re-exports (#3504) 2026-10-08 13:51:20 +03:00
python-subtype-dispatch.test.ts fix(python): resolve decorator identity like CPython (#3411) 2026-09-29 08:12:52 +00:00