Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Oct 2017 17:18:17 +1300
From:      Jonathan Chen <jonc@chen.org.nz>
To:        "Russell L. Carter" <rcarter@pinyon.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: python 2 -> python 3
Message-ID:  <CAJuc1zNeLdK__HFMUFHC81ubAY9Tq2j%2B%2BGRVBJ%2BGM9jZ7VLyeg@mail.gmail.com>
In-Reply-To: <f78cbc00-9b5b-0b00-3c0a-0a85c9a4acb2@pinyon.org>
References:  <f78cbc00-9b5b-0b00-3c0a-0a85c9a4acb2@pinyon.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12 October 2017 at 17:01, Russell L. Carter <rcarter@pinyon.org> wrote:
>
> 11.1-STABLE FreeBSD 11.1-STABLE #11 r313908
>
> Maybe I've missed it.  Are there some hints somewhere for a
> person wanting to transition the default in ports to python 3?
>
> I see in /usr/ports/Mk/bsd.default-versions.mk
>
> **********************************
>
> # Possible values: 9.2, 9.3, 9.4, 9.5, 9.6
> PGSQL_DEFAULT?=         9.5
> # Possible values: 5.6, 7.0, 7.1
> PHP_DEFAULT?=           5.6
> # Possible values: 2.7, 3.4, 3.5, 3.6
> PYTHON_DEFAULT?=        2.7
> # Possible values: 2.7
> PYTHON2_DEFAULT?=       2.7
> # Possible values: 3.4, 3.5, 3.6
> PYTHON3_DEFAULT?=       3.6
> # Possible values: 2.2, 2.3, 2.4
> RUBY_DEFAULT?=          2.3
>
> **********************************
>
> PGSQL & RUBY options included to possibly hint at this is the
> only documentation available, AFAICS.
>
> Yet, when I set PYTHON_DEFAULT to 3.6, I get thunderbird and
> firefox and chrome etc etc failing.

This is not unexpected. python2 != python3; there is much code out
there that will not transition across without rewrites. In other
words, just let the individual port maintainers decide whether to use
python2 or python3.

Cheers.
-- 
Jonathan Chen <jonc@chen.org.nz>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJuc1zNeLdK__HFMUFHC81ubAY9Tq2j%2B%2BGRVBJ%2BGM9jZ7VLyeg>