Brave upgrade error: Failed to build python2-xcb-proto

Pamac says that there’s an upgrade to the Brave browser from the AUR, but when I try to upgrade it asks me to trust and import a GPG key. When I continue it says that the key could not be imported. When I close that it continues on then eventually ends up with the error: Failed to build python2-xcb-proto. Is there anyway to fix the upgrade?

See here