websockets package requires support for "creating contiguous readonly buffer from non-contiguous"
I've just tried building websockets on PyPy3.9 and I'm getting test failures similar to the following:
======================================================================
ERROR: test_apply_mask_non_contiguous_memoryview (tests.test_utils.SpeedupsTests) (data_in=<memory at 0x00007f452c3758f8>, mask=b'4321'
)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/portage/dev-python/websockets-10.2/work/websockets-10.2/tests/test_utils.py", line 61, in test_apply_mask_non_contiguous_m
emoryview
result = self.apply_mask(data_in, mask)
File "/tmp/portage/dev-python/websockets-10.2/work/websockets-10.2/tests/test_utils.py", line 91, in apply_mask
return c_apply_mask(*args, **kwargs)
NotImplementedError: creating contiguous readonly buffer from non-contiguous not implemented yet
I'm going to try disabling C extensions on PyPy to work around it but I guess it's worth noting that there's a potential consumer for this API.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information