New comment by ahesford on void-packages repository https://github.com/void-linux/void-packages/pull/25860#issuecomment-716078424 Comment: This patch hasn't been accepted upstream, but I've reviewed what's happening here and don't have a problem with it. The issue is that the custom `IPv6AddressScoped` subclass of `ipaddress.IPv6Address` in the standard library does not use the superclass initializer, and in Python 3.9, the superclass defines a read-only `scope_id` backed by a private `_scope_id` attribute created in the initializer. This private attribute is referenced when computing a hash of the `IPv6Address` object. The proposed patch appears to set the private attribute the same way the superclass initializer would if that initializer were used. If upstream accepts the patch, we should see it folded into a future release; otherwise, I would expect upstream to refactor the subclass to avoid this issue with Python 3.9. For now, let's get the package working.