Skip to content

[packaging] delinea namespace collision #37

@webknjaz

Description

@webknjaz

Apparently pip install python-dsv-sdk python-tss-sdk will end up writing a [..]/site-packages/delinea/__init__.py with only one of the variants of this module surviving. This will also cause problems with deleting and/or upgrading said projects within the same virtualenv.

To disambiguate the namespace, I recommend dropping this file and moving it into nested subpackages per-project. This will solve the collision, although, it'll hit some difficulties during the migration period.

See https://packaging.python.org/en/latest/guides/packaging-namespace-packages/#native-namespace-packages for the PyPA guidance and DelineaXPM/python-tss-sdk#72 for the other side of this problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions