This is an automated email from the ASF dual-hosted git repository.
raulcd pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new d62a521126 GH-46344: [CI][Python] Skip doctest for s3.get_file_info to
avoid bucket restrictions (#46345)
d62a521126 is described below
commit d62a521126467a27e18be5ce9636f7890d7dc76a
Author: Raúl Cumplido <[email protected]>
AuthorDate: Wed May 7 15:08:51 2025 +0200
GH-46344: [CI][Python] Skip doctest for s3.get_file_info to avoid bucket
restrictions (#46345)
### Rationale for this change
The doctest jobs are currently failing due to ACCESS DENIED to the bucket
listing.
### What changes are included in this PR?
Skip the doctest.
### Are these changes tested?
Via CI, existing job passes again.
### Are there any user-facing changes?
No
* GitHub Issue: #46344
Authored-by: Raúl Cumplido <[email protected]>
Signed-off-by: Raúl Cumplido <[email protected]>
---
python/pyarrow/_s3fs.pyx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/python/pyarrow/_s3fs.pyx b/python/pyarrow/_s3fs.pyx
index d37198961b..849c887214 100644
--- a/python/pyarrow/_s3fs.pyx
+++ b/python/pyarrow/_s3fs.pyx
@@ -270,7 +270,7 @@ cdef class S3FileSystem(FileSystem):
>>> s3 = fs.S3FileSystem(region='us-west-2')
>>> s3.get_file_info(fs.FileSelector(
... 'power-analysis-ready-datastore/power_901_constants.zarr/FROCEAN',
recursive=True
- ... ))
+ ... )) # doctest: +SKIP
[<FileInfo for
'power-analysis-ready-datastore/power_901_constants.zarr/FROCEAN/.zarray...
For usage of the methods see examples for
:func:`~pyarrow.fs.LocalFileSystem`.