Maxrb
New Contributor III

I did a bit of deep dive into the source code of the pkgutils walk_package, and I noticed this happening:

def get_importer(path_item):
    path_item = os.fsdecode(path_item)
    try:
        importer = sys.path_importer_cache[path_item]
    except:
        importer = []
    return importer

for a given path in dbr <17.2 like `/Workspace/Repos/<user>/<repo>` this returns a normal FileFinder Object, when I try on >= 17.2 this returns <dbruntime.workspace_import_machinery._WorkspacePathEntryFinder object at 0x.....>.

looking further this means that it will never find any files and thus not work on imports within the repo.