From 449179bcecc5a58e0a0cdefd191e1b781afd6d21 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Thu, 19 Sep 2024 16:19:33 +0200 Subject: [PATCH] Install requests before building pip package --- tests/build_pip.ps1 | 2 +- tests/build_pip_mac.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/build_pip.ps1 b/tests/build_pip.ps1 index 2692af82..c665edcb 100644 --- a/tests/build_pip.ps1 +++ b/tests/build_pip.ps1 @@ -10,7 +10,7 @@ $env:NETGEN_ARCH = 'avx2' $pydir=$args[0] & $pydir\python.exe --version -& $pydir\python.exe -m pip install packaging +& $pydir\python.exe -m pip install packaging requests & $pydir\python.exe tests\utils.py --check-pip if ($LASTEXITCODE -ne 0) { exit 0 diff --git a/tests/build_pip_mac.sh b/tests/build_pip_mac.sh index d6f6cb7a..1824ea9a 100755 --- a/tests/build_pip_mac.sh +++ b/tests/build_pip_mac.sh @@ -7,7 +7,7 @@ export PATH=$PYDIR:/Applications/CMake.app/Contents/bin:$PATH export NETGEN_CCACHE=1 $PYDIR/python3 --version -$PYDIR/python3 -m pip install packaging +$PYDIR/python3 -m pip install packaging requests $PYDIR/python3 tests/utils.py --check-pip || exit 0 $PYDIR/python3 -m pip install --user numpy twine scikit-build wheel pybind11-stubgen $PYDIR/python3 -m pip install --user -U netgen-occt==7.8.1 netgen-occt-devel==7.8.1