SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]
Only use pyproject.toml for project setup
Kilian Lieretfb2fe093a6a6
diff --git a/environment.yml b/environment.ymldeleted file mode 100644index 77e14e42..00000000--- a/environment.yml+++ /dev/null@@ -1,6 +0,0 @@-name: swe-agent-dependencies:- - python=3.9- - pip- - pip:- - -r requirements.txtdiff --git a/pyproject.toml b/pyproject.tomlindex fde28a13..28062ea7 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -36,6 +36,27 @@ classifiers = ["Programming Language :: Python :: 3 :: Only",]+dependencies = [+ "datasets",+ "numpy",+ "pandas",+ "rich",+ "ruamel.yaml",+ "tenacity",+ "unidiff",+ "simple-parsing",+ "rich-argparse",+ "flask",+ "flask-cors",+ "flask-socketio",+ "pydantic",+ "python-dotenv",+ "pydantic_settings",+ "litellm",+ "GitPython",+ "ghapi",+]+[project.scripts]sweagent = "sweagent.run.run:main"diff --git a/requirements.txt b/requirements.txtdeleted file mode 100644index 4eb8761f..00000000--- a/requirements.txt+++ /dev/null@@ -1,19 +0,0 @@-datasets-numpy-pandas-rich-ruamel.yaml-tenacity-unidiff-simple-parsing-# Versions of together below 1.1.0 are not compatible. see https://github.com/princeton-nlp/SWE-agent/issues/135-rich-argparse-flask-flask-cors-flask-socketio-pydantic-python-dotenv-pydantic_settings-litellm-GitPython-ghapi