Date: Fri, 17 Apr 2020 20:49:13 -0400 From: George Mitchell <george+freebsd@m5p.com> To: Robert Huff <roberthuff@rcn.com>, Dimitry Andric <dim@FreeBSD.org> Cc: freebsd-ports <ports@freebsd.org>, Dewayne Geraghty <dewaynegeraghty@gmail.com> Subject: Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available Message-ID: <b16f5e5c-5283-9a14-b738-eff635c14109@m5p.com> In-Reply-To: <24218.18351.39302.604589@jerusalem.litteratus.org> References: <CAGnMC6rNeUT2wQ=DsrvkNtVz_SGqfKA8Yh=1rbeMS8XtxB3naw@mail.gmail.com> <102F7F34-78D0-45D8-A6CD-54C90BD46791@FreeBSD.org> <24218.18351.39302.604589@jerusalem.litteratus.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --P6xXWnwWRoMoVimcXVEcDpZfeusnEpqMP Content-Type: multipart/mixed; boundary="iiRRUGx8Cmk9MKaNoB2b67ekM4yoRD30f"; protected-headers="v1" From: George Mitchell <george+freebsd@m5p.com> To: Robert Huff <roberthuff@rcn.com>, Dimitry Andric <dim@FreeBSD.org> Cc: freebsd-ports <ports@freebsd.org>, Dewayne Geraghty <dewaynegeraghty@gmail.com> Message-ID: <b16f5e5c-5283-9a14-b738-eff635c14109@m5p.com> Subject: Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available References: <CAGnMC6rNeUT2wQ=DsrvkNtVz_SGqfKA8Yh=1rbeMS8XtxB3naw@mail.gmail.com> <102F7F34-78D0-45D8-A6CD-54C90BD46791@FreeBSD.org> <24218.18351.39302.604589@jerusalem.litteratus.org> In-Reply-To: <24218.18351.39302.604589@jerusalem.litteratus.org> --iiRRUGx8Cmk9MKaNoB2b67ekM4yoRD30f Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 2020-04-17 20:19, Robert Huff wrote: >=20 > Dimitry Andric writes: >=20 >> But basically, expect all python 2.x using ports to go away, unless >> they get fixed to use python 3.x, or no python at all. >=20 > Is there a method whereby - given a list of installed ports using > python 2 - one might determine which can and which cannot be upgraded > to pythin 3? > [...] There's a heuristic method: run the python program "2to3" on the file you want to asses. It will try to replace 2.x usages with their 3.x equivalents. Success is not guaranteed. (2to3 is part of python27.) -- George --iiRRUGx8Cmk9MKaNoB2b67ekM4yoRD30f-- --P6xXWnwWRoMoVimcXVEcDpZfeusnEpqMP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEENdM4ZHktsJW5kKZXwRES3m+p4fkFAl6aTpAACgkQwRES3m+p 4fmQ8w//YFfQIUMVNtX11OKlQKKNkfy3GxrtC7mcVo4zDRkbf6Dt/C/TurUaKbAu HCNKcPzFwIb/6dWXLaWxTjGCcBjoqfI/U+4O3LcsB12xp3ac/VSmDnSitvHNRd+r ThncXmQmhOMRnOOG50NulPxysykCxJ5zWRoYt9xAezFPWCLsIjcFdnkWFNDBv8+F GG3YnXNMmWRCU7vN9QFM/t4HWaHzjHEMgET/MObXCsBorCazcH+P3he4uWYlr6Yz 2Kz351hjTsYHTn36rxxfXA6qBH2exaNHA9PBGZR0Az/zzzqxest3diPyecgPJT6z 9G7Stf5NXPoPU4JPx/OGiTdj8wDFTydeBYQ0W1JA0s+LqmCsI+gKXDFlpePtmDEX uvwmIxmnT3JO39Dvct2zo7Bc7scNmmGaz2DAiOr5RbzMNpu4tgtHg9WaJPygyEqT VdtTKmnUa2Wze3jXSN87T0YcFyyd75IXyn5tXVYvx3SmZrbyls1VH5ntUIhB8WCd d9dt97C6CoPt0V5jJ68ah1zQm9aiP7y+BxT5Jmzgcbcaz8XFWum+NmNZ4JbpxGSy JvHOcJRrGXdvVBc9/wYtrw691Mmj3eeV/HvBVVySW8gBhY/OOV2AK7UpcYVhRWyx 1DLr2NCmN5CGsnLqSMDyayGdGXdJy4UAdIYxIKaO9aDTm3hcx80= =mM3a -----END PGP SIGNATURE----- --P6xXWnwWRoMoVimcXVEcDpZfeusnEpqMP--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b16f5e5c-5283-9a14-b738-eff635c14109>