From owner-freebsd-ports@freebsd.org Thu Oct 12 04:18:19 2017 Return-Path: Delivered-To: freebsd-ports@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 03A7BE42C54 for ; Thu, 12 Oct 2017 04:18:19 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from mail-qk0-x22d.google.com (mail-qk0-x22d.google.com [IPv6:2607:f8b0:400d:c09::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BB68A64BD9 for ; Thu, 12 Oct 2017 04:18:18 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: by mail-qk0-x22d.google.com with SMTP id y23so85655qkb.10 for ; Wed, 11 Oct 2017 21:18:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chen-org-nz.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=5c/s9WcynQep8CXR/cQ2Ap/2l6B4en1/brgCSJiMIAM=; b=cjRb2RLnFoJXduu1iRZg90lVfwE8VEc+0lV4xW+Sb6nAmUThUYUMlx/RJrExqYZBF0 cV2upq5wcWguUA8w5IzkjfhPmSgN91wOUPmerUicpnIvTigy/XhkcjoubW+Lp50iiiw3 QvVQpJihWcYnQ2W2+e1mDfVmH303GZWqIBnBeyQYjDeumuPxbPAAIdRGEdoEd/+w7hu2 j8Zk58ewgL5ByNda9ZOHiKoFOaoyv4+Co297UPdgfon6Po7piU9Zc9FG0zzUwydKjddp K7+q+S46Y02hq9PBmlehxtO/k8GluqhHfFYBg2MJQD7ZKYMRzLxXR0UX/MtWxpCIguvI sPrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=5c/s9WcynQep8CXR/cQ2Ap/2l6B4en1/brgCSJiMIAM=; b=qe2NQS6mgUWkRDOHJhnpGwT8pr1EwDAE6B8JmJ3KtDHQ+juzZMvyWhutuhNJqo0Yhe W8E+NuQHGilCxE14kAruDliNu4Bdn2ztyJMjIIqDEsz/5U+29sZrWaGRqq06iJpZXin4 SUxJB9769E5+0mz33Ms9tLOprvGp4eRQZO1v1GjurZRd6Wwe/MCJdOdM4gyciiIf+PSG Br/hSvZwGOC8hAlJbaz6mADAd1XOC3LwTyRg5fRd1fPnaJulgZy9nSlWJ/kNTOEoou2B Tf0h3wiGT4BtZ3rpxXLg5XygC9o2e8DcFWniaWKy2CxG770S8Uvm+Pq3jtaLQtpYG+yU roog== X-Gm-Message-State: AMCzsaUbr45AhC5OcT+6YAUF9FTP8NeU2NadmAPJlF1ZWxHrMgtfgYIb q8HtX1ubt0alURTwGAV5XkJXbLyupnsC0DfygnH9XMfa X-Google-Smtp-Source: AOwi7QCty3l9T24iIiXFiRgwgPhTtQrg1mZYStl/KqM5eH2E5ipNfb7A4cjKDBccGz3jPjfKSQp+jUtODcyeiUpt34I= X-Received: by 10.55.52.147 with SMTP id b141mr1732161qka.76.1507781897461; Wed, 11 Oct 2017 21:18:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.42.35 with HTTP; Wed, 11 Oct 2017 21:18:17 -0700 (PDT) X-Originating-IP: [150.107.174.148] In-Reply-To: References: From: Jonathan Chen Date: Thu, 12 Oct 2017 17:18:17 +1300 Message-ID: Subject: Re: python 2 -> python 3 To: "Russell L. Carter" Cc: freebsd-ports@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Oct 2017 04:18:19 -0000 On 12 October 2017 at 17:01, Russell L. Carter 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