Skip to content
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

platformdirs 3.0.0 OSX/macOS config directory #7558

Closed
sadikkuzu opened this issue Feb 25, 2023 · 3 comments
Closed

platformdirs 3.0.0 OSX/macOS config directory #7558

sadikkuzu opened this issue Feb 25, 2023 · 3 comments

Comments

@sadikkuzu
Copy link
Contributor

Hi,

platformdirs 3.0.0 has a breaking change on config directory again.

platformdirs 3.0.0 corrected the OSX/macOS config directory from /Users/<user>/Library/Preferences/<appname> to /Users/<user>/Library/Application Support/<appname>.

https://github.com/platformdirs/platformdirs/releases/tag/3.0.0
https://github.com/platformdirs/platformdirs/pull/137/files

Is it possible to remove this warning?
image

# platformdirs 2.0.0 corrected the OSX/macOS config directory from
# /Users/<user>/Library/Application Support/<appname> to
# /Users/<user>/Library/Preferences/<appname>.
#
# For now we only deprecate use of the old directory.

@dimbleby
Copy link
Contributor

It's all quite a bit more complicated than that.

  • First, poetry isn't currently using platformdirs 3.0: so your pull request is definitely wrong until that happens.
  • Then, when the switch is made, the deprecation warnings can't just be dropped. Rather, they need to be reversed
    • folk who have put their configuration where poetry / platformdirs 2.x have been telling them to put it should be told to put it back where platformdirs 3.x wants it

@sadikkuzu
Copy link
Contributor Author

Oh, ok, I got it.
Thanks for fast and detailed answer.
And sorry for inconvenience.
All the best

Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants