[Bug 209551] Python bits ignore DEFAULT_VERSIONS
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Oct 28 16:28:20 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209551
David Naylor <dbn at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Open |Closed
Resolution|--- |Works As Intended
--- Comment #13 from David Naylor <dbn at 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.
More information about the freebsd-python
mailing list