Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Ensure Python 3.10 & 3.11 compatability (#1815)

Drikus Roor24d5e1fc8aa5
diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml
index 750366d8ba..53b6e7a0a0 100644
--- a/.github/workflows/benchmark.yml
+++ b/.github/workflows/benchmark.yml
@@ -9,7 +9,7 @@ jobs:
environment: benchmark
strategy:
matrix:
- python-version: ['3.10']
+ python-version: ['3.10', '3.11']
steps:
- name: Check out repository
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index f437a71c01..b37e7f0042 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -13,18 +13,17 @@ concurrency:
jobs:
lint:
runs-on: ubuntu-latest
- strategy:
- matrix:
- python-version: ['3.10']
+ env:
+ min-python-version: '3.10'
steps:
- name: Check out repository
uses: actions/checkout@v3
- - name: Set up Python ${{ matrix.python-version }}
+ - name: Set up Python ${{ env.min-python-version }}
uses: actions/setup-python@v2
with:
- python-version: ${{ matrix.python-version }}
+ python-version: ${{ env.min-python-version }}
- name: Install dependencies
run: |
@@ -46,7 +45,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- python-version: ['3.10']
+ python-version: ['3.10', '3.11']
steps:
- name: Check out repository