Skip to content

Namespace packages get collapsed into a single package #174

@ns-ggeorgiev

Description

@ns-ggeorgiev

Describe the bug
When two or more packages share namespace, the tools seems to believe that all of the files in the namespace belong to one of the packages (it seems like the first one alphabetically)

To Reproduce
Steps to reproduce the behavior:

  1. Create two packages as described here: https://packaging.python.org/en/latest/guides/packaging-namespace-packages/#pkgutil-style-namespace-packages

  2. Create app that imports files from both

  3. run the tool and observe the suggested list will not include one of the packages

Expected behavior
All packages that have imports should be included.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions