8000 Relax aiobotocore versions to < 3.0.0 (#829) · fsspec/s3fs@b31985d · GitHub
[go: up one dir, main page]

Skip to content

Commit b31985d

Browse files
authored
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
1 parent 8d9ab49 commit b31985d

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@ on: [push, pull_request]
44

55
jobs:
66
test:
7-
name: Python ${{ matrix.python-version }}
7+
name: Python ${{ matrix.python-version }} - AioBotocore ${{ matrix.aiobotocore-version }}
88
runs-on: ubuntu-latest
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
python-version: ["3.8", "3.9", "3.10", "3.11"]
12+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
13+
aiobotocore-version: [">=2.5.4,<2.6.0", ">=2.7.0,<2.8.0", ">=2.8.0,<2.9.0", "<3.0.0"]
1314

1415
env:
1516
BOTO_CONFIG: /dev/null
@@ -33,7 +34,9 @@ jobs:
3334
shell: bash -l {0}
3435
run: |
3536
pip install git+https://github.com/fsspec/filesystem_spec
37+
pip install --upgrade "aiobotocore${{ matrix.aiobotocore-version }}" boto3 # boto3 to ensure compatibility
3638
pip install . --no-deps
39+
pip show aiobotocore boto3 botocore
3740
3841
- name: Run Tests
3942
shell: bash -l {0}

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
aiobotocore~=2.7.0
1+
aiobotocore>=2.5.4,<3.0.0
22
fsspec==2023.10.0
33
aiohttp!=4.0.0a0, !=4.0.0a1

0 commit comments

Comments
 (0)
0