Bugzilla – Bug 1180450
python3-img-proof FTBFS
Last modified: 2021-09-21 20:05:33 UTC
While working on reproducible builds for openSUSE, I found that python3-img-proof fails to build from source. Steps to reproduce: osc co openSUSE:Factory/python3-img-proof && cd $_ osc build --noservice --clean Actual results Traceback (most recent call last): File "setup.py", line 44, in <module> [...] File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2449, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/home/abuild/rpmbuild/BUILD/img-proof-6.1.0/img_proof/scripts/cli.py", line 38, in <module> from img_proof.ipa_controller import collect_tests, test_image File "/home/abuild/rpmbuild/BUILD/img-proof-6.1.0/img_proof/ipa_controller.py", line 29, in <module> from img_proof.ipa_azure import AzureCloud File "/home/abuild/rpmbuild/BUILD/img-proof-6.1.0/img_proof/ipa_azure.py", line 25, in <module> from azure.common.client_factory import get_client_from_auth_file File "/usr/lib/python3.8/site-packages/azure/common/client_factory.py", line 17, in <module> from .credentials import get_azure_cli_credentials File "/usr/lib/python3.8/site-packages/azure/common/credentials.py", line 122, in <module> raise ImportError("You need to install 'msrestazure' to use this feature") ImportError: You need to install 'msrestazure' to use this feature
The Azure packages had changes in dependencies. Unfortunately azure-common still requires msrestazure even though it has no requirement for that package. Thus img-proof has to carry that dependency. The spec has been updated and ready for a new release. However, we must wait on the Alibaba packages to get into to Factory before the latest img-proof will build.
Meanwhile img-proof was pulled from factory due to multiple dependency issues.