Skip to content

Add support for python 3.11 #1052

@ZzEeKkAa

Description

@ZzEeKkAa

Numba supports python 3.11 since 0.57.0. Now, that #1030 is merged we can provide this feature to numba-dpex.

I've faced following issue during build:

#18 9.187 gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/include/python3.11 -I/usr/local/lib/python3.11/site-packages -I/usr/local/lib/python3.11/site-packages/numpy/core/include -I/usr/local/lib/python3.11/site-packages/dpctl/include -I/usr/local/include/python3.11 -c numba_dpex/core/runtime/_dpexrt_python.c -o build/temp.linux-x86_64-cpython-311/numba_dpex/core/runtime/_dpexrt_python.o
#18 9.328 In file included from numba_dpex/core/runtime/_dpexrt_python.c:20:
#18 9.328 numba_dpex/core/runtime/_nrt_python_helper.h:40:2: error: #error "Python minor version is not supported."
#18 9.328    40 | #error "Python minor version is not supported."
#18 9.328       |  ^~~~~
#18 9.344 error: command '/usr/bin/gcc' failed with exit code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions