You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "jorisvandenbossche (via GitHub)" <gi...@apache.org> on 2023/03/30 15:16:32 UTC

[GitHub] [arrow] jorisvandenbossche opened a new issue, #34805: [CI][Python] Cython test is failing in conda packaging builds

jorisvandenbossche opened a new issue, #34805:
URL: https://github.com/apache/arrow/issues/34805

   See for example this [log output](https://dev.azure.com/ursacomputing/crossbow/_build/results?buildId=46427&view=logs&j=0da5d1d9-276d-5173-c4c4-9d4d4ed14fdb&t=d9b15392-e4ce-5e4c-0c8c-b69645229181) of the latest [conda-linux-x64-cpu-py3](https://github.com/ursacomputing/crossbow/runs/12391191018) build.
   
   The `test_cpp_extension_in_python` is failing, which is a test building some custom cython, and it's failing with 
   
   ```
   ...
               # Compile extension module
   >           subprocess.check_call([sys.executable, 'setup.py',
                                      'build_ext', '--inplace'],
                                     env=subprocess_env)
   
   ...
   >           raise CalledProcessError(retcode, cmd)
   E           subprocess.CalledProcessError: Command '['$PREFIX/bin/python3.11', 'setup.py', 'build_ext', '--inplace']' returned non-zero exit status 1.
   
   ../../../subprocess.py:413: CalledProcessError
   ----------------------------- Captured stdout call -----------------------------
   Compiling extensions.pyx because it changed.
   [1/1] Cythonizing extensions.pyx
   Extension module: <setuptools.extension.Extension('extensions') at 0x7f8bfb469c90> ['$PREFIX/lib/python3.11/site-packages/numpy/core/include', '$PREFIX/lib/python3.11/site-packages/pyarrow/include'] ['arrow_python', 'arrow'] ['$PREFIX/lib/python3.11/site-packages/pyarrow', '$PREFIX/lib']
   running build_ext
   building 'extensions' extension
   creating build
   creating build/temp.linux-x86_64-cpython-311
   gcc -pthread -B $PREFIX/compiler_compat -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem $PREFIX/include -fPIC -O2 -isystem $PREFIX/include -fPIC -I$PREFIX/lib/python3.11/site-packages/numpy/core/include -I$PREFIX/lib/python3.11/site-packages/pyarrow/include -I$PREFIX/include/python3.11 -c extensions.cpp -o build/temp.linux-x86_64-cpython-311/extensions.o -std=c++17
   ----------------------------- Captured stderr call -----------------------------
   error: command 'gcc' failed: No such file or directory
   ```
   
   So it's complaining about "gcc" not found. I don't know if this test is supposed to work on those builds, but the strange thing is that we have other tests that call the exact same subprocess command, and those are not failing.


-- 
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: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow] h-vetinari commented on issue #34805: [CI][Python] Cython test is failing in conda packaging builds

Posted by "h-vetinari (via GitHub)" <gi...@apache.org>.
h-vetinari commented on issue #34805:
URL: https://github.com/apache/arrow/issues/34805#issuecomment-1507874311

   Yes, I added a compiler to the test requirements, so `gcc` will be found on linux 


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow] jorisvandenbossche closed issue #34805: [CI][Python] Cython test is failing in conda packaging builds

Posted by "jorisvandenbossche (via GitHub)" <gi...@apache.org>.
jorisvandenbossche closed issue #34805: [CI][Python] Cython test is failing in conda packaging builds
URL: https://github.com/apache/arrow/issues/34805


-- 
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: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow] jorisvandenbossche commented on issue #34805: [CI][Python] Cython test is failing in conda packaging builds

Posted by "jorisvandenbossche (via GitHub)" <gi...@apache.org>.
jorisvandenbossche commented on issue #34805:
URL: https://github.com/apache/arrow/issues/34805#issuecomment-1506638418

   This seems to have been fixed by https://github.com/apache/arrow/pull/34652


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org