python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

George Mitchell george+freebsd at m5p.com
Sat Apr 18 00:49:37 UTC 2020


On 2020-04-17 20:19, Robert Huff wrote:
> 
> Dimitry Andric writes:
> 
>>  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.
> 
> 	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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20200417/0dcea2ae/attachment.sig>


More information about the freebsd-ports mailing list