From b31985d8f74e470876685fb11ba1a7e1c9a44723 Mon Sep 17 00:00:00 2001 From: bolkedebruin Date: Thu, 30 Nov 2023 20:20:47 +0100 Subject: [PATCH] Relax aiobotocore versions to < 3.0.0 (#829) This relaxes the accepted aiobotocore versions to < 3.0.0 and provides a testing matrix against all recent knowmn versions, that can be extended at will. * Add python 3.12 to CI --- .github/workflows/ci.yml | 7 +++++-- requirements.txt | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c62c11ef..d5d28eee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,12 +4,13 @@ on: [push, pull_request] jobs: test: - name: Python ${{ matrix.python-version }} + name: Python ${{ matrix.python-version }} - AioBotocore ${{ matrix.aiobotocore-version }} runs-on: ubuntu-latest strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + aiobotocore-version: [">=2.5.4,<2.6.0", ">=2.7.0,<2.8.0", ">=2.8.0,<2.9.0", "<3.0.0"] env: BOTO_CONFIG: /dev/null @@ -33,7 +34,9 @@ jobs: shell: bash -l {0} run: | pip install git+https://github.com/fsspec/filesystem_spec + pip install --upgrade "aiobotocore${{ matrix.aiobotocore-version }}" boto3 # boto3 to ensure compatibility pip install . --no-deps + pip show aiobotocore boto3 botocore - name: Run Tests shell: bash -l {0} diff --git a/requirements.txt b/requirements.txt index 9307c168..7acb25ef 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ -aiobotocore~=2.7.0 +aiobotocore>=2.5.4,<3.0.0 fsspec==2023.10.0 aiohttp!=4.0.0a0, !=4.0.0a1