Thanks to visit codestin.com
Credit goes to github.com

Skip to content

aborting due to: PyEval_InitThreads’ is deprecated #27

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

Closed
ThomasWaldmann opened this issue Oct 4, 2020 · 4 comments
Closed

aborting due to: PyEval_InitThreads’ is deprecated #27

ThomasWaldmann opened this issue Oct 4, 2020 · 4 comments

Comments

@ThomasWaldmann
Copy link
Collaborator

ThomasWaldmann commented Oct 4, 2020

doesn't compile on travis-ci, ubuntu focal / python 3.9-dev:

gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -I/home/travis/virtualenv/python3.9-dev/include -I/opt/python/3.9-dev/include/python3.9 -c src/llfuse.c -o build/temp.linux-x86_64-3.9/src/llfuse.o -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -DFUSE_USE_VERSION=29 -Wall -Wextra -Wconversion -Wsign-compare -DLLFUSE_VERSION="1.3.7" -Wno-unused-function -Wno-implicit-fallthrough -Wno-unused-parameter -Werror -Wfatal-errors -Wno-error=unreachable-code -Werror=conversion -Werror=sign-compare

src/llfuse.c: In function ‘__pyx_f_6llfuse_session_loop_mt’:
src/llfuse.c:42419:3: error: ‘PyEval_InitThreads’ is deprecated [-Werror=deprecated-declarations]
42419 |   PyEval_InitThreads();
      |   ^~~~~~~~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
cc1: all warnings being treated as errors
@ThomasWaldmann
Copy link
Collaborator Author

@ThomasWaldmann
Copy link
Collaborator Author

related to #22 ?

@ThomasWaldmann
Copy link
Collaborator Author

this was fixed for travis-ci testing by not enabling DEVELOPER_MODE on travis-ci, see #26.

@ThomasWaldmann
Copy link
Collaborator Author

the aborting is fixed by #30.

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

No branches or pull requests

1 participant