Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931773 - dev-lang/python-3.13.0_beta1_p1 5 test failures
Summary: dev-lang/python-3.13.0_beta1_p1 5 test failures
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-05-11 19:23 UTC by ktoupt
Modified: 2024-05-24 06:12 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,256.61 KB, text/x-log)
2024-05-11 19:23 UTC, ktoupt
Details
emerge --info (info.txt,7.26 KB, text/plain)
2024-05-11 19:23 UTC, ktoupt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ktoupt 2024-05-11 19:23:03 UTC
Created attachment 892747 [details]
build.log

[ebuild  NS   ] dev-lang/python-3.13.0_beta1_p1 [3.11.9, 3.12.3] USE="ensurepip gdbm ncurses pgo readline sqlite ssl verify-sig -bluetooth -build -debug -examples -jit% -libedit -test -tk -valgrind" LLVM_SLOT="18%*"

on a musl system
Comment 1 ktoupt 2024-05-11 19:23:44 UTC
Created attachment 892748 [details]
emerge --info
Comment 2 Abulhair Saparov 2024-05-24 04:01:53 UTC
I am also getting test failures which is preventing this package from emerging. The test failures are probably due to my optimization flags. However, I noticed that <python-3.13 would emerge fine, ignoring those test failures. From the ebuild, I can't see why 3.13 tests would have different behavior.
Comment 3 Abulhair Saparov 2024-05-24 04:02:53 UTC
Forgot to mention this is happening to me with dev-lang/python-3.13.0_beta1_p2
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-05-24 04:26:59 UTC
(In reply to Abulhair Saparov from comment #2)
> I am also getting test failures which is preventing this package from
> emerging. The test failures are probably due to my optimization flags.
> However, I noticed that <python-3.13 would emerge fine, ignoring those test
> failures. From the ebuild, I can't see why 3.13 tests would have different
> behavior.

You're almost certainly using USE=pgo. Upstream fixed/modified the behaviour for PGO to fail on failures.
Comment 5 Abulhair Saparov 2024-05-24 06:12:12 UTC
Ah yes it's because of pgo. Emerging with -pgo succeeds.

Hmm, it seems like the profiling tests use system sqlite as well, so in order to use PGO I would need to add exceptions to optimization flags for both sqlite and python.