[
https://issues.apache.org/jira/browse/ARROW-13636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17403131#comment-17403131
]
Joris Van den Bossche commented on ARROW-13636:
-----------------------------------------------
[~uwe] in case that helps, I also encountered a seemingly similar pypy conflict
issue without pyarrow included (at least, I still reproduce the issue after
leaving out pyarrow from the list of packages to install):
{code}
$ mamba create -n test python=3.7 numpy=1.18 pandas=0.25 mapclassify=2.4.0
...
Looking for: ['python=3.7', 'numpy=1.18', 'pandas=0.25', 'mapclassify=2.4.0']
...
Encountered problems while solving:
- package python-3.7.9-4_73_pypy requires python_abi 3.7 *_pypy37_pp73, but
none of the providers can be installed
{code}
I think the specific problem here is that there is a conflict between the
recent mapclassify=2.4 and the old pandas=0.25, but still the fact that it
looks at pypy versions in the dependency resolution seems wrong.
> [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: Major
> 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)