[ https://issues.apache.org/jira/browse/ARROW-10346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17216765#comment-17216765 ]
Uwe Korn commented on ARROW-10346: ---------------------------------- Yes, there was a user-config changing this. A bit confusing to me as I haven't used S3 on this machine before, probably some other tool put it there. Do you have an idea how to detect that and error out with an explanation? > [Python] Default S3 region is eu-central-1 even with LANG=C > ----------------------------------------------------------- > > Key: ARROW-10346 > URL: https://issues.apache.org/jira/browse/ARROW-10346 > Project: Apache Arrow > Issue Type: Bug > Reporter: Uwe Korn > Priority: Minor > > Verifying the macOS wheels using {{LANG=C > dev/release/verify-release-candidate.sh wheels 2.0.0 2}} fails for me with > {code} > @pytest.mark.s3 > def test_s3_real_aws(): > # Exercise connection code with an AWS-backed S3 bucket. > # This is a minimal integration check for ARROW-9261 and similar > issues. > from pyarrow.fs import S3FileSystem > fs = S3FileSystem(anonymous=True) > > assert fs.region == 'us-east-1' # default region > E AssertionError: assert 'eu-central-1' == 'us-east-1' > E - us-east-1 > E + eu-central-1 > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)