Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Feb 2021 18:10:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 253563] Use '/usr/local/bin/python3' as the value of PYTHON_CMD
Message-ID:  <bug-253563-9@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253563

            Bug ID: 253563
           Summary: Use '/usr/local/bin/python3' as the value of
                    PYTHON_CMD
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Documentation
          Assignee: doc@FreeBSD.org
          Reporter: yasu@utahime.org

Created attachment 222495
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D222495&action=
=3Dedit
Patch file

Currently '/usr/local/bin/python3.7' is used as the value of PYTHON_CMD. Ri=
ght
now it is proper because 3.7 is the default version of Python 3 in ports tr=
ee.
But it will be change to newer version in the future. Additionally, if user
build packages from ports tree by himself he can change default version of
Python 3 by adding 'DEFAULT_VERSIONS+=3Dpython3=3D3.x' in make.conf. In suc=
h cases
setting PYTHON_CMD to '/usr/local/bin/python3.7' is improper.

BTW in the section 1.1 of FDP user is told to install 'python3' package. Th=
is
is meta package that depends on the default version of Python 3. And if it =
is
installed '/usr/local/bin/python3' is created as the symbolic link to the
Python 3 interpreter of the default version (e.g. /usr/local/bin/python3.7)=
. So
if '/usr/local/bin/python3' is used as the value of PYTHON_CMD, it works fi=
ne
regardless of which version is assigned to the default of Python 3.

So change the value of PYTHON_CMD in doc tree to '/usr/local/bin/python3'.

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



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