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

andrew clarke mail at ozzmosis.com
Sat Apr 18 09:06:24 UTC 2020


On 2020-04-18 09:34:39, Matthew Seaman (matthew at FreeBSD.org) wrote:

> On 18/04/2020 03:19, Robert Huff wrote:
> > 	a) according to the Makefile, is it possible to build this with
> > 		python-37?  (Or even -36?) 
> 
> If the Makefile for the port says:
> 
> USES= python:27
> 
> then the port is for python-2.7.x only.  All other python ports will
> support python-3.x (which practically speaking means python-3.7).  Note
> that ports that are python-2.7.x only are now as rare as hen's teeth as
> there has been an active program of deleting such.

Out of interest I ran "pkg del python27" on my FreeBSD machine just to
see what would break. Conspicuous was devel/mercurial:

PORTVERSION=    5.1.2
USES=           cpe python:2.7

Evidently Mercurial versions 5.2 and later support Python 3. The current
stable version is 5.3.2, so the FreeBSD port is a few versions behind for
some reason.

Evidently textproc/asciidoc also still requires Python 2.7.

Though it looks like it's possible to install both Mercurial and Asciidoc
using Python 3's "pip" instead of using FreeBSD ports.


More information about the freebsd-ports mailing list