[ 
https://issues.apache.org/jira/browse/ARROW-2987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17660012#comment-17660012
 ] 

Rok Mihevc commented on ARROW-2987:
-----------------------------------

This issue has been migrated to [issue 
#19349|https://github.com/apache/arrow/issues/19349] on GitHub. Please see the 
[migration documentation|https://github.com/apache/arrow/issues/14542] for 
further details.

> [Python] test_cython_api can fail if run in an environment where 
> vsvarsall.bat has been run more than once
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: ARROW-2987
>                 URL: https://issues.apache.org/jira/browse/ARROW-2987
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>    Affects Versions: 0.10.0
>            Reporter: Wes McKinney
>            Assignee: Wes McKinney
>            Priority: Major
>             Fix For: 0.12.0
>
>
> I encountered this when verifying the 0.10.0 release on Windows
> {code}
> pyarrow/tests/test_cython.py::test_cython_api Compiling 
> pyarrow_cython_example.pyx because it changed.
> [1/1] Cythonizing pyarrow_cython_example.pyx
> running build_ext
> building 'pyarrow_cython_example' extension
> b'*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00\r\x00\n\x00*\x00*\x00
>  \x00V\x00i\x00s\x00u\x00a\x00l\x00 \x00S\x00t\x00u\x00d\x00i\x00o\x00 
> \x002\x000\x001\x007\x00 \x00D\x00e\x00v\x00e\x00l\x00o\x00p\x00e\x00r\x00 
> \x00C\x00o\x00m\x00m\x00a\x00n\x00d\x00 \x00P\x00r\x00o\x00m\x00p\x00t\x00 
> \x00v\x001\x005\x00.\x004\x00.\x001\x00\r\x00\n\x00*\x00*\x00 
> \x00C\x00o\x00p\x00y\x00r\x00i\x00g\x00h\x00t\x00 \x00(\x00c\x00)\x00 
> \x002\x000\x001\x007\x00 \x00M\x00i\x00c\x00r\x00o\x00s\x00o\x00f\x00t\x00 
> \x00C\x00o\x00r\x00p\x00o\x00r\x00a\x00t\x00i\x00o\x00n\x00\r\x00\n\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00*\x00\r\x00\n\x00T\x00h\x00e\x00
>  \x00i\x00n\x00p\x00u\x00t\x00 \x00l\x00i\x00n\x00e\x00 \x00i\x00s\x00 
> \x00t\x00o\x00o\x00 \x00l\x00o\x00n\x00g\x00.\x00\r\x00\n\x00T\x00h\x00e\x00 
> \x00s\x00y\x00n\x00t\x00a\x00x\x00 \x00o\x00f\x00 \x00t\x00h\x00e\x00 
> \x00c\x00o\x00m\x00m\x00a\x00n\x00d\x00 \x00i\x00s\x00 
> \x00i\x00n\x00c\x00o\x00r\x00r\x00e\x00c\x00t\x00.\x00\r\x00\n\x00'
> error: Error executing cmd /u /c "C:\Program Files (x86)\Microsoft Visual 
> Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64 && set
> {code}
> Seems to be the same issue as 
> https://developercommunity.visualstudio.com/content/problem/257260/vcvarsallbat-reports-the-input-line-is-too-long-if.html
> I think the problem is that this unit test inherits the calling environment, 
> and distutils runs this command again which alters the environment further. 
> I'm not sure what's the best way to work around this yet



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to