Skip to content

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]

Enh: Align supported python versions (#881)

Yu Ishikawa35a25e172e90
diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml
index 302ab2f4..dff4f481 100644
--- a/.github/workflows/pytest.yaml
+++ b/.github/workflows/pytest.yaml
@@ -27,6 +27,9 @@ on:
jobs:
test:
runs-on: ubuntu-latest
+ strategy:
+ matrix:
+python-version: ["3.11", "3.12"]
defaults:
run:
shell: bash -l {0}
@@ -35,7 +38,7 @@ jobs:
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
- python-version: '3.11'
+ python-version: "${{ matrix.python-version }}"
- name: Install uv
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
diff --git a/Dockerfile b/Dockerfile
index fbebfa36..2121c0f6 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM python:3.9
+FROM python:3.11
# Set the working directory
WORKDIR /app
diff --git a/pyproject.toml b/pyproject.toml
index cec0ab04..6c88d5d6 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -33,7 +33,8 @@ classifiers = [
"Intended Audience :: Developers",
# Pick your license as you wish
"License :: OSI Approved :: MIT License",
- "Programming Language :: Python :: 3.9",
+ "Programming Language :: Python :: 3.11",
+ "Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
]