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

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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)

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iQKTBAABCgB9FiEEORj0UTsjzCy+enIkmpN7LfMuiNcFAl6mP5NfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDM5
MThGNDUxM0IyM0NDMkNCRTdBNzIyNDlBOTM3QjJERjMyRTg4RDcACgkQmpN7LfMu
iNcn5RAAmTFRfs+O2Vl+CqattDJ26vOIp8GRtF9h9CKn3Pt8tjYkV5iKw5277QQb
oJUf1XfTkPDI++s7mCDChZ/pdyRecwOkGaw/OSG31XQWX/CCj4r2BF9B29bid4ng
wBZgQzwHZhR7ZPUuXzAk0g/Udf1AclNNKJpGwGikosz7b36GWlXCFPyu9j3PEzxE
mA2fL6YtFrN6LyHNi3uqgj+RPpywCMMdUHXUE6vjcEcve7G7ulL/PRPrDVbjiwoH
SuEWPX6aUJ5JFRRrjrvy6nA+mvlKhrjQhhRrrhfjLQouG1GXlH3elskoZr81BYwu
w0EoXHZmJWGF1HCDOJww1/PnLLgDC4wRFlEeNXXWQK7TzI5L7vZO1QL5tgOA8HIA
gh6WULfsVvprzc2/HXTKjVYg7g7UF0Im9wqZmdU/EaqQJZwZ/ry+7tAKqT6r3+bU
foKL/o9zZbjb7VMNGMgqSL7j3KU63GMSy9gEt7kJFlh7g5YWWaG3WACbiWx7m0Ru
mLtUHitDy8lKpMCUFUO1WXKiEAxT7Za96G59Od7lVPq8DiesdwaJeMxojVAi6BDX
7NRgey49ou04YnKtGt8TmdH27moCkishlSAgDCNtu4FT3+VvUGhzAeOiQ0tMxTae
lkftEd1ccaQ0raSOJTG7UxgwFQ/StFz4Ia+jQbb5fnma8ypK8+g=
=PIFp
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200427021239.wh2njnirzgvxfpbb>