Building source code from pypi fails with python3.11.
Closed this issue · 3 comments
sabonerune commented
I don't think it's officially supported yet.
The reason I opened this issue is that if I install from git it succeeds.
# Failed
pip install pyopenjtalk
# Success
pip install git+https://github.com/r9y9/pyopenjtalk.git@v0.3.0
Probably because the generated code in the sdist was not compatible for Python3.11.
I think the next release should include code generated by a newer version of Cython in sdist.
note:
Maybe sdist shouldn't contain generated code.
ZYD20200827 commented
sabonerune commented
FileNotFoundError: [WinError 2]
may be caused by the build tools not being properly prepared.
On Windows need to install MSVC and CMake and set the appropriate environment variables.
ref: https://learn.microsoft.com/cpp/build/building-on-the-command-line#path_and_environment
And I think exit code : 128
is an error by git.
sabonerune commented
Closed as it has been fixed in pyopenjtalk>=0.3.2
.