Browse Source

Use python3.11 as default (#885)

* use python3.11

* use python3.11

* removed 3.12

---------

Co-authored-by: Robert Brennan <accounts@rbren.io>
மனோஜ்குமார் பழனிச்சாமி 1 year ago
parent
commit
18348911c2
4 changed files with 7 additions and 9 deletions
  1. 2 2
      .github/workflows/build_run-tests.yml
  2. 4 4
      Makefile
  3. 0 3
      README.md
  4. 1 0
      frontend/.husky/pre-commit

+ 2 - 2
.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

+ 4 - 4
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

+ 0 - 3
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

+ 1 - 0
frontend/.husky/pre-commit

@@ -1,2 +1,3 @@
+#!/bin/sh
 cd frontend
 npx lint-staged