Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Attempt Report: Unsupported OS Version Causes Failure on Ubuntu 18 #3309

Closed
XitaoLi opened this issue Aug 9, 2024 · 1 comment
Closed
Labels
installation Related to installation and setup

Comments

@XitaoLi
Copy link

XitaoLi commented Aug 9, 2024

I set up the project in development mode within a conda environment.

conda start

  1. Clone the OpenDevin repository git clone --branch 0.8.3 [email protected]:OpenDevin/OpenDevin.git --depth 1
  2. Create a new conda environment conda create -n opendevin python==3.11
  3. Activate the 'opendevin' conda environment. conda activate opendevin
  4. Install Node.js version 20.1.0 conda install nodejs=20.1.0 -c conda-forge
  5. Install Poetry version 1.8.3 conda install poetry=1.8.3 -c conda-forge

make build

I meet the same issue with python-poetry/poetry#8623 and finally work in export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring

The log of make build

Building project...
Checking dependencies...
Checking system...
Linux detected.
Checking Python installation...
Python 3.11.0 is already installed.
Checking npm installation...
npm 9.6.4 is already installed.
Checking Node.js installation...
Node.js 20.1.0 is already installed.
Checking Docker installation...
Docker version 24.0.2, build cb74dfc is already installed.
Checking Poetry installation...
Poetry (version 1.8.3) is already installed.
Dependencies checked successfully.
Pulling Docker image...
main: Pulling from opendevin/sandbox
9b857f539cb1: Already exists 
38b5be456c52: Pull complete 
ad6a8e181ad4: Pull complete 
bb91da979046: Pull complete 
301b630c62b0: Pull complete 
48efcded81ff: Pull complete 
1e4acd2c8045: Pull complete 
dbd86e3282e3: Pull complete 
ff8b8ed3ace8: Pull complete 
b3e351eecd0d: Pull complete 
08b62080b9c3: Pull complete 
21d8c961fc49: Pull complete 
48b9aaeb439c: Pull complete 
cb33a43be0ee: Pull complete 
e07d23bd23c6: Pull complete 
Digest: sha256:da9321f4a9ded38a30dc1ab16310fe72edd0c1a493c5cfd2ec5cd1b9e47af01c
Status: Downloaded newer image for ghcr.io/opendevin/sandbox:main
ghcr.io/opendevin/sandbox:main
Docker image pulled successfully.
Installing Python dependencies...
Defaulting TZ (timezone) to UTC
Using virtualenv: /data1/lxt/.cache/pypoetry/virtualenvs/opendevin-Uqz4aV3A-py3.11
Installing dependencies from lock file
Package operations: 8 installs, 11 updates, 0 removals

  - Downgrading pip (24.2 -> 24.1.1)
  - Downgrading openai (1.38.0 -> 1.37.1)
  - Installing shellingham (1.5.4)
  - Downgrading botocore (1.34.153 -> 1.34.151)
  - Installing dnspython (2.6.1)
  - Installing httptools (0.6.1)
  - Installing typer (0.12.3)
  - Installing uvloop (0.19.0)
  - Installing watchfiles (0.22.0)
  - Installing email-validator (2.2.0): Pending...
  - Installing email-validator (2.2.0)
  - Installing fastapi-cli (0.0.4)
  - Downgrading uvicorn (0.30.5 -> 0.30.3)
  - Downgrading boto3 (1.34.153 -> 1.34.151)
  - Downgrading fastapi (0.112.0 -> 0.111.1)
  - Downgrading grep-ast (0.3.3 -> 0.3.2)
  - Downgrading json-repair (0.26.0 -> 0.25.3)
  - Downgrading litellm (1.42.12 -> 1.42.5)
  - Downgrading python-pptx (1.0.0 -> 0.6.23)
  - Downgrading swebench (2.0.12 c2b3cef -> 2.0.2 4498af9): Cloning...

Stopped in Downgrading swebench, I fix it by run poetry self update (See #2528)

The log

Package operations: 0 installs, 1 update, 0 removals

  - Downgrading swebench (2.0.12 c2b3cef -> 2.0.2 4498af9)

Installing the current project: opendevin (0.8.2)
Running playwright install --with-deps chromium...
Installing dependencies...
Switching to root user to install dependencies...
[sudo] password for xxx: 
xxx is not in the sudoers file.  This incident will be reported.
Failed to install browsers

The authority problem has been discussed in #11165

Then I su to root user to run playwright install --with-deps chromium, errors come

$ playwright install --with-deps chromium
BEWARE: your OS is not officially supported by Playwright; installing dependencies for ubuntu18.04-x64 as a fallback.
Cannot install dependencies for ubuntu18.04-x64!
Failed to install browsers
Error: ERROR: Playwright does not support chromium on ubuntu18.04-x64

Search for web, the ubuntu 18 has been discarded after 1.29, but in the poetry.lock file , which requires playwright = ">=1.32,<1.40", which means run this project on Ubuntu 18 with the same dependencies is impossible.

@dosubot dosubot bot added the installation Related to installation and setup label Aug 9, 2024
@neubig
Copy link
Contributor

neubig commented Aug 9, 2024

Thanks for the report @XitaoLi! But given that Ubuntu 18 is now 6 years old, I think we're probably not going to be able to commit resources to supporting it. I would suggest running OpenDevin in a newer environment.

@neubig neubig closed this as not planned Won't fix, can't repro, duplicate, stale Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installation Related to installation and setup
Projects
None yet
Development

No branches or pull requests

2 participants