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 E5A54158020 for ; Sat, 26 Nov 2022 11:47:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2146DE0870; Sat, 26 Nov 2022 11:47:35 +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 0B5D3E0870 for ; Sat, 26 Nov 2022 11:47:35 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4D4E4341477 for ; Sat, 26 Nov 2022 11:47:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 632D474E for ; Sat, 26 Nov 2022 11:47:32 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1669316512.0c533a1ece525ff7e010b92dd2423b49328e04ff.arthurzam@gentoo> Subject: [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: src/pkgcheck/checks/, tests/checks/ X-VCS-Repository: proj/pkgcore/pkgcheck X-VCS-Files: src/pkgcheck/checks/python.py tests/checks/test_python.py X-VCS-Directories: src/pkgcheck/checks/ tests/checks/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 0c533a1ece525ff7e010b92dd2423b49328e04ff X-VCS-Branch: master Date: Sat, 26 Nov 2022 11:47:32 +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: f030d531-7801-4714-93f3-68f3abc37cd5 X-Archives-Hash: a5f465ada40e20e9235789c420585db9 commit: 0c533a1ece525ff7e010b92dd2423b49328e04ff Author: Michał Górny gentoo org> AuthorDate: Thu Nov 24 19:01:52 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Thu Nov 24 19:01:52 2022 +0000 URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=0c533a1e PythonCheck: stop testing for pypy(2.7) The eclasses no longer support the pypy target, so stop checking for dev-python/pypy. Signed-off-by: Michał Górny gentoo.org> src/pkgcheck/checks/python.py | 1 - tests/checks/test_python.py | 12 ------------ 2 files changed, 13 deletions(-) diff --git a/src/pkgcheck/checks/python.py b/src/pkgcheck/checks/python.py index bb4825e2..918b5d5b 100644 --- a/src/pkgcheck/checks/python.py +++ b/src/pkgcheck/checks/python.py @@ -20,7 +20,6 @@ ECLASSES = frozenset(['python-r1', 'python-single-r1', 'python-any-r1']) # NB: dev-java/jython omitted as not supported by the eclasses atm INTERPRETERS = frozenset([ 'dev-lang/python', - 'dev-python/pypy', 'dev-python/pypy3', ]) diff --git a/tests/checks/test_python.py b/tests/checks/test_python.py index 992b7dce..dd32147e 100644 --- a/tests/checks/test_python.py +++ b/tests/checks/test_python.py @@ -43,9 +43,6 @@ class TestPythonCheck(misc.ReportTestCase): self.check, self.mk_pkg(DEPEND='|| ( dev-lang/python:2.7 dev-lang/python:3.6 )')), python.MissingPythonEclass) - assert isinstance( - self.assertReport(self.check, self.mk_pkg(DEPEND='dev-python/pypy')), - python.MissingPythonEclass) def test_missing_eclass_bdepend(self): self.assertNoReport( @@ -70,9 +67,6 @@ class TestPythonCheck(misc.ReportTestCase): self.check, self.mk_pkg(BDEPEND='|| ( dev-lang/python:2.7 dev-lang/python:3.6 )')), python.MissingPythonEclass) - assert isinstance( - self.assertReport(self.check, self.mk_pkg(BDEPEND='dev-python/pypy')), - python.MissingPythonEclass) def test_missing_eclass_rdepend(self): self.assertNoReport( @@ -101,9 +95,6 @@ class TestPythonCheck(misc.ReportTestCase): self.check, self.mk_pkg(RDEPEND='|| ( dev-lang/python:2.7 dev-lang/python:3.6 )')), python.MissingPythonEclass) - assert isinstance( - self.assertReport(self.check, self.mk_pkg(RDEPEND='dev-python/pypy')), - python.MissingPythonEclass) def test_missing_eclass_pdepend(self): self.assertNoReport( @@ -131,9 +122,6 @@ class TestPythonCheck(misc.ReportTestCase): self.check, self.mk_pkg(PDEPEND='|| ( dev-lang/python:2.7 dev-lang/python:3.6 )')), python.MissingPythonEclass) - assert isinstance( - self.assertReport(self.check, self.mk_pkg(PDEPEND='dev-python/pypy')), - python.MissingPythonEclass) def test_valid_packages(self): self.assertNoReport(