From owner-freebsd-python@freebsd.org  Mon Apr 27 02:12:44 2020
Return-Path: <owner-freebsd-python@freebsd.org>
Delivered-To: freebsd-python@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5C0312C49CA
 for <freebsd-python@mailman.nyi.freebsd.org>;
 Mon, 27 Apr 2020 02:12:44 +0000 (UTC)
 (envelope-from dbaio@FreeBSD.org)
Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3])
 by mx1.freebsd.org (Postfix) with ESMTP id 499SwX1rWWz4GKt
 for <freebsd-python@freebsd.org>; Mon, 27 Apr 2020 02:12:44 +0000 (UTC)
 (envelope-from dbaio@FreeBSD.org)
Received: by mailman.nyi.freebsd.org (Postfix)
 id 3F2452C49C9; Mon, 27 Apr 2020 02:12:44 +0000 (UTC)
Delivered-To: python@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3EEDF2C49C8
 for <python@mailman.nyi.freebsd.org>; Mon, 27 Apr 2020 02:12:44 +0000 (UTC)
 (envelope-from dbaio@FreeBSD.org)
Received: from smtp.freebsd.org (smtp.freebsd.org
 [IPv6:2610:1c1:1:606c::24b:4])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 server-signature RSA-PSS (4096 bits)
 client-signature RSA-PSS (4096 bits) client-digest SHA256)
 (Client CN "smtp.freebsd.org",
 Issuer "Let's Encrypt Authority X3" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 499SwX0z1Bz4GKs;
 Mon, 27 Apr 2020 02:12:44 +0000 (UTC)
 (envelope-from dbaio@FreeBSD.org)
Received: from t480.local (unknown [186.212.67.153])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 (Authenticated sender: dbaio/mail)
 by smtp.freebsd.org (Postfix) with ESMTPSA id F144A18A43;
 Mon, 27 Apr 2020 02:12:42 +0000 (UTC)
 (envelope-from dbaio@FreeBSD.org)
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>
References: <CAHw75vt8RVSFVHD0Gt4=6o-d3X+T6B7EvyaXNB6GkbGiNdz2sw@mail.gmail.com>
 <20200426231038.eni7iuyetg65dpwa@t480.local>
 <a605d409-e988-c6fe-8092-32c38c39d918@FreeBSD.org>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature"; boundary="dsmhhettxzfktl5o"
Content-Disposition: inline
In-Reply-To: <a605d409-e988-c6fe-8092-32c38c39d918@FreeBSD.org>
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-python>, 
 <mailto:freebsd-python-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python/>
List-Post: <mailto:freebsd-python@freebsd.org>
List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-python>,
 <mailto:freebsd-python-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 27 Apr 2020 02:12:44 -0000


--dsmhhettxzfktl5o
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 rememb=
er
> > > 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
> > >=20
> > > $ sudo certbot renew
> > > An unexpected error occurred:
> > > pkg_resources.DistributionNotFound: The 'importlib_metadata' distribu=
tion
> > > was not found and is required by jsonpickle
> > > Please see the logfile '/tmp/tmpn1vf5r5c/log' for more details.
> > >=20
> > > I installed the devel/py-importlib-metadata port and that fixed the e=
rror.
> > > I don't see this listed as a dependency port on freshports for certbot
> > > https://www.freshports.org/security/py-certbot/
> >=20
> >=20
> > Hi.
> >=20
> > Out of curiosity, are you using portmaster?
> >=20
> > I'm seeing others using portmaster with issues in upgrades.
> >=20
> > devel/py-jsonpickle is a dependency of www/py-python-digitalocean which
> > is dependency of security/py-certbot-dns-digitalocean.
> >=20
>=20
> devel/py-jsonpickle doesn't depend on devel/py-importlib-metadata
>=20
> Upstream declared it as a dependency 2 months ago [1] in 1.4
>=20
> setup.cfg:
> install_requires =3D
> 	importlib_metadata; python_version<"3.8"
>=20
> Note: It was unconditional (all python versions) until 4 days ago:
>=20
> https://github.com/jsonpickle/jsonpickle/commit/8debff4511089dad850930c70=
2106a436275f118
>=20
> Any change resolving this is:
>=20
> Approved by: portmgr (blanket: dependencies: missing)
> MFH: 2020Q1
>=20
> [1] https://github.com/jsonpickle/jsonpickle/commit/4a2ec6143d225ae1878b9=
b55b05fa2563282ee00


Good catch koobs.

--=20
Danilo G. Baio (dbaio)

--dsmhhettxzfktl5o
Content-Type: application/pgp-signature; name="signature.asc"

-----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-----

--dsmhhettxzfktl5o--