Fix: 빌드 격리로 인한 numpy 재컴파일을 원천 차단하기 위해 --no-build-isolation 추가 및 SETUPTOOLS_USE_DISTUTILS=stdlib 구성
This commit is contained in:
@@ -24,6 +24,8 @@ jobs:
|
||||
git reset --hard FETCH_HEAD
|
||||
|
||||
- name: Install Python Dependencies
|
||||
env:
|
||||
SETUPTOOLS_USE_DISTUTILS: stdlib
|
||||
run: |
|
||||
if ! python3 -m pip --version >/dev/null 2>&1; then
|
||||
curl -sS https://bootstrap.pypa.io/pip/3.8/get-pip.py -o get-pip.py
|
||||
@@ -33,9 +35,9 @@ jobs:
|
||||
export PATH=$HOME/.local/bin:$PATH
|
||||
python3 -m pip install --upgrade pip --user --quiet
|
||||
python3 -m pip install "setuptools<60.0" --user --quiet --prefer-binary
|
||||
python3 -m pip install "numpy<1.21.0" --user --quiet --prefer-binary
|
||||
if [ -f requirements.txt ]; then python3 -m pip install -r requirements.txt --user --quiet --prefer-binary; fi
|
||||
python3 -m pip install "pandas<1.5.0" "yfinance<0.2.0" pyyaml openpyxl --user --quiet --prefer-binary
|
||||
python3 -m pip install "numpy<1.21.0" --user --quiet --prefer-binary --no-build-isolation
|
||||
if [ -f requirements.txt ]; then python3 -m pip install -r requirements.txt --user --quiet --prefer-binary --no-build-isolation; fi
|
||||
python3 -m pip install "pandas<1.5.0" "yfinance<0.2.0" pyyaml openpyxl --user --quiet --prefer-binary --no-build-isolation
|
||||
echo "$HOME/.local/bin" >> $GITHUB_PATH
|
||||
|
||||
- name: Install Node Dependencies
|
||||
|
||||
Reference in New Issue
Block a user