pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/54588: security/py-certbot-0.38 fails due to missing distribution



>Number:         54588
>Category:       pkg
>Synopsis:       security/py-certbot-0.38 fails due to missing distribution
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 01 11:25:00 +0000 2019
>Originator:     Frédéric Fauberteau
>Release:        NetBSD 8.0
>Organization:
>Environment:
System: NetBSD dns.triaxx.org 8.0 NetBSD 8.0 (XEN3_DOMU) #0: Wed Jul 25 09:42:47 UTC 2018  root%defiler.triaxx.org@localhost:/usr/obj/sys/arch/amd64/compile/XEN3_DOMU amd64
Architecture: x86_64
Machine: amd64
>Description:
Certbot seems now to need py-distro as a dependency.

$ /usr/pkg/bin/certbot-3.7
Traceback (most recent call last):
  File "/usr/pkg/bin/certbot-3.7", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/pkg/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3250, in <module>
    @_call_aside
  File "/usr/pkg/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3234, in _call_aside
    f(*args, **kwargs)
  File "/usr/pkg/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3263, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/pkg/lib/python3.7/site-packages/pkg_resources/__init__.py", line 583, in _build_master
    ws.require(__requires__)
  File "/usr/pkg/lib/python3.7/site-packages/pkg_resources/__init__.py", line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/pkg/lib/python3.7/site-packages/pkg_resources/__init__.py", line 786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'distro>=1.0.1' distribution was not found and is required by certbot
>How-To-Repeat:
$ /usr/pkg/bin/certbot-3.7
>Fix:
I see 'import distro' in the code. I think we should add py-distro as dependency but it is in wip.



Home | Main Index | Thread Index | Old Index