Closed studioego closed 2 years ago
This is unrelated to Pants. hiredis-py is just missing Python 3.10 wheels and triggering incompatible source builds on CentOS 7.
The proper fix is either:
Note that CentOS 7 is not our primary target platform as it uses too old kernel that does not support NSPid mapping, which is crucial for our enterprise CUDA plugin. Though, the open source edition may still run without that particular feature, and it is still good to have a prebuilt wheel for Python 3.10.
I found the issue, "New release for cp3.10 is not on pypi " on hiredis-py repo's open issue. https://github.com/redis/hiredis-py/issues/121
I think if We're going to solve it temporarily quickly, try to build our own Python 3.10 wheel with manylinux1 target and upload it to https://dist.backend.ai/pypi/simple
I made the hiredis-2.0.0-cp310-cp310-linux_x86_64.whl file for hiredis-py . How to make Python 3.10 whell with manylinux1 target
FYI @studioego : I've just added Contributing Document under lablup/backend.ai-oven.
@kyujin-cho , @achimnol I sent the hiredis-2.0-cp310 PR under lablup/backend.ai-oven https://github.com/lablup/backend.ai-oven/pull/5
Installed Backend.AI on CentOS 7
Resolved the issue on CentOS7. As a result, I close the issue.
Describe the bug During Backend.AI installation, a c99 error occurred in Hiredis while proceeding with the wheel build of the pantsbuild.
on Cent OS7, gcc version is 4.8.5.
To Reproduce
Expected behavior Successfully installed Backend.AI
Screenshots
Below is full log for build error on CentOS 7.
Server:
uname -a
: Linux localhost.localdomain 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/LinuxAdditional context CentOS 7.9 uses gcc version 4.8.5