SUSE-Enceladus / img-proof

img-proof provides a command line utility to test images in the Public Cloud
https://img-proof.readthedocs.io/en/latest/
GNU General Public License v3.0
14 stars 7 forks source link

configparser>=3.5.0b1 distribution was not found and is required by oci #301

Closed grisu48 closed 7 months ago

grisu48 commented 3 years ago

Hi,

when installing img-proof from the http://download.opensuse.org/repositories/Cloud:/Tools/openSUSE_Leap_15.2/ repository, I get the following error message:

phoenix@duck-norris:~> img-proof --version
Traceback (most recent call last):
  File "/usr/bin/img-proof", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3123, in <module>
    @_call_aside
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3107, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3136, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 578, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 895, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 781, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'configparser>=3.5.0b1' distribution was not found and is required by oci

I followed the installation procedure from the README.md

zypper ar http://download.opensuse.org/repositories/Cloud:/Tools/openSUSE_Leap_15.2/ PC_Tools_15_2
zypper ref
zypper in python3-img-proof
smarlowucf commented 3 years ago

I will update the readme. The more up-to-date location for the package would be from Cloud:Tools:CI. However, there are issues with Leap due to changes to the Azure SDK which have not made it into Leap yet. I can also see if there's a workable temporary solution.

mimi1vx commented 7 months ago

@smarlowucf shouldn't be this closed as Leap 15.2 (15.3 and also 15.4) are EOL ?

smarlowucf commented 7 months ago

Yeah, that repository no longer exists.