inconsistent usage of AWS endpoint URL #21784
Labels
A-io-cloud
Area: reading/writing to cloud storage
bug
Something isn't working
P-low
Priority: low
python
Related to Python Polars
Checks
Reproducible example
I ran the above script using
uv run <script>
while uncommenting one block and a time.Log output
Issue description
I am using an S3 compatible storage. I have
endpoint_url
defined in my~/.aws/config
under the relevant profile, so it should be able to be picked up automatically without explicit specification (or via environmental variable) -s3fs
/boto3
are able to do that when specifying the relevantprofile
argument.I'm also behind a firewall, so if polars is by default trying to access AWS, it won't be able to reach it (probably why it is stalling).
Expected behavior
I think the following order of precedence should apply:
endpoint_url
is supplied tostorage_options
AWS_ENDPOINT_URL
~/.aws/config
(likeboto3
)It would be nice to not have to manually specify the endpoint URL if it can be inferred from the config file.
Installed versions
The text was updated successfully, but these errors were encountered: