pip install azure-functions-durable
pip show --files azure-functions-durable
Problem description
It looks like this package is accidentally shipping its tests. This can be easily verified with:
pip show --files azure-kusto-data
Which shows that there are 6 tests files shipped by the package into a top-level package called tests. This has a few small issues:
It bloats the package size.
It leads to collisions with other packages that accidentally ship their tests as tests module (they just overwrite each other in the site-packages directory).
It can lead to issues for users if it conflicts with theirtests package.
Code Sample, a copy-pastable example if possible
Problem description
It looks like this package is accidentally shipping its tests. This can be easily verified with:
Which shows that there are 6 tests files shipped by the package into a top-level package called
tests
. This has a few small issues:tests
module (they just overwrite each other in thesite-packages
directory).tests
package.Possible cause / solution
I've opened a similar issue https://github.com/Azure/azure-functions-durable-python/issues/475 for
azure-functions-durable
with an idea how to fix it, which should apply here as well, because thesetup.py
seems to follow the same pattern:https://github.com/Azure/azure-kusto-python/blob/ed835b83a90dbd58088daf31114afe319bbb7327/azure-kusto-data/setup.py#L47
Output of
pip freeze