Skip to content

Commit

Permalink
Merge pull request #484 from truenas/NAS-123615-23.10
Browse files Browse the repository at this point in the history
NAS-123615 / 23.10 / Fix makefile not able to setup virtualenv (by sonicaj)
  • Loading branch information
yocalebo authored Aug 18, 2023
2 parents da1a6db + 36afbd5 commit 0b4bff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ check:
ifneq ($(REPO_CHANGED),0)
@echo "Setting up new virtual environment"
@rm -rf venv-*
@${PYTHON} -m pip install -U virtualenv >/dev/null || { echo "Failed to install/upgrade virtualenv package"; exit 1; }
@${PYTHON} -m pip install --break-system-packages -U virtualenv >/dev/null || { echo "Failed to install/upgrade virtualenv package"; exit 1; }
@${PYTHON} -m venv venv-${COMMIT_HASH} || { echo "Failed to create virutal environment"; exit 1; }
@{ . ./venv-${COMMIT_HASH}/bin/activate && \
python3 -m pip install -r requirements.txt >/dev/null 2>&1 && \
Expand Down

0 comments on commit 0b4bff0

Please sign in to comment.