[jira] [Commented] (ARROW-13636) [CI] Bogus Python install (includes PyPy) from conda-forge on AppVeyor

2022-09-08 Thread Antoine Pitrou (Jira)


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

Antoine Pitrou commented on ARROW-13636:


I have no idea if it was fixed in conda-forge, but we can close this issue 
anyway.

> [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.20.10#820010)


[jira] [Commented] (ARROW-13636) [CI] Bogus Python install (includes PyPy) from conda-forge on AppVeyor

2022-09-08 Thread Joris Van den Bossche (Jira)


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

Joris Van den Bossche commented on ARROW-13636:
---

I suppose this is fixed in the meantime? 

> [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.20.10#820010)


[jira] [Commented] (ARROW-13636) [CI] Bogus Python install (includes PyPy) from conda-forge on AppVeyor

2021-08-23 Thread Joris Van den Bossche (Jira)


[ 
https://issues.apache.org/jira/browse/ARROW-13636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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)


[jira] [Commented] (ARROW-13636) [CI] Bogus Python install (includes PyPy) from conda-forge on AppVeyor

2021-08-16 Thread Antoine Pitrou (Jira)


[ 
https://issues.apache.org/jira/browse/ARROW-13636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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)