mypy-check icon indicating copy to clipboard operation
mypy-check copied to clipboard

[Windows Bug] unable to prepare context: path "D:a_actionsjpetruccianimypy-checkmaster" not found

Open leycec opened this issue 1 year ago • 2 comments

Ohnoes. It's @leycec, yet again. I've been repeatedly banging @beartype's head against this action without success. My newest quandary is this seemingly Windows-specific non-human-readable error from docker build at action setup:

unable to prepare context: path "D:a_actionsjpetruccianimypy-checkmaster" not found

I... don't even know what that means. With great reluctance and considerable sighing, I'm disabling this action in our workflow. All of this ultimately consumed far more scarce volunteer time than I actually had. I don't even like static type-checkers. Almost everything they say is a lie, because Python isn't static; Python is dynamic. That's why I maintain a runtime type-checker. I was just doing this to satisfy end user demand for PEP 561 compliance in @beartype – which is to say, for other people.

But... I'm strongly reconsidering everything now. I'll still locally validate @beartype against mypy, because that still works (for the moment). CI-hosted validation appears to be right out, though. I wish mypy and CI got along better. I also wish I was 18 again. Instead, I am 42 and balding. This must be what futility feels like. :bald_man: :face_exhaling:

leycec avatar Oct 12 '22 04:10 leycec