Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-29421

Support python 3.10

    XMLWordPrintableJSON

Details

    • PyFlink 1.17 will support Python 3.10 and remove the support of Python 3.6

    Description

      The apache-flink package fails to install on Python 3.10 due to inability to compile numpy

                  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);
      
      

      Numpy issue https://github.com/numpy/numpy/issues/19033

      Mailing list thread

      Attachments

        Issue Links

          Activity

            People

              hxbks2ks Huang Xingbo
              sirianni Eric Sirianni
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: