acoustic-carpenter-78188
10/30/2023, 6:34 PMfile:// protocol specified, but `pathlib.Path`'s constructor takes filesystem paths, not URIs, so flytekit is broken for the latest version of fsspec.
Type
☑︎ Bug Fix
☐ Feature
☐ Plugin
Are all requirements met?
☑︎ Code completed
☑︎ Smoke tested
☐ Unit tests added
☐ Code documentation added
☐ Any pending items have an associated Issue
Complete description
Replace every instance of Path(uri) with a wrapper function that sanitizes the file:// prefix away before invoking the constructor.
Tracking Issue
flyteorg/flyte#4326
Follow-up issue
NA
flyteorg/flytekit
✅ All checks have passed
2/2 successful checks