I also removed a workaround for macOS that appears to be obsolete with the latest Python and pywb versions.
In case it happens to anyone else: After updating to Python 3.11, make functests initially failed on my system with a SystemError: unknown opcode error. Removing my checkout of viahtml and running the tests in a fresh clone of the repo solved the issue.
https://github.com/hypothesis/viahtml/pull/657 added support for Python 3.11 in pywb, so hopefully we can now update the project as a whole.
I also removed a workaround for macOS that appears to be obsolete with the latest Python and pywb versions.
In case it happens to anyone else: After updating to Python 3.11,
make functests
initially failed on my system with aSystemError: unknown opcode
error. Removing my checkout ofviahtml
and running the tests in a fresh clone of the repo solved the issue.