Taragolis commented on PR #29519:
URL: https://github.com/apache/airflow/pull/29519#issuecomment-1430307742

   ```console
   
     × python setup.py bdist_wheel did not run successfully.
     │ exit code: 1
     ╰─> [16 lines of output]
         running bdist_wheel
         running build
         running build_ext
         building 'pyodbc' extension
         creating build
         creating build/temp.linux-x86_64-3.7
         creating build/temp.linux-x86_64-3.7/src
         gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 
-Wall -fPIC -DPYODBC_VERSION=4.0.32 -I/usr/local/include/python3.7m -c 
src/buffer.cpp -o build/temp.linux-x86_64-3.7/src/buffer.o -Wno-write-strings
         In file included from /usr/include/sql.h:19,
                          from src/pyodbc.h:56,
                          from src/buffer.cpp:12:
         /usr/include/sqltypes.h:56:10: fatal error: unixodbc.h: No such file 
or directory
            56 | #include "unixodbc.h"
               |          ^~~~~~~~~~~~
         compilation terminated.
         error: command 'gcc' failed with exit status 1
         [end of output]
     
     note: This error originates from a subprocess, and is likely not a problem 
with pip.
     ERROR: Failed building wheel for pyodbc
   ```
   
   I guess changes for this PR have led to rebuild image almost from scratch 
(without caches) and get `unixodbc` 2.3.11 and other related packages which is 
not work with `pyodbc` 4.0.32, and unfortunetly `pyodbc==4.0.32` is a 
constraint for Airflow 2.3.0
   
   Same as described here:
   - https://github.com/apache/airflow/discussions/29510
   - 
https://github.com/microsoft/linux-package-repositories/issues/36#issuecomment-1430184884
   


-- 
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]

Reply via email to