There are other instances of collections, which I fixed with the attached patch, or so I think.
But the build fails elsewhere, also during tests (and it's a long build, 6h!): https://launchpadlibrarian.net/584187637/buildlog_ubuntu-jammy- amd64.keras_2.3.1+dfsg-3ubuntu1~ppa2_BUILDING.txt.gz For example: assert 'group3' in group2 group3 = group2['group3'] > assert group3['y'] == [b'efg', b'hij', b'klmn'] E ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all() and if 'keras_version' in f.attrs: > original_keras_version = f.attrs['keras_version'].decode('utf8') E AttributeError: 'str' object has no attribute 'decode' ** Patch added: "0009-py310-collections-import.patch" https://bugs.launchpad.net/ubuntu/+source/keras/+bug/1959918/+attachment/5559280/+files/0009-py310-collections-import.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1959918 Title: Build failure with Python 3.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/keras/+bug/1959918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs