Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for python 3.11 #1052

Closed
ZzEeKkAa opened this issue May 23, 2023 · 0 comments · Fixed by #1054
Closed

Add support for python 3.11 #1052

ZzEeKkAa opened this issue May 23, 2023 · 0 comments · Fixed by #1054

Comments

@ZzEeKkAa
Copy link
Contributor

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant