Skip to content

[FEATURE]: Simulate sys.path changes such that the DependencyResolver can locate files using relative paths #1468

@ericvergnaud

Description

@ericvergnaud

Is there an existing issue for this?

  • I have searched the existing issues

Problem statement

The DependencyResolver currently works with a mock LocalLoader only, which locates files from a 'samples' directory.
This will not work in production.

Proposed Solution

Fully implement LocalLoader such that it emulates sys.path and locates files accordingly.

Additional Context

sub-ticket of #1202

Metadata

Metadata

Assignees

Labels

migrate/codeAbstract Syntax Trees and other dark magicmigrate/pythonPull requests that update Python code

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions