You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Xingbo Huang (Jira)" <ji...@apache.org> on 2023/03/21 08:05:00 UTC
[jira] [Commented] (FLINK-29421) Support python 3.10
[ https://issues.apache.org/jira/browse/FLINK-29421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17703083#comment-17703083 ]
Xingbo Huang commented on FLINK-29421:
--------------------------------------
[~Peter_Howe] apache beam hasn't supported python 3.11. After beam support python 3.11, pyflink can upgrade dependency to support 3.11.
> Support python 3.10
> -------------------
>
> Key: FLINK-29421
> URL: https://issues.apache.org/jira/browse/FLINK-29421
> Project: Flink
> Issue Type: New Feature
> Components: API / Python
> Reporter: Eric Sirianni
> Assignee: Huang Xingbo
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.17.0
>
>
> The {{apache-flink}} package fails to install on Python 3.10 due to inability to compile {{numpy}}
> {noformat}
> numpy/core/src/multiarray/scalartypes.c.src:3242:12: error: too few arguments to function ‘_Py_HashDouble’
> 3242 | return _Py_HashDouble(npy_half_to_double(((PyHalfScalarObject *)obj)->obval));
> | ^~~~~~~~~~~~~~
> In file included from /home/sirianni/.asdf/installs/python/3.10.6/include/python3.10/Python.h:77,
> from numpy/core/src/multiarray/scalartypes.c.src:3:
> /home/sirianni/.asdf/installs/python/3.10.6/include/python3.10/pyhash.h:10:23: note: declared here
> 10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
> {noformat}
> Numpy issue https://github.com/numpy/numpy/issues/19033
> [Mailing list thread|https://lists.apache.org/thread/f4r9hjt1l33xf5ngnswszhnls4cxkk52]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)