From owner-freebsd-python@freebsd.org Fri Oct 28 16:28:20 2016 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6FA07C2436C for ; Fri, 28 Oct 2016 16:28:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 59667F1B for ; Fri, 28 Oct 2016 16:28:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 55E9DC2436B; Fri, 28 Oct 2016 16:28:20 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 55946C2436A for ; Fri, 28 Oct 2016 16:28:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 44F2BF1A for ; Fri, 28 Oct 2016 16:28:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u9SGSKuq054499 for ; Fri, 28 Oct 2016 16:28:20 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 209551] Python bits ignore DEFAULT_VERSIONS Date: Fri, 28 Oct 2016 16:28:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dbn@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2016 16:28:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209551 David Naylor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |Closed Resolution|--- |Works As Intended --- Comment #13 from David Naylor --- Hopefully I understand this PR correctly (I have haven't, please comment wi= th an example and I'll reopen).=20=20 Changing the priority order from: PYTHON_VERSION > ${LOCALBASE}/bin/python > DEFAULT_VERSIONS to PYTHON_VERSION > DEFAULT_VERSIONS > ${LOCALBASE}/bin/python will not work if: a) the user installs the metaport lang/python2 or lang/python3, then b) changes DEFAULT_VERSIONS, and c) the port depends on a python metaport. For example, lang/python3 is installed referencing python3.4 but the user (= or the framework) changes DEFAULT_VERSIONS to python3.5.=20=20 In this situation any port depending on a metaport (i.e. USES=3Dpython:2 or USES=3Dpython:3) will think it is depending on a version it is not (i.e. py= thon3 is python3.4 but the port will think it is python3.5). --=20 You are receiving this mail because: You are the assignee for the bug.=