Skip to content

Commit 8ca4f3e

Browse files
committed
[build] Monkey-patch s3fs botocore version mismatch on Python 3.9
1 parent fbffaeb commit 8ca4f3e

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ jobs:
310310
# Oldest and newest versions should be enough. Python versions are supported 5 years from release date.
311311
# 3.n is released October of 2011+n and EOL in 2016+n for n>=8.
312312
# Supported versions: https://github.com/actions/python-versions/blob/main/versions-manifest.json
313-
python-version: ['3.9', '3.12', '3.14']
313+
python-version: ['3.9', '3.10', '3.12', '3.14']
314314
libfuse-version: ['system']
315315
parallelization: [1, 2]
316316
include:

core/pyproject.toml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,10 @@ full = [
148148
"dropboxdrivefs",
149149
"fsspec",
150150
"ipfsspec",
151-
"s3fs",
151+
"s3fs == 2025.10.0; python_version < '3.10'",
152+
"aiobotocore ~= 2.25; python_version < '3.10'",
153+
"botocore ~= 1.40; python_version < '3.10'",
154+
"s3fs; python_version >= '3.10'",
152155
"webdav4",
153156
#"gcsfs", # untested
154157
#"adlfs", # untested. build error in Python 3.13
@@ -174,7 +177,10 @@ fsspec-backends = [
174177
"dropboxdrivefs",
175178
"fsspec",
176179
"ipfsspec",
177-
"s3fs",
180+
"s3fs==2025.10.0; python_version < '3.10'",
181+
"aiobotocore ~= 2.25; python_version < '3.10'",
182+
"botocore ~= 1.40; python_version < '3.10'",
183+
"s3fs; python_version >= '3.10'",
178184
"webdav4",
179185
#"gcsfs", # untested
180186
#"adlfs", # untested. build error in Python 3.13

0 commit comments

Comments
 (0)