Skip to content

Commit

Permalink
Add --user flag
Browse files Browse the repository at this point in the history
#232 is failing with a "This
environment is externally managed" error from pip because it's trying to
install to the system Python.

For some reason this doesn't happen on a fork, e.g.,
bpcreech#2. I assume this is due to a
Github probably runner change; I'm not sure whether intentional.

Anyway we can just be explicit; pip should just use a user install during the
test run.
  • Loading branch information
Ben Creech committed Oct 12, 2024
1 parent 6c99bee commit 40bc732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.pyver }}
- run: pip install 'pip >=23' build
- run: pip install --user 'pip >=23' build
- run: python -m build
- run: pip install dist/localstripe-*.tar.gz
- run: python -m localstripe &
Expand Down

0 comments on commit 40bc732

Please sign in to comment.