-
-
Notifications
You must be signed in to change notification settings - Fork 153
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
refactor: drop path.py #592
Conversation
2706bb4
to
fd71295
Compare
I'm not likely to have time to power up a Windows machine to investigate why this is failing on Windows for a couple of days - in a workshop this week. If PATHEXT is off, then don't see why anything works, and if it's right, I don't see why this isn't finding things correctly. Maybe I've got a bug around Also need to think about how to add a test for the "not found locally but found in the default path" branch for coverage, which is showing up on ubuntu except for 3.10. Which is odd. |
Let me check the Windows thing around the next days 😉 |
Thanks for tackling this @henryiii! I can answer the 3.10 coverage thing, it is flagging the same section of code as uncovered (see below) But in the Noxfile we set the coverage fail threshold to 99% here: Lines 71 to 76 in d947833
This is a hangup from when we started testing on 3.10.0-rc.2 and something about 3.10 made coverage incorrectly flag stuff as uncovered, looking at the coverage logs recently though I think we can remove this little flag (I'll do this later today). Sadly that doesn't help us with the build failures on this PR, which I agree are a bit weird!
Regarding this, I can't think of a scenario where this would the case? As in where would you have a program that you can't find locally but exists on |
I think such a scenario would be looking for something like |
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
48f8269
to
edd280c
Compare
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
That's embarrassing. Just don't look in history and pretend I wrote it correctly the first time. :) In my defense, I somehow thought the new-in-3.7 Also I needed to boot up a Windows box for other things, though I do feel slightly ridiculous needed it to discover this. I'd really have liked it if this was protected by type - if mypy could tell you couldn't access .stdout/stderr without capturing output in some way, for example! |
Hmm, so it looks like |
Closing in favor of #647. |
Closes #583. Removes a deprecated dependency.