python-websockets/websockets

speedups.c is missing from the 13.0 source distribution

BwL1289 opened this issue · 4 comments

speedups.c is missing from source distribution. This is a regression of #1329.

To reproduce:

  1. Download source dist from https://files.pythonhosted.org/packages/0f/b0/e53bdd53d86447d211694f3cf66f163d077c5d68e6bcaa726bf64e88ae3a/websockets-13.0.tar.gz
  2. tar ztvf /Downloads/websockets-13.0.tar.gz | grep speedups
-rw-r--r--  0 runner docker     55 Aug 20 08:23 websockets-13.0/src/websockets/speedups.pyi

compilation error:

/opt/llvm_toolchain/bin/clang -std=gnu17 <redacted> -I/usr/local/include -fPIC -I/usr/local/include/python3.12 -c src/websockets/speedups.c -o build/temp.linux-aarch64-cpython-312/src/websockets/speedups.o
  clang: error: no such file or directory: 'src/websockets/speedups.c'
  error: command '/opt/llvm_toolchain/bin/clang' failed with exit code 1

Oops. Probably a regression from 4d0e0e1. I'll fix it.

@aaugustin thank you!

Can confirm this works 👍 . Thanks!