From owner-freebsd-ports@freebsd.org Sat Apr 18 09:06:24 2020 Return-Path: Delivered-To: freebsd-ports@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 ABA1D2C2BFE for ; Sat, 18 Apr 2020 09:06:24 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4946Wz3vlXz3MGk; Sat, 18 Apr 2020 09:06:23 +0000 (UTC) (envelope-from mail@ozzmosis.com) X-Originating-IP: 167.179.139.56 Received: from blizzard.ozzmosis.com (167-179-139-56.a7b38b.mel.nbn.aussiebb.net [167.179.139.56]) (Authenticated sender: ozzmosis@ozzmosis.com) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id E1E7C240008; Sat, 18 Apr 2020 09:06:20 +0000 (UTC) Received: by blizzard.ozzmosis.com (Postfix, from userid 1001) id 5DE45C9B75; Sat, 18 Apr 2020 19:06:15 +1000 (AEST) Date: Sat, 18 Apr 2020 19:06:15 +1000 From: andrew clarke To: Matthew Seaman Cc: freebsd-ports@freebsd.org Subject: Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available Message-ID: <20200418090615.jl25cg3jhzcdrkcb@ozzmosis.com> References: <102F7F34-78D0-45D8-A6CD-54C90BD46791@FreeBSD.org> <24218.18351.39302.604589@jerusalem.litteratus.org> <24218.25496.502886.46431@jerusalem.litteratus.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20200320 X-Rspamd-Queue-Id: 4946Wz3vlXz3MGk X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mail@ozzmosis.com designates 217.70.183.193 as permitted sender) smtp.mailfrom=mail@ozzmosis.com X-Spamd-Result: default: False [-3.67 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[193.183.70.217.rep.mailspike.net : 127.0.0.18]; R_SPF_ALLOW(-0.20)[+ip4:217.70.183.192/28]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[ozzmosis.com]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; IP_SCORE(-1.27)[ip: (-3.52), ipnet: 217.70.176.0/20(-1.56), asn: 29169(-1.26), country: FR(0.00)]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCVD_IN_DNSWL_LOW(-0.10)[193.183.70.217.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:29169, ipnet:217.70.176.0/20, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Apr 2020 09:06:24 -0000 On 2020-04-18 09:34:39, Matthew Seaman (matthew@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.