On 17/05/2026 20:23, Soren via Cygwin-apps wrote:
As I wrote in the Subject:... so, setup shows me that I have the
development package with headers, and so does cygcheck. I am not the author
working on python extensions, they are extensions from PyPi that are
building under pip.  Typical error is like so:

   × Building wheel for brotli (pyproject.toml) did not run successfully.
   │ exit code: 1
   ╰─> [28 lines of output]

/cygdrive/c/Users/somia/AppData/Local/Temp/pip-build-env-p1c92lq2/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py:287:
UserWarning: Unknown distribution option: 'test_suite'
         warnings.warn(msg)
       running bdist_wheel
       running build
       running build_py
       creating bin/lib.cygwin-3.6.9-x86_64-cpython-312
       copying python/brotli.py -> bin/lib.cygwin-3.6.9-x86_64-cpython-312
       running build_ext
       <string>:82: DeprecationWarning: dep_util is Deprecated. Use
functions from setuptools instead.
       building '_brotli' extension
       creating bin/temp.cygwin-3.6.9-x86_64-cpython-312/python
       creating bin/temp.cygwin-3.6.9-x86_64-cpython-312/c/common
       creating bin/temp.cygwin-3.6.9-x86_64-cpython-312/c/dec
       creating bin/temp.cygwin-3.6.9-x86_64-cpython-312/c/enc
       gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall
-Ic/include
-I/cygdrive/c/Users/somia/local/share/python-venv/beleriand/include
-I/usr/include/python3.12 -c python/_brotli.c -o
bin/temp.cygwin-3.6.9-x86_64-cpython-312/python/_brotli.o
       python/_brotli.c:7:10: fatal error: Python.h: No such file or
directory
           7 | #include <Python.h>
             |          ^~~~~~~~~~
       compilation terminated.

you need python312-devel as you are using 3.12


Reply via email to