The depends test installs a package and imports all its modules to identify missing dependencies. However, it begins by installing a number of common SDK dependencies. It therefore won't fail when the package under test doesn't declare a dependency on one or more of these. For example, azure-keyvault-secrets was missing a dependency on azure-common which wasn't discovered until manual verification of a release build.
This happens because depends depends on deps:
which installs azure-sdk-tools:
|
[tools] |
|
deps = |
|
-r ../../../eng/test_tools.txt |
|
../../../tools/azure-sdk-tools |
which installs a few management packages:
|
'azure-mgmt-resource', |
|
'azure-mgmt-storage', |
|
'azure-mgmt-keyvault' |
and all their transitive dependencies.
The
dependstest installs a package and imports all its modules to identify missing dependencies. However, it begins by installing a number of common SDK dependencies. It therefore won't fail when the package under test doesn't declare a dependency on one or more of these. For example,azure-keyvault-secretswas missing a dependency onazure-commonwhich wasn't discovered until manual verification of a release build.This happens because
dependsdepends ondeps:azure-sdk-for-python/eng/tox/tox.ini
Lines 144 to 145 in cd568ca
which installs
azure-sdk-tools:azure-sdk-for-python/eng/tox/tox.ini
Lines 6 to 8 in cd568ca
azure-sdk-for-python/eng/test_tools.txt
Line 30 in cd568ca
which installs a few management packages:
azure-sdk-for-python/tools/azure-sdk-tools/setup.py
Lines 22 to 24 in cd568ca
and all their transitive dependencies.