'S3' object has no attribute '__aenter__'
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1k
- Forks
- 305
- Avg merge
- 22h 37m
- Merged PRs (30d)
- 4
Description
What happened:
Got an error saying 'S3' object has no attribute '__aenter__'
What you expected to happen:
Should not see this
Minimal Complete Verifiable Example:
s3fs.S3FileSystem(
session=botocore.session.Session(
profile=cls.__aws_profile)).open
Anything else we need to know?:
works fine with 0.4.2
but it does not with 0.5.1
Environment:
- Dask version:
- Python version: 3.8
- Operating System: MacOS
- Install method (conda, pip, source):
conda and pip
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the provided S3FileSystem.open example under Python 3.8 with versions 0.4.2 and 0.5.1, using the reported botocore session and AWS profile. Trace the aenter error from that entry point and add a regression test demonstrating the expected behavior without the AttributeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, python
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100