diff --git a/packaging/post_build_script.sh b/packaging/post_build_script.sh index d69bbdc..619a290 100755 --- a/packaging/post_build_script.sh +++ b/packaging/post_build_script.sh @@ -17,7 +17,7 @@ echo `ls libs_to_bundle` export LD_LIBRARY_PATH="$PWD/libs_to_bundle:$LD_LIBRARY_PATH" # This is the oldest we can do based on the existing dependencies. -wheel_platform="manylinux_2_39_x86_64" +wheel_platform="manylinux_2_28_x86_64" ${CONDA_RUN} auditwheel -v repair --plat $wheel_platform $wheel_path --exclude libtorch_python.so --exclude libc10.so --exclude libtorch.so --exclude libtorch_cpu.so --wheel-dir dist @@ -27,8 +27,8 @@ mkdir original_wheel mv $wheel_path original_wheel/ -# This is absolutely disgusting, we're effectively pretending that the wheel is -# compatible with older platforms than it actually does. -new_wheel_platform="manylinux_2_17_x86_64.manylinux2014_x86_64" -echo "Replacing ${wheel_platform} with ${new_wheel_platform} in wheel name" -mv dist/*${wheel_platform}*.whl $(echo dist/*${wheel_platform}*.whl | sed "s/${wheel_platform}/${new_wheel_platform}/") +# # This is absolutely disgusting, we're effectively pretending that the wheel is +# # compatible with older platforms than it actually does. +# new_wheel_platform="manylinux_2_17_x86_64.manylinux2014_x86_64" +# echo "Replacing ${wheel_platform} with ${new_wheel_platform} in wheel name" +# mv dist/*${wheel_platform}*.whl $(echo dist/*${wheel_platform}*.whl | sed "s/${wheel_platform}/${new_wheel_platform}/") diff --git a/packaging/pre_build_script.sh b/packaging/pre_build_script.sh index 3e5ea3e..e55952a 100644 --- a/packaging/pre_build_script.sh +++ b/packaging/pre_build_script.sh @@ -1,4 +1,4 @@ #!/bin/bash pip install auditwheel -conda install libavif libheif -c conda-forge -yq +conda install "libavif=1.0.1" "libheif=1.16.2" -c conda-forge -yq