-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Apply _internal.utils.appdirs changes to _vendor.appdirs #7501
Conversation
Err, sorry, I intended to post this as a draft but forgot. Now I don’t know how to change the setting :( |
c6c83e3
to
8e06859
Compare
* Convert Windows app data directory values to bytes on Python 2, so the output type is consistent across platforms (pypa#4000) * Also look in ~/.config for user config on macOS (pypa#4100) * Remove pywin32 dependency, only use ctypes and winreg for directory lookup on Windows (pypa#2467) * Always use os.path.join() instead of os.sep.join() so cross-platform tests work as expected (pypa#3275)
8e06859
to
204887d
Compare
No worries -- you can't change a "normal" PR into a draft one.
Let's do separate PRs for them? |
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.
Thank you for doing this! That issue has been around for some time.
I compared the implementations pretty closely and spotted a few differences, the rest looks OK to me.
Co-Authored-By: Christopher Hunt <[email protected]>
732438e
to
d841e17
Compare
d841e17
to
f6afa1a
Compare
bda446b
to
c98c0ad
Compare
I think this is ready for the next round of reviews 📨 |
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.
LGTM!
Thanks for tackling this @uranusjr! |
The
_internal
copy is kept for now as a compatibility layer, so the changes are localised around the_vendor
changes.Progress #6040.
Next steps:
_vendor
version (there are few)._vendor
version. Do we need to? I think it’s a good idea because we’d want to detect incompatible upstream changes (like theappauthor
thing), but it’s not strictly required since manual check from maintainers is needed anyway.