Closed riklopfer closed 3 months ago
What is it actually that's not implemented? Some event loops can create subprocesses but others cannot?
Right. It appears that WindowsSelectorEventLoopPolicy
does not allow subprocesses.
OK, thanks for letting me know. We can think about offering a public way to configure this for the future.
Sounds good. Feel free to close this issue. This work-around is working just fine in the meantime.
@contextmanager
def _noop(*args, **kwargs):
yield
fsspec.asyn._selector_policy = _noop
We have an aws
credential_process
which fsspec attempts to call via subprocess. https://github.com/fsspec/filesystem_spec/pull/658 changed it so that the event loop always has the same policyWindowsSelectorEventLoopPolicy
which leads to the sameNotImplementedError
being thrown as reported in https://github.com/fsspec/sshfs/issues/29@krwoodley fyi
Changing
_selector_policy
toyield
makes things work.