From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: src/pkgcheck/checks/, tests/checks/
Date: Sat, 26 Nov 2022 11:47:32 +0000 (UTC) [thread overview]
Message-ID: <1669316512.0c533a1ece525ff7e010b92dd2423b49328e04ff.arthurzam@gentoo> (raw)
commit: 0c533a1ece525ff7e010b92dd2423b49328e04ff
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 24 19:01:52 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> 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 <mgorny <AT> 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(
next reply other threads:[~2022-11-26 11:47 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-26 11:47 Arthur Zamarin [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-16 12:17 [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: src/pkgcheck/checks/, tests/checks/ Arthur Zamarin
2024-03-07 16:06 Arthur Zamarin
2023-07-15 8:52 Arthur Zamarin
2023-03-11 7:14 Arthur Zamarin
2023-03-05 17:13 Arthur Zamarin
2023-03-04 5:59 Arthur Zamarin
2023-01-21 9:46 Arthur Zamarin
2023-01-20 20:47 Arthur Zamarin
2022-11-26 11:47 Arthur Zamarin
2022-10-28 13:34 Arthur Zamarin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1669316512.0c533a1ece525ff7e010b92dd2423b49328e04ff.arthurzam@gentoo \
--to=arthurzam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox