Bug 1180450 - python3-img-proof FTBFS
Summary: python3-img-proof FTBFS
Status: RESOLVED WONTFIX
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: Other All
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Sean Marlow
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-30 07:41 UTC by Bernhard Wiedemann
Modified: 2021-09-21 20:05 UTC (History)
2 users (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Wiedemann 2020-12-30 07:41:12 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
Comment 1 Sean Marlow 2021-01-06 15:35:25 UTC
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.
Comment 2 Sean Marlow 2021-09-21 20:05:33 UTC
Meanwhile img-proof was pulled from factory due to multiple dependency issues.