From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F0EAC15800A for ; Wed, 26 Jul 2023 07:58:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2B22AE07E6; Wed, 26 Jul 2023 07:58:36 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 10953E07E6 for ; Wed, 26 Jul 2023 07:58:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 409EE335D3C for ; Wed, 26 Jul 2023 07:58:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CCD70B88 for ; Wed, 26 Jul 2023 07:58:33 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1690358310.edb9a6244be524ace95a48282e114d073ff37ad8.sam@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: /, .github/workflows/ X-VCS-Repository: proj/portage X-VCS-Files: .github/workflows/ci.yml .github/workflows/lint.yml DEVELOPING NEWS README.md setup.py tox.ini X-VCS-Directories: .github/workflows/ / X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: edb9a6244be524ace95a48282e114d073ff37ad8 X-VCS-Branch: master Date: Wed, 26 Jul 2023 07:58:33 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8c7911de-b611-4c13-8928-3712c2466be8 X-Archives-Hash: 8667c24a98f9fad2d2e548c129acc672 commit: edb9a6244be524ace95a48282e114d073ff37ad8 Author: Sam James gentoo org> AuthorDate: Wed Jul 26 07:51:05 2023 +0000 Commit: Sam James gentoo org> CommitDate: Wed Jul 26 07:58:30 2023 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=edb9a624 Increase minimum Python version from Python 3.6/3.7 -> Python 3.9 We don't seem to have been consistent as to whether it was 3.6 or 3.7, but we weren't testing it consistently anyway. It feels too soon to go up to 3.10 unfortunately, but 3.6/3.7 are EOL and 3.8 is EOL next year, so let's do 3.9. Signed-off-by: Sam James gentoo.org> .github/workflows/ci.yml | 4 ---- .github/workflows/lint.yml | 2 -- DEVELOPING | 2 +- NEWS | 3 +++ README.md | 2 +- setup.py | 2 +- tox.ini | 4 +--- 7 files changed, 7 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c17e74e91..6bfe4847a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,14 +12,10 @@ jobs: strategy: matrix: python-version: - - '3.7' - - '3.8' - '3.9' - '3.10' - '3.11' - '3.12-dev' - - 'pypy-3.7' - - 'pypy-3.8' - 'pypy-3.9' fail-fast: false steps: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 8263567a1..469cffe37 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -22,8 +22,6 @@ jobs: strategy: matrix: python-version: - - '3.7' - - '3.8' - '3.9' - '3.10' - '3.11' diff --git a/DEVELOPING b/DEVELOPING index 2f05d49b5..0d414c4da 100644 --- a/DEVELOPING +++ b/DEVELOPING @@ -9,7 +9,7 @@ bad habits that exist in the current codebase. Python Version -------------- -Python 3.7 is the minimum supported version. +Python 3.9 is the minimum supported version. Dependencies ------------ diff --git a/NEWS b/NEWS index fe59a1ddf..fcbbdb2a5 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,9 @@ portage-3.0.50 (UNRELEASED) -------------- +Breaking changes: +* The minimum supported Python version is now >= Python 3.9. + Bug fixes: * install-qa-check.d/05prefix: Fix prefixifying shebang for >= EAPI 7 ebuilds (bug #909147). diff --git a/README.md b/README.md index 08b06c10f..481d12bac 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ git config blame.ignoreRevsFile .git-blame-ignore-revs Dependencies ============ -Python and Bash should be the only hard dependencies. Python 3.7 is the +Python and Bash should be the only hard dependencies. Python 3.9 is the minimum supported version. Native Extensions diff --git a/setup.py b/setup.py index 3c343aabd..4525264c7 100755 --- a/setup.py +++ b/setup.py @@ -921,5 +921,5 @@ setup( "Programming Language :: Python :: 3", "Topic :: System :: Installation/Setup", ], - python_requires=">=3.6", + python_requires=">=3.9", ) diff --git a/tox.ini b/tox.ini index cec7dd833..4ea388e35 100644 --- a/tox.ini +++ b/tox.ini @@ -1,11 +1,9 @@ [tox] -envlist = py{37,38,39,310,311,312}-{pylint,test},pypy3-test +envlist = py{39,310,311,312}-{pylint,test},pypy3-test skipsdist = True [gh-actions] python = - 3.7: py37 - 3.8: py38 3.9: py39 3.10: py310 3.11: py311