On Wed, Jul 12, 2023 at 11:04 AM Jerry James <loganjerry@xxxxxxxxx> wrote: > On Wed, Jul 12, 2023 at 11:00 AM Richard W.M. Jones <rjones@xxxxxxxxxx> wrote: > > > My test build of the swig package, which succeeded, was done with > > > python 3.11. I suspect that this is python 3.12 breakage. The OCaml > > > testsuite passed, so this failure is probably unrelated to the OCaml > > > 5.0.0 update. > > > > Not sure how to fix this. We could disable the SWIG tests entirely, > > but that's quite aggressive. > > I'll see if I can figure it out. This looks like a python 3.12 bug: https://bugzilla.redhat.com/show_bug.cgi?id=2222449 On an x86_64 Fedora 38 machine, with python 3.11: $ python3 Python 3.11.4 (main, Jun 7 2023, 00:00:00) [GCC 13.1.1 20230511 (Red Hat 13.1.1-2)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> x = "hello" >>> sys.getrefcount(x) 2 >>> y = x >>> sys.getrefcount(x) 3 On an x86_64 Rawhide machine, with python 3.12: $ python3 Python 3.12.0b3 (main, Jun 21 2023, 00:00:00) [GCC 13.1.1 20230614 (Red Hat 13.1.1-4)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> x = "hello" >>> sys.getrefcount(x) 4294967295 >>> y = x >>> sys.getrefcount(x) 4294967295 -- Jerry James http://www.jamezone.org/ _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue