From 18348911c2469e8558aac8701abe6a070bd67aef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=AE=AE=E0=AE=A9=E0=AF=8B=E0=AE=9C=E0=AF=8D=E0=AE=95?= =?UTF-8?q?=E0=AF=81=E0=AE=AE=E0=AE=BE=E0=AE=B0=E0=AF=8D=20=E0=AE=AA?= =?UTF-8?q?=E0=AE=B4=E0=AE=A9=E0=AE=BF=E0=AE=9A=E0=AF=8D=E0=AE=9A=E0=AE=BE?= =?UTF-8?q?=E0=AE=AE=E0=AE=BF?= Date: Wed, 17 Apr 2024 22:58:16 +0530 Subject: [PATCH] Use python3.11 as default (#885) * use python3.11 * use python3.11 * removed 3.12 --------- Co-authored-by: Robert Brennan --- .github/workflows/build_run-tests.yml | 4 ++-- Makefile | 8 ++++---- README.md | 3 --- frontend/.husky/pre-commit | 1 + 4 files changed, 7 insertions(+), 9 deletions(-) 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