liferoad commented on PR #34233:
URL: https://github.com/apache/beam/pull/34233#issuecomment-2711238085
With python-snappy==0.6.1, we cannot build it with Python 3.11 and 3.12:
```
× Building wheel for python-snappy (pyproject.toml) did not run
successfully.
│ exit code: 1
╰─> [23 lines of output]
/tmp/pip-build-env-6fw2y_yl/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py:289:
UserWarning: Unknown distribution option: 'cffi_modules'
warnings.warn(msg)
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-311/snappy
copying src/snappy/__main__.py ->
build/lib.linux-x86_64-cpython-311/snappy
copying src/snappy/snappy_cffi.py ->
build/lib.linux-x86_64-cpython-311/snappy
copying src/snappy/snappy.py ->
build/lib.linux-x86_64-cpython-311/snappy
copying src/snappy/snappy_cffi_builder.py ->
build/lib.linux-x86_64-cpython-311/snappy
copying src/snappy/__init__.py ->
build/lib.linux-x86_64-cpython-311/snappy
copying src/snappy/hadoop_snappy.py ->
build/lib.linux-x86_64-cpython-311/snappy
copying src/snappy/snappy_formats.py ->
build/lib.linux-x86_64-cpython-311/snappy
running build_ext
building 'snappy._snappy' extension
creating build/temp.linux-x86_64-cpython-311/src/snappy
gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC
-I/opt/hostedtoolcache/Python/3.11.11/x64/include/python3.11 -c
src/snappy/crc32c.c -o build/temp.linux-x86_64-cpython-311/src/snappy/crc32c.o
g++ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC
-I/opt/hostedtoolcache/Python/3.11.11/x64/include/python3.11 -c
src/snappy/snappymodule.cc -o
build/temp.linux-x86_64-cpython-311/src/snappy/snappymodule.o
src/snappy/snappymodule.cc:33:10: fatal error: snappy-c.h: No such
file or directory
33 | #include <snappy-c.h>
| ^~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/g++' failed with exit code 1
[end of output]
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]