Skip to content

Commit 02f99f1

Browse files
authored
ci: use Python 3.10 in linting & testing (#908)
* ci: use Python 3.8 in testing (lowest supported version) * ci: set ruff & black target-version to lowest supported py38 (from py311) * ci: bump minimum Python to 3.10 * ci: removed `paths` from on: ci config
1 parent 4a49502 commit 02f99f1

File tree

3 files changed

+5
-13
lines changed

3 files changed

+5
-13
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
name: Poetry install and pytest
22
on:
3-
pull_request:
4-
branches: [ main ]
5-
paths:
6-
- "**.py"
7-
- "**.yaml"
8-
- "**.yml"
93
push:
104
branches: [ main ]
11-
paths:
12-
- "**.py"
13-
- "**.yaml"
14-
- "**.yml"
5+
pull_request:
6+
branches: [ main ]
157

168
jobs:
179
test:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ GPT Engineer is made to be easy to adapt, extend, and make your agent learn how
2121

2222
## Setup
2323

24-
This project supports Python 3.8 - 3.11.
24+
This project supports Python 3.10 - 3.11.
2525

2626
Choose either **stable** or **development**.
2727

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,12 @@ experimental = ["llama-index", "rank-bm25", "tree_sitter_languages"]
8181
[tool.ruff]
8282
select = ["F", "E", "W", "I001"]
8383
show-fixes = false
84-
target-version = "py311"
84+
target-version = "py310"
8585
task-tags = ["TODO", "FIXME"]
8686
extend-ignore = ["E501", "E722"]
8787

8888
[tool.black]
89-
target-version = ["py311"]
89+
target-version = ["py310"]
9090

9191
[tool.ruff.isort]
9292
known-first-party = []

0 commit comments

Comments
 (0)