Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
fix: support pip install -e --user
Browse files Browse the repository at this point in the history
We are affected by this pip bug: pypa/pip#7953
The version of pip that ships with ubuntu 22.04 cannot install in
editable (-e) mode in the user directory (--user).
  • Loading branch information
regisb committed May 29, 2023
1 parent f3bfa00 commit 05e12f5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ jobs:
chmod 600 ~/.ssh/demo.key
env:
SSH_KEY: ${{ secrets.DEMO_SSH_KEY }}
- name: Upgrade python requirements
# Older versions of pip are affected by this issue which prevents us from
# installing in editable mode in ~/.local:
# https://github.com/pypa/pip/issues/7953
run: |
$SSH "#! /bin/bash -e
pip install --user --upgrade pip==23.1.2 setuptools
"
# Server system dependencies, to be run separately
# apt update && apt install -y python3-pip
- name: Install dependencies, tutor and plugins (from source)
Expand Down

0 comments on commit 05e12f5

Please sign in to comment.