You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #83, mkdir(parents=True) switched from using self._accessor.mkdir to self._accessor.makedirs.
For some implementations (such as adlfs and gcsfs, possibly more), makedirs is not implemented, causing calling upath.mkdir to be a no-op, whereas it previously worked to create containers/buckets.
Calling mkdir with parents=True now calls makedirs, which is
not implemented for gcsfs and adlfs, requiring us to use these
workarounds to properly create buckets/containers.
See fsspec/universal_pathlib#166
dtrifiro
added a commit
to iterative/pytest-servers
that referenced
this issue
Dec 15, 2023
Calling mkdir with parents=True now calls makedirs, which is
not implemented for gcsfs and adlfs, requiring us to use these
workarounds to properly create buckets/containers.
See fsspec/universal_pathlib#166
dtrifiro
added a commit
to iterative/pytest-servers
that referenced
this issue
Dec 15, 2023
Calling mkdir with parents=True now calls makedirs, which is
not implemented for gcsfs and adlfs, requiring us to use these
workarounds to properly create buckets/containers.
See fsspec/universal_pathlib#166
dtrifiro
added a commit
to iterative/pytest-servers
that referenced
this issue
Dec 15, 2023
Calling mkdir with parents=True now calls makedirs, which is
not implemented for gcsfs and adlfs, requiring us to use these
workarounds to properly create buckets/containers.
See fsspec/universal_pathlib#166
In #83,
mkdir(parents=True)
switched from usingself._accessor.mkdir
toself._accessor.makedirs
.For some implementations (such as
adlfs
andgcsfs
, possibly more),makedirs
is not implemented, causing callingupath.mkdir
to be a no-op, whereas it previously worked to create containers/buckets.See dtrifiro@fac2bcf on https://github.com/dtrifiro/universal_pathlib/tree/broken-mkdir-examples
The text was updated successfully, but these errors were encountered: