Skip to content

Commit

Permalink
Relax aiobotocore versions to < 3.0.0 (#829)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
bolkedebruin authored Nov 30, 2023
1 parent 8d9ab49 commit b31985d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b31985d

Please sign in to comment.