tools(docker): Fix manylinux script
This commit is contained in:
@@ -70,7 +70,6 @@ function export_manylinux_wheel {
|
||||
[[ -e "$FILE" ]] || continue
|
||||
#cp "$FILE" "${export_root}/${FILE%.whl}"_unfixed.whl
|
||||
auditwheel show "$FILE"
|
||||
#/opt/_internal/cpython-3.7.8/bin/python -m auditwheel -v repair --plat manylinux2010_x86_64 "$FILE" -w "$export_root"
|
||||
auditwheel -v repair --plat manylinux2010_x86_64 "$FILE" -w "$export_root"
|
||||
done
|
||||
}
|
||||
@@ -141,12 +140,6 @@ TESTS=(
|
||||
|
||||
###############################################################################
|
||||
# Main
|
||||
# Force the use of wheel 0.31.1 since 0.32 is broken
|
||||
# cf pypa/auditwheel#102
|
||||
#/opt/_internal/cpython-3.6.6/bin/python -m pip install wheel==0.31.1
|
||||
|
||||
# Downgrade auditwheel
|
||||
#/opt/_internal/cpython-3.7.8/bin/pip install auditwheel==2.0.0
|
||||
|
||||
mkdir -p "${BUILD_ROOT}"
|
||||
mkdir -p "${EXPORT_ROOT}"
|
||||
@@ -202,7 +195,7 @@ do
|
||||
|
||||
# Save old hash and size, in order to look them up in RECORD
|
||||
# see: https://github.com/pypa/pip/blob/c9df690f3b5bb285a855953272e6fe24f69aa08a/src/pip/_internal/wheel.py#L71-L84
|
||||
WHEEL_HASH_CMD="/opt/_internal/cpython-3.7.8/bin/python3 -c \
|
||||
WHEEL_HASH_CMD="/opt/_internal/cpython-3.8.*/bin/python3 -c \
|
||||
\"import hashlib;\
|
||||
import base64;\
|
||||
print(\
|
||||
|
||||
Reference in New Issue
Block a user