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 6E6C81580D3 for ; Tue, 21 Nov 2023 13:36:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9E23E2BC039; Tue, 21 Nov 2023 13:36:50 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 839B42BC039 for ; Tue, 21 Nov 2023 13:36:50 +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 5160D335D7B for ; Tue, 21 Nov 2023 13:36:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B300E13AB for ; Tue, 21 Nov 2023 13:36:47 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1700573804.fee1dae6160d5131be4ffa7f288926c4b1752ef4.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyglet/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyglet/pyglet-2.0.10.ebuild X-VCS-Directories: dev-python/pyglet/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: fee1dae6160d5131be4ffa7f288926c4b1752ef4 X-VCS-Branch: master Date: Tue, 21 Nov 2023 13:36:47 +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: 1f4ab3cf-0226-49ca-94d0-79993b4ce559 X-Archives-Hash: 0999f7e153618f61e43ba17e1ad5018b commit: fee1dae6160d5131be4ffa7f288926c4b1752ef4 Author: Michał Górny gentoo org> AuthorDate: Tue Nov 21 13:35:37 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Nov 21 13:36:44 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fee1dae6 dev-python/pyglet: Enable pypy3 Sponsored-by: Ex Makhina, Inc. exmakhina.com> Signed-off-by: Michał Górny gentoo.org> dev-python/pyglet/pyglet-2.0.10.ebuild | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/dev-python/pyglet/pyglet-2.0.10.ebuild b/dev-python/pyglet/pyglet-2.0.10.ebuild index 3264295ae589..b3fb9f719635 100644 --- a/dev-python/pyglet/pyglet-2.0.10.ebuild +++ b/dev-python/pyglet/pyglet-2.0.10.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 virtualx xdg-utils @@ -62,13 +62,15 @@ python_test() { tests/unit/media/test_player.py::PlayerTestCase::test_pause_resume tests/unit/test_clock_freq.py::test_elapsed_time_between_tick ) - if [[ ${EPYTHON} == python3.11 ]]; then - EPYTEST_DESELECT+=( - # broken test - # https://github.com/pyglet/pyglet/issues/606 - tests/unit/test_events.py::test_push_handlers_instance - ) - fi + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # https://github.com/pyglet/pyglet/issues/1000 + tests/unit/test_events.py::test_weakref_to_instance{,_method} + tests/unit/test_events.py::test_weakref_deleted_when_instance_is_deleted + ) + ;; + esac # Specify path to avoid running interactive tests # We could add in integration tests, but they're slow