Skip to content

🙌 OpenHands: AI-Driven Development

Use python3.11 as default (#885)

மனோஜ்குமார் பழனிச்சாமி18348911c246
diff --git a/.github/workflows/build_run-tests.yml b/.github/workflows/build_run-tests.yml
index 0b3d1131e9..38f771fae6 100644
--- a/.github/workflows/build_run-tests.yml
+++ b/.github/workflows/build_run-tests.yml
@@ -7,7 +7,7 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
- python-version: ["3.11", "3.12"]
+ python-version: ["3.11"]
steps:
- uses: actions/checkout@v4
@@ -31,7 +31,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- python-version: ["3.11", "3.12"]
+ python-version: ["3.11"]
steps:
- uses: actions/checkout@v4
diff --git a/Makefile b/Makefile
index 669f1b885b..d0be6beb66 100644
--- a/Makefile
+++ b/Makefile
@@ -38,10 +38,10 @@ check-dependencies:
check-python:
@echo "$(YELLOW)Checking Python installation...$(RESET)"
- @if command -v python3 > /dev/null; then \
- echo "$(BLUE)$(shell python3 --version) is already installed.$(RESET)"; \
+ @if command -v python3.11 > /dev/null; then \
+ echo "$(BLUE)$(shell python3.11 --version) is already installed.$(RESET)"; \
else \
- echo "$(RED)Python 3 is not installed. Please install Python 3 to continue.$(RESET)"; \
+ echo "$(RED)Python 3.11 is not installed. Please install Python 3.11 to continue.$(RESET)"; \
exit 1; \
fi
@@ -69,7 +69,7 @@ check-poetry:
echo "$(BLUE)$(shell poetry --version) is already installed.$(RESET)"; \
else \
echo "$(RED)Poetry is not installed. You can install poetry by running the following command, then adding Poetry to your PATH:"; \
- echo "$(RED) curl -sSL https://install.python-poetry.org | python3 -$(RESET)"; \
+ echo "$(RED) curl -sSL https://install.python-poetry.org | python3.11 -$(RESET)"; \
echo "$(RED)More detail here: https://python-poetry.org/docs/#installing-with-the-official-installer$(RESET)"; \
exit 1; \
fi
diff --git a/README.md b/README.md
index cda794607a..33e7f19490 100644
--- a/README.md
+++ b/README.md
@@ -118,9 +118,6 @@ After completing the MVP, the team will focus on research in various areas, incl
* Our default Agent is currently the MonologueAgent, which has limited capabilities, but is fairly stable. We're working on other Agent implementations, including [SWE Agent](https://swe-agent.com/). You can [read about our current set of agents here](./docs/documentation/Agents.md).
## 🚀 Get Started
-
-Getting started with the OpenDevin project is incredibly easy. Follow these simple steps to set up and run OpenDevin on your system:
-
The easiest way to run OpenDevin is inside a Docker container.
You can run:
```bash
diff --git a/frontend/.husky/pre-commit b/frontend/.husky/pre-commit
index 2feeddd686..a336d7e46e 100755
--- a/frontend/.husky/pre-commit
+++ b/frontend/.husky/pre-commit
@@ -1,2 +1,3 @@
+#!/bin/sh
cd frontend
npx lint-staged
\ No newline at end of file