Skip to content

Conversation

@saikonen
Copy link
Collaborator

fixes a regression introduced in 2.19.6 that affects listing paths in the bucket root with the S3 client list_paths

@saikonen saikonen requested a review from npow January 24, 2026 12:07
@saikonen
Copy link
Collaborator Author

repro:

# test.py
import sys
from metaflow import S3


if __name__=="__main__":
    try:
      bucket = sys.argv[1]
      print("listing bucket:", bucket)
    except IndexError:
        print("Please provide a bucket name.")
        sys.exit(1)

    with S3(s3root=f"s3://{bucket}") as s3:
      objs = s3.list_paths()
      print([o.key for o in objs])
# lists nothing
python test.py your-metaflow-bucket

# lists just fine for subpaths
python test.py your-metaflow-bucket/metaflow

@nflx-mf-bot
Copy link
Collaborator

Netflix internal testing[1588] @ 9a74e50

@npow
Copy link
Collaborator

npow commented Jan 26, 2026

All internal S3 tests passing

@saikonen saikonen merged commit ecced08 into master Jan 27, 2026
33 of 38 checks passed
@saikonen saikonen deleted the fix/S3-list_paths-regression branch January 27, 2026 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants