Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
leycec opened this issue Oct 12, 2022 · 2 comments

Comments

@leycec
Copy link

leycec commented Oct 12, 2022

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. 👨‍🦲 😮‍💨

@jpetrucciani
Copy link
Owner

Ah jeez 😞 I'm sorry to hear it's been such an annoyance

That is quite the arcane error! That's not one I've seen before, unfortunately (although I do normally stick to just the linux side of the world!)

Let me take a look at your workflow again and see if there's a way I might be able to help (without using this action)

@jpetrucciani
Copy link
Owner

jpetrucciani commented Oct 12, 2022

@leycec I've opened a PR that should allow you to check with mypy still, across all OSes in your matrix! beartype/beartype#179

ps i know static type checking is far from perfect, but I do believe it is useful in certain contexts! don't give up on it! 🙇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants