pytorch / builder

Continuous builder and binary build scripts for pytorch
BSD 2-Clause "Simplified" License
323 stars 213 forks source link

Remove cpython 3.7.5 from Docker #1885

Closed atalman closed 1 week ago

atalman commented 1 week ago

try to mitigate Docker build issue

Error:

#37 285.1 ERROR: This script does not work on Python 3.7 The minimum supported Python version is 3.8. Please use https://bootstrap.pypa.io/pip/3.7/get-pip.py instead.
#37 ERROR: process "/bin/sh -c bash build_scripts/build.sh && rm -r build_scripts" did not complete successfully: exit code: 1
------
 > [python 3/3] RUN bash build_scripts/build.sh && rm -r build_scripts:
268.9 + make install
284.8 + [[ --enable-shared == \-\-\e\n\a\b\l\e\-\s\h\a\r\e\d ]]
284.8 + patchelf --set-rpath '$ORIGIN/../lib' /opt/_internal/cpython-3.7.5/bin/python3
284.8 + popd
284.8 + rm -rf Python-3.7.5
284.8 /
285.0 + '[' -e /opt/_internal/cpython-3.7.5/bin/python3 ']'
285.0 + ln -s python3 /opt/_internal/cpython-3.7.5/bin/python
285.0 + /opt/_internal/cpython-3.7.5/bin/python get-pip.py
285.1 ERROR: This script does not work on Python 3.7 The minimum supported Python version is 3.8. Please use https://bootstrap.pypa.io/pip/3.7/get-pip.py instead.

Can be seen here: https://github.com/pytorch/builder/actions/runs/9632759825/job/26630628070