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
_______________________________________________
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"

Reply via email to