Missing dependency for py-certbot

Danilo G. Baio dbaio at FreeBSD.org
Mon Apr 27 02:12:44 UTC 2020


On Mon, Apr 27, 2020 at 11:34:15AM +1000, Kubilay Kocak wrote:
> On 27/04/2020 9:10 am, Danilo G. Baio wrote:
> > On Sun, Apr 26, 2020 at 04:17:33PM -0400, Keith wrote:
> > > I recently did an update of my ports tree and I honestly can't remember
> > > which versions I had installed previously that were working fine, but after
> > > installing the latest version of py-certbot and
> > > py-certbot-dns-digitalocean, I started running into this error
> > > 
> > > $ sudo certbot renew
> > > An unexpected error occurred:
> > > pkg_resources.DistributionNotFound: The 'importlib_metadata' distribution
> > > was not found and is required by jsonpickle
> > > Please see the logfile '/tmp/tmpn1vf5r5c/log' for more details.
> > > 
> > > I installed the devel/py-importlib-metadata port and that fixed the error.
> > > I don't see this listed as a dependency port on freshports for certbot
> > > https://www.freshports.org/security/py-certbot/
> > 
> > 
> > Hi.
> > 
> > Out of curiosity, are you using portmaster?
> > 
> > I'm seeing others using portmaster with issues in upgrades.
> > 
> > devel/py-jsonpickle is a dependency of www/py-python-digitalocean which
> > is dependency of security/py-certbot-dns-digitalocean.
> > 
> 
> devel/py-jsonpickle doesn't depend on devel/py-importlib-metadata
> 
> Upstream declared it as a dependency 2 months ago [1] in 1.4
> 
> setup.cfg:
> install_requires =
> 	importlib_metadata; python_version<"3.8"
> 
> Note: It was unconditional (all python versions) until 4 days ago:
> 
> https://github.com/jsonpickle/jsonpickle/commit/8debff4511089dad850930c702106a436275f118
> 
> Any change resolving this is:
> 
> Approved by: portmgr (blanket: dependencies: missing)
> MFH: 2020Q1
> 
> [1] https://github.com/jsonpickle/jsonpickle/commit/4a2ec6143d225ae1878b9b55b05fa2563282ee00


Good catch koobs.

-- 
Danilo G. Baio (dbaio)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-python/attachments/20200426/7b7cf9b5/attachment.sig>


More information about the freebsd-python mailing list