Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Oct 2016 16:28:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 209551] Python bits ignore DEFAULT_VERSIONS
Message-ID:  <bug-209551-21822-R9RCMBtkHA@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-209551-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-209551-21822@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209551

David Naylor <dbn@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Open                        |Closed
         Resolution|---                         |Works As Intended

--- Comment #13 from David Naylor <dbn@FreeBSD.org> ---
Hopefully I understand this PR correctly (I have haven't, please comment with
an example and I'll reopen).  

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.  

In this situation any port depending on a metaport (i.e. USES=python:2 or
USES=python:3) will think it is depending on a version it is not (i.e. python3
is python3.4 but the port will think it is python3.5).

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209551-21822-R9RCMBtkHA>