casra-developers commented on PR #29935:
URL: https://github.com/apache/airflow/pull/29935#issuecomment-1465700628

   Sadly, I cannot run the tests in a venv since ```pip install ".[devel]"``` 
fails while installing the **mysqlclient** module.
   ```
   ERROR: Command errored out with exit status 1:
        command: 'd:\repositories\airflow\venv\scripts\python.exe' -u -c 
'import sys, setuptools, tokenize; sys.argv[0] = 
'"'"'C:\\Users\\dwerner\\AppData\\Local\\Temp\\pip-install-q7q2htii\\mysqlclient\\setup.py'"'"';
 
__file__='"'"'C:\\Users\\dwerner\\AppData\\Local\\Temp\\pip-install-q7q2htii\\mysqlclient\\setup.py'"'"';f=getattr(tokenize,
 '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', 
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install 
--record 
'C:\Users\dwerner\AppData\Local\Temp\pip-record-ei7va7xj\install-record.txt' 
--single-version-externally-managed --compile --install-headers 
'd:\repositories\airflow\venv\include\site\python3.7\mysqlclient'
            cwd: 
C:\Users\dwerner\AppData\Local\Temp\pip-install-q7q2htii\mysqlclient\
       Complete output (31 lines):
       running install
       
d:\repositories\airflow\venv\lib\site-packages\setuptools\command\install.py:37:
 SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and 
pip and other standards-based tools.
         setuptools.SetuptoolsDeprecationWarning,
       running build
       running build_py
       creating build
       creating build\lib.win-amd64-cpython-37
       creating build\lib.win-amd64-cpython-37\MySQLdb
       copying MySQLdb\__init__.py -> build\lib.win-amd64-cpython-37\MySQLdb
       copying MySQLdb\_exceptions.py -> build\lib.win-amd64-cpython-37\MySQLdb
       copying MySQLdb\connections.py -> build\lib.win-amd64-cpython-37\MySQLdb
       copying MySQLdb\converters.py -> build\lib.win-amd64-cpython-37\MySQLdb
       copying MySQLdb\cursors.py -> build\lib.win-amd64-cpython-37\MySQLdb
       copying MySQLdb\release.py -> build\lib.win-amd64-cpython-37\MySQLdb
       copying MySQLdb\times.py -> build\lib.win-amd64-cpython-37\MySQLdb
       creating build\lib.win-amd64-cpython-37\MySQLdb\constants
       copying MySQLdb\constants\__init__.py -> 
build\lib.win-amd64-cpython-37\MySQLdb\constants
       copying MySQLdb\constants\CLIENT.py -> 
build\lib.win-amd64-cpython-37\MySQLdb\constants
       copying MySQLdb\constants\CR.py -> 
build\lib.win-amd64-cpython-37\MySQLdb\constants
       copying MySQLdb\constants\ER.py -> 
build\lib.win-amd64-cpython-37\MySQLdb\constants
       copying MySQLdb\constants\FIELD_TYPE.py -> 
build\lib.win-amd64-cpython-37\MySQLdb\constants
   iaDB Connector C\include\mariadb" "-IC:\Program Files\MariaDB\MariaDB 
Connector C\include" -Id:\repositories\airflow\venv\include "-IC:\Program 
Files\Python37\include" "-IC:\Program Files\Python37\Include" "-IC:\Program 
Files\Microsoft Visual 
Studio\2022\Enterprise\VC\Tools\MSVC\14.35.32215\include" "-IC:\Program 
Files\Microsoft Visual 
Studio\2022\Enterprise\VC\Tools\MSVC\14.35.32215\ATLMFC\include" "-IC:\Program 
Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\VS\include" 
"-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" 
"-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\um" 
"-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\shared" 
"-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\winrt" 
"-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\cppwinrt" 
"-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" 
/TcMySQLdb/_mysql.c 
/Fobuild\temp.win-amd64-cpython-37\Release\MySQLdb/_mysql.obj
       _mysql.c
       MySQLdb/_mysql.c(29): fatal error C1083: Cannot open include file: 
'mysql.h': No such file or directory
       error: command 'C:\\Program Files\\Microsoft Visual 
Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.35.32215\\bin\\HostX86\\x64\\cl.exe'
 failed with exit code 2
       ----------------------------------------
   ERROR: Command errored out with exit status 1: 
'd:\repositories\airflow\venv\scripts\python.exe' -u -c 'import sys, 
setuptools, tokenize; sys.argv[0] = 
'"'"'C:\\Users\\dwerner\\AppData\\Local\\Temp\\pip-install-q7q2htii\\mysqlclient\\setup.py'"'"';
 
__file__='"'"'C:\\Users\\dwerner\\AppData\\Local\\Temp\\pip-install-q7q2htii\\mysqlclient\\setup.py'"'"';f=getattr(tokenize,
 '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', 
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install 
--record 
'C:\Users\dwerner\AppData\Local\Temp\pip-record-ei7va7xj\install-record.txt' 
   --single-version-externally-managed --compile --install-headers 
'd:\repositories\airflow\venv\include\site\python3.7\mysqlclient' Check the 
logs for full command output.
   ```
   There seems to be a header file missing when building the module.


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