From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D437E138CDB for ; Thu, 4 Jun 2015 02:50:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B5402E08C1; Thu, 4 Jun 2015 02:50:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 66744E08C1 for ; Thu, 4 Jun 2015 02:50:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2DFFB34086C for ; Thu, 4 Jun 2015 02:50:25 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 22EDA9FC for ; Thu, 4 Jun 2015 02:50:22 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1433386186.611fed1c705fc04f9bd3a1dda2047ded47c15efa.vapier@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: / X-VCS-Repository: proj/portage X-VCS-Files: .travis.yml DEVELOPING README runtests.sh X-VCS-Directories: / X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 611fed1c705fc04f9bd3a1dda2047ded47c15efa X-VCS-Branch: master Date: Thu, 4 Jun 2015 02:50:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c5610ce6-6b3d-401a-b6f8-d1d2ae0bf8fd X-Archives-Hash: b2f499a79b456b4e64694b7b7e1ec594 commit: 611fed1c705fc04f9bd3a1dda2047ded47c15efa Author: Mike Frysinger gentoo org> AuthorDate: Sat May 30 14:53:15 2015 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Thu Jun 4 02:49:46 2015 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=611fed1c officially drop support for python 2.6, 3.1, and 3.2 We no longer support these in the ebuild and don't want to waste time implementing compatibility shims for them. .travis.yml | 2 -- DEVELOPING | 8 ++++---- README | 2 +- runtests.sh | 4 ++-- 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 69e1659..8a86aa6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,6 @@ language: python python: - - 2.6 - 2.7 - - 3.2 - 3.3 - 3.4 - pypy diff --git a/DEVELOPING b/DEVELOPING index 55470d8..0b0bb60 100644 --- a/DEVELOPING +++ b/DEVELOPING @@ -8,10 +8,10 @@ bad habits that exist in the current codebase. Python Version -------------- -Python 2.6 is the minimum supported version, since it is the first -version to support Python 3 syntax. All exception handling should use -Python 3 'except' syntax, and the print function should be used instead -of Python 2's print statement (from __future__ import print_function). +Python 2.7 is the minimum supported version as it eases 3.x compatibility. +All exception handling should use Python 3 'except' syntax, and the print +function should be used instead of Python 2's print statement (use "from +__future__ import print_function" everywhere). Dependencies ------------ diff --git a/README b/README index 5558dde..415a962 100644 --- a/README +++ b/README @@ -10,7 +10,7 @@ package managers. Dependencies ============ -Python and Bash should be the only hard dependencies. Python 2.6 is the +Python and Bash should be the only hard dependencies. Python 2.7 is the minimum supported version. diff --git a/runtests.sh b/runtests.sh index 651928f..a7ca101 100755 --- a/runtests.sh +++ b/runtests.sh @@ -3,8 +3,8 @@ # Distributed under the terms of the GNU General Public License v2 # These are the versions we care about. The rest are just "nice to have". -PYTHON_SUPPORTED_VERSIONS="2.6 2.7 3.2 3.3 3.4" -PYTHON_VERSIONS="2.6 2.7 pypy 3.1 3.2 3.3 3.4 3.5" +PYTHON_SUPPORTED_VERSIONS="2.7 3.3 3.4" +PYTHON_VERSIONS="2.7 pypy 3.3 3.4 3.5" # has to be run from portage root dir cd "${0%/*}" || exit 1