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 11C23138CD0 for ; Sat, 30 May 2015 14:58:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 91A80E097A; Sat, 30 May 2015 14:58:07 +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 1D941E096A for ; Sat, 30 May 2015 14:58:07 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 1282A340CC3 for ; Sat, 30 May 2015 14:58:05 +0000 (UTC) From: Mike Frysinger To: gentoo-portage-dev@lists.gentoo.org Subject: [gentoo-portage-dev] [PATCH] officially drop support for python 2.6, 3.1, and 3.2 Date: Sat, 30 May 2015 10:58:03 -0400 Message-Id: <1432997883-13531-1-git-send-email-vapier@gentoo.org> X-Mailer: git-send-email 2.4.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org X-Archives-Salt: 47e4ed49-9d3b-40b9-bc6d-4a99dd083845 X-Archives-Hash: 9c6159208992988ef155b5230691792c 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 -- 2.4.1