We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This was originally reported in the appdirs tracker: ActiveState/appdirs#130
The gist is that, per the XDG spec, platformdirs should treat environment variables that are set but empty as if they were unset.
I came across this as part of pypa/pip#10202
pip patches appdirs to work around this: https://github.com/pypa/pip/blob/867bbb00ccb0506095e19a0e111ce06ce71a2495/tools/vendoring/patches/appdirs.patch#L47-L54
There is some prior discussion in pypa/pip#7501 (comment)
The text was updated successfully, but these errors were encountered:
Can you open a PR to address it? Thanks!
Sorry, something went wrong.
I will give this a try.
Unix: Fallback to default if XDG environment variable is empty
6e66a3f
Fixes tox-dev#29 using https://github.com/pypa/pip/blob/867bbb00ccb0506095e19a0e111ce06ce71a2495/tools/vendoring/patches/appdirs.patch#L47-L54 as a reference implementation.
Successfully merging a pull request may close this issue.
This was originally reported in the appdirs tracker: ActiveState/appdirs#130
The gist is that, per the XDG spec, platformdirs should treat environment variables that are set but empty as if they were unset.
I came across this as part of pypa/pip#10202
pip patches appdirs to work around this: https://github.com/pypa/pip/blob/867bbb00ccb0506095e19a0e111ce06ce71a2495/tools/vendoring/patches/appdirs.patch#L47-L54
There is some prior discussion in pypa/pip#7501 (comment)
The text was updated successfully, but these errors were encountered: