-
-
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
Remove usage of py.path? #583
Labels
dependencies
Issues relating to a nox dependency
Comments
Would you like me to take a stab at it? |
Sounds good to me 👍 |
Great idea! 🎉 |
FYI, removing it is really easy, but untangling the monkey patched unittests is not (though I love the test granularity that allows, so not against it, just extra work for this sort of a change). I should be able to finish it up later in the |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, there is a dependency on
py.path
, which pytest is trying to remove, and it seems like nox should remove it too, now that Python 3 is required (since quite a while, actually). py.path is not recommended for use: https://py.readthedocs.io/en/latest/path.html. This would reduce a dependency, too!Looking through the usages, I see
py.path.local.sysfind
, which with a little effort could be replaced by Python 3's shutil.which. I seeas_cwd
, which could be handled pretty easily (ideally looking like the 3.11 context addition). That seems to be it for non-test usages.The text was updated successfully, but these errors were encountered: