From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C2687158098 for ; Fri, 13 Jun 2025 00:09:31 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id ADD69342497 for ; Fri, 13 Jun 2025 00:09:31 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 367D31104E7; Fri, 13 Jun 2025 00:09:23 +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) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 307261104E7 for ; Fri, 13 Jun 2025 00:09:23 +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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DDCBE342408 for ; Fri, 13 Jun 2025 00:09:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 30C392903 for ; Fri, 13 Jun 2025 00:09:20 +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: <1749773313.0e1febd9151d05013fd6ebcf65193d6e0ecf5d5e.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/micropython/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/micropython/micropython-1.25.0.ebuild X-VCS-Directories: dev-lang/micropython/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 0e1febd9151d05013fd6ebcf65193d6e0ecf5d5e X-VCS-Branch: master Date: Fri, 13 Jun 2025 00:09:20 +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: a2694d61-77c8-4752-a3ce-c718dfa8ccf8 X-Archives-Hash: c637e63cccec58fec6935337a50d2a5b commit: 0e1febd9151d05013fd6ebcf65193d6e0ecf5d5e Author: Sam James gentoo org> AuthorDate: Fri Jun 13 00:08:09 2025 +0000 Commit: Sam James gentoo org> CommitDate: Fri Jun 13 00:08:33 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e1febd9 dev-lang/micropython: enable py3.14 Signed-off-by: Sam James gentoo.org> dev-lang/micropython/micropython-1.25.0.ebuild | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/dev-lang/micropython/micropython-1.25.0.ebuild b/dev-lang/micropython/micropython-1.25.0.ebuild index c6f41ebfd277..7b92e01519aa 100644 --- a/dev-lang/micropython/micropython-1.25.0.ebuild +++ b/dev-lang/micropython/micropython-1.25.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{11..13} ) +PYTHON_COMPAT=( python3_{11..14} ) inherit toolchain-funcs python-any-r1 @@ -26,12 +26,24 @@ BDEPEND=" src_prepare() { default + micropython_skip_test() { + local file + for file in "$@" ; do + cat <<-EOF > "${file}" || die + print("SKIP") + raise SystemExit + EOF + done + } + # Fails with minor output differences but also seems sensitive # to timeout. - cat <<-EOF > tests/extmod/select_poll_fd.py || die - print("SKIP") - raise SystemExit - EOF + micropython_skip_test tests/extmod/select_poll_fd.py + # These fail with Python 3.14 + micropython_skip_test tests/basics/try_finally_break{,{2..5}}.py + micropython_skip_test tests/basics/try_finally_return{,{2..5}}.py + micropython_skip_test tests/float/math_fun{,_special}.py + micropython_skip_test tests/float/complex1.py # Both ports/unix and mpy-cross need their Makefile changed. # 1) don't die on compiler warning