[
https://issues.apache.org/jira/browse/ARROW-13636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17399836#comment-17399836
]
Antoine Pitrou commented on ARROW-13636:
----------------------------------------
I merged a workaround PR, but I guess this remains to be fixed properly (on the
conda-forge side perhaps).
> [CI] Bogus Python install (includes PyPy) from conda-forge on AppVeyor
> ----------------------------------------------------------------------
>
> Key: ARROW-13636
> URL: https://issues.apache.org/jira/browse/ARROW-13636
> Project: Apache Arrow
> Issue Type: Bug
> Components: Continuous Integration, Python
> Reporter: Antoine Pitrou
> Priority: Blocker
> Labels: pull-request-available
> Time Spent: 50m
> Remaining Estimate: 0h
>
> It looks like our conda-forge installs on AppVeyor builds have started
> installing PyPy in addition to CPython:
> https://ci.appveyor.com/project/ApacheSoftwareFoundation/arrow/builds/40397220/job/k7h0lli1jfbnpb3g#L182
> This is turn fails the build because the PyPy C headers seem to take
> precedence over the regular CPython C header:
> https://ci.appveyor.com/project/ApacheSoftwareFoundation/arrow/builds/40397220/job/k7h0lli1jfbnpb3g#L1033
> {code}
> ..\src\arrow/python/datetime.h(34): error C2220: warning treated as error -
> no 'object' file generated
> ..\src\arrow/python/datetime.h(34): warning C4005: 'PyDateTimeAPI': macro
> redefinition
> c:\miniconda37-x64\envs\arrow\include\pypy_decl.h(1134): note: see previous
> definition of 'PyDateTimeAPI'
> C:/projects/arrow/cpp/src/arrow/python/util/test_main.cc(29): error C3861:
> 'Py_Initialize': identifier not found
> C:/projects/arrow/cpp/src/arrow/python/util/test_main.cc(38): error C3861:
> 'Py_Finalize': identifier not found
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)