Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Apr 2020 11:34:15 +1000
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        "Danilo G. Baio" <dbaio@FreeBSD.org>, Keith <keith@keithf4.com>, Yuri Victorovich <yuri@FreeBSD.org>
Cc:        python@freebsd.org
Subject:   Re: Missing dependency for py-certbot
Message-ID:  <a605d409-e988-c6fe-8092-32c38c39d918@FreeBSD.org>
In-Reply-To: <20200426231038.eni7iuyetg65dpwa@t480.local>
References:  <CAHw75vt8RVSFVHD0Gt4=6o-d3X%2BT6B7EvyaXNB6GkbGiNdz2sw@mail.gmail.com> <20200426231038.eni7iuyetg65dpwa@t480.local>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a605d409-e988-c6fe-8092-32c38c39d918>