-
-
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
PR: Avoid future deprecations and decrease general technical debt #273
PR: Avoid future deprecations and decrease general technical debt #273
Conversation
Hi @CAM-Gerlach thanks for checking into this! However, just to understand better some of the changes here, the deprecations ( |
@dalthviz Sure:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @CAM-Gerlach ! LGTM 👍
Thanks @dalthviz ; revised the PR title again to fix some introduced grammar and clarity issues |
Fixes a number of minor problems in the codebase, including:
tmpdir
pytest fixture which uses legacy py.path objects withtmp_path
, which uses standardpathlib.Path
s (and rename helper function arg to avoid confusion)encoding
onopen()
, to avoid platform/environment-dependent bugs, deprecation warning on Py3.10 and eventual removalraise from
on re-raised exceptions to re-raise correctly