← All tasks
pythonfsspec/s3fs #994Not a task: already works

Directly specify optional dependencies `awscli` and `boto3`

envgap__fsspec__s3fs-994

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
f8d4e41855914b4b9b66a9b17e13a4da113de8e1
Manifest
setup.py
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

fsspec/s3fs #994 · read the original issue
Hi!

Over at https://github.com/aio-libs/aiobotocore/issues/1424, I am proposing to retire the aiobotocore optional dependencies / "extras" `boto3` and `awscli` in a future major release.

s3fs is currently relying on those in: 

https://github.com/fsspec/s3fs/blob/f8d4e41855914b4b9b66a9b17e13a4da113de8e1/setup.py#L39-L40

Would it be possible for s3fs to specify those dependencies directly?

```python
"awscli": [f"aiobotocore{aiobotocore_version_suffix}", "awscli"], 
"boto3": [f"aiobotocore{aiobotocore_version_suffix}", "boto3"], 
```

Modern dependency resolvers in pip, uv and so forth should not have any trouble with that and install the same set of packages as before.

Any thoughts? Am I missing something?
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]