summaryrefslogtreecommitdiff
path: root/dev-lang/micropython/micropython-1.25.0.ebuild
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2025-06-13 01:08:09 +0100
committerSam James <sam@gentoo.org>2025-06-13 01:08:33 +0100
commit0e1febd9151d05013fd6ebcf65193d6e0ecf5d5e (patch)
treee9f03d0365e27496861d5724f3d4bda931b81752 /dev-lang/micropython/micropython-1.25.0.ebuild
parentea02deeec1ffec0e391c400cf458939ebdf41d9c (diff)
downloadgentoo-0e1febd9151d05013fd6ebcf65193d6e0ecf5d5e.tar.gz
gentoo-0e1febd9151d05013fd6ebcf65193d6e0ecf5d5e.tar.bz2
gentoo-0e1febd9151d05013fd6ebcf65193d6e0ecf5d5e.zip
dev-lang/micropython: enable py3.14
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang/micropython/micropython-1.25.0.ebuild')
-rw-r--r--dev-lang/micropython/micropython-1.25.0.ebuild22
1 files 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