π OpenHands: AI-Driven Development
Fixing bug #8214 -ImportError During pip install --upgrade pip on Github Actions (#8229)
Neeraj Panwarb030594646c9
diff --git a/.github/workflows/openhands-resolver.yml b/.github/workflows/openhands-resolver.ymlindex f34e49bc6d..917e1b3d5b 100644--- a/.github/workflows/openhands-resolver.yml+++ b/.github/workflows/openhands-resolver.yml@@ -92,6 +92,9 @@ jobs:uses: actions/setup-python@v5with:python-version: "3.12"+ - name: Upgrade pip+ run: |+ python -m pip install --upgrade pip- name: Get latest versions and create requirements.txtrun: |@@ -229,11 +232,11 @@ jobs:// Perform package installationif (isExperimentalLabel || isIssueCommentExperimental || isReviewCommentExperimental) {console.log("Installing experimental OpenHands...");- await exec.exec("python -m pip install --upgrade pip");+await exec.exec("pip install git+https://github.com/all-hands-ai/openhands.git");} else {console.log("Installing from requirements.txt...");- await exec.exec("python -m pip install --upgrade pip");+await exec.exec("pip install -r /tmp/requirements.txt");}