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 361C7158064 for ; Thu, 9 May 2024 16:48:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 06F7BE2A2E; Thu, 9 May 2024 16:48:20 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E210CE2A2E for ; Thu, 9 May 2024 16:48:19 +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 E837D3430A2 for ; Thu, 9 May 2024 16:48:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 304841A81 for ; Thu, 9 May 2024 16:48:17 +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: <1715273290.ee9c3a11450ef4ea88008043bd32b9c0063e075e.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pexpect/pexpect-4.9.0.ebuild X-VCS-Directories: dev-python/pexpect/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: ee9c3a11450ef4ea88008043bd32b9c0063e075e X-VCS-Branch: master Date: Thu, 9 May 2024 16:48:17 +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: e177a6ff-b0c4-46f3-8dbb-3c13dc709f37 X-Archives-Hash: 583097ba735a93b50cc70d815239fb6c commit: ee9c3a11450ef4ea88008043bd32b9c0063e075e Author: Michał Górny gentoo org> AuthorDate: Thu May 9 16:26:01 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu May 9 16:48:10 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee9c3a11 dev-python/pexpect: Enable py3.13 Signed-off-by: Michał Górny gentoo.org> dev-python/pexpect/pexpect-4.9.0.ebuild | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/dev-python/pexpect/pexpect-4.9.0.ebuild b/dev-python/pexpect/pexpect-4.9.0.ebuild index 46cbdc59f88f..a12292320218 100644 --- a/dev-python/pexpect/pexpect-4.9.0.ebuild +++ b/dev-python/pexpect/pexpect-4.9.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 pypi @@ -33,13 +33,32 @@ src_test() { # workaround new readline defaults echo "set enable-bracketed-paste off" > "${T}"/inputrc || die local -x INPUTRC="${T}"/inputrc + + distutils-r1_src_test +} + +python_test() { local EPYTEST_DESELECT=( # flaky test on weaker arches tests/test_performance.py # requires zsh installed, not worth it tests/test_replwrap.py::REPLWrapTestCase::test_zsh + # flaky + tests/test_env.py::TestCaseEnv::test_spawn_uses_env ) - distutils-r1_src_test + + case ${EPYTHON} in + python3.13) + EPYTEST_DESELECT+=( + # TODO: changes in python3.13's prompt? + tests/test_replwrap.py::REPLWrapTestCase::test_python + tests/test_replwrap.py::REPLWrapTestCase::test_no_change_prompt + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest } python_install_all() {