From owner-freebsd-ports@freebsd.org Sat Apr 18 02:19:07 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 C26D52B47B2 for ; Sat, 18 Apr 2020 02:19:07 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 493xV33rN4z4D13 for ; Sat, 18 Apr 2020 02:19:07 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: by mailman.nyi.freebsd.org (Postfix) id 83D2A2B47B1; Sat, 18 Apr 2020 02:19:07 +0000 (UTC) Delivered-To: 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 8397A2B47B0 for ; Sat, 18 Apr 2020 02:19:07 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) (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 493xV25BV3z4D11 for ; Sat, 18 Apr 2020 02:19:06 +0000 (UTC) (envelope-from roberthuff@rcn.com) DKIM-Signature: v=1; a=rsa-sha1; d=rcn.com; s=20180516; c=relaxed/simple; q=dns/txt; i=@rcn.com; t=1587176345; h=From:Subject:Date:To:MIME-Version:Content-Type; bh=srFXUtfR4XOOwAf72P4jnAfeFek=; b=SU1mHtqVsaM2A12FZrdDgeZ6JDumY3yFKyS+1zyi4CW2q0uVa8+0WfbX35/awP+1 FKASSx1B85qqk8hBqWv9bgISpp15dN9HZ2mrAQltOVRS6mwxBGu4teTw6HUP4qpD 3lXA7DFB9aeBgV1tl6TSZjHuBauBF13rruTrqfWoA7EpLDpvfld01lOUqS2vqqi3 uQMYXllVX+b8VQkhs1NqL5BGFjTcz38mOb9bOzOCVduo6TtDi5cEkQYXUugpBK3e Xt5bbF5Hl9SASjHrDhkZqlZqlGXrgId8BNGnQ2tGUvR8lo0K49PmdbSV0yxG8Kl0 +ZAlZooINRqudCRZ9d7HXg==; X_CMAE_Category: , , X-CNFS-Analysis: v=2.3 cv=Z5uS40ZA c=1 sm=1 tr=0 a=9TgA2UwI6Wy+6BV4wQM/cQ==:117 a=9TgA2UwI6Wy+6BV4wQM/cQ==:17 a=KGjhK52YXX0A:10 a=kj9zAlcOel0A:10 a=XRQyMpdBKAEA:10 a=cl8xLZFz6L8A:10 a=48faUk6PgeAA:10 a=zpGug8jAtGXHQPT-d7MA:9 a=CjuIK1q_8ugA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine X-Authed-Username: cm9iZXJ0aHVmZkByY24uY29t Received: from [209.6.230.48] ([209.6.230.48:16395] helo=jerusalem.litteratus.org.litteratus.org) by smtp.rcn.com (envelope-from ) (ecelerity 3.6.25.56547 r(Core:3.6.25.0)) with ESMTPSA (cipher=AES256-GCM-SHA384) id 8F/13-10869-9936A9E5; Fri, 17 Apr 2020 22:19:05 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <24218.25496.502886.46431@jerusalem.litteratus.org> Date: Fri, 17 Apr 2020 22:19:04 -0400 From: Robert Huff To: George Mitchell Cc: Robert Huff , Dimitry Andric , freebsd-ports , Dewayne Geraghty Subject: Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available In-Reply-To: References: <102F7F34-78D0-45D8-A6CD-54C90BD46791@FreeBSD.org> <24218.18351.39302.604589@jerusalem.litteratus.org> X-Mailer: VM 8.2.0b under 26.3 (amd64-portbld-freebsd13.0) X-Rspamd-Queue-Id: 493xV25BV3z4D11 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=rcn.com header.s=20180516 header.b=SU1mHtqV; dmarc=pass (policy=none) header.from=rcn.com; spf=pass (mx1.freebsd.org: domain of roberthuff@rcn.com designates 69.168.97.78 as permitted sender) smtp.mailfrom=roberthuff@rcn.com X-Spamd-Result: default: False [-5.60 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[rcn.com:s=20180516]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:69.168.97.0/24]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[freebsd]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_FIVE(0.00)[5]; DWL_DNSWL_LOW(-1.00)[rcn.com.dwl.dnswl.org : 127.0.5.1]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[rcn.com:+]; DMARC_POLICY_ALLOW(-0.50)[rcn.com,none]; IP_SCORE(-1.50)[ip: (-8.96), ipnet: 69.168.97.0/24(0.74), asn: 36271(0.75), country: US(-0.05)]; RCVD_IN_DNSWL_LOW(-0.10)[78.97.168.69.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:36271, ipnet:69.168.97.0/24, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(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 02:19:07 -0000 George Mitchell 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 Let me be more precise. I have a list of 110 installed ports flavored "py27-". For each port I want to know: a) according to the Makefile, is it possible to build this with python-37? (Or even -36?) b) will doing so break any port for which this port is a dependency? I understand the only way to answer (b) may be by trial-and-error; fair enough. But if I can identify all those with no dependants ... that would be a start. Respectfully, Robert Huff