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

Port from deprecated appdirs to platformdirs #339

Merged
merged 2 commits into from Feb 10, 2023

Conversation

alexfikl
Copy link
Contributor

@alexfikl alexfikl commented Feb 2, 2023

This ports the uses (and mentions) of the deprecated appdirs to platformdirs. The APIs should be mostly equivalent (definitely for the ones used here) and platformdirs is already in use by most popular projects.

@welcome
Copy link

welcome bot commented Feb 2, 2023

💖 Thank you for opening your first pull request in this repository! 💖

A few things to keep in mind:

No matter what, we are really grateful that you put in the effort to do this!

@@ -41,7 +41,7 @@ packages = find:
python_requires = >=3.7
setup_requires =
install_requires =
appdirs>=1.3.0
platformdirs>=2.5.0
Copy link
Contributor Author

@alexfikl alexfikl Feb 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this min version ok? 2.5.0 was released a year ago, but older versions should work as well. This seems to be the bigger release:
https://github.com/platformdirs/platformdirs/releases/tag/2.1.0

@santisoler
Copy link
Member

Thanks @alexfikl for opening this PR! Very much appreciated! I think this is ready to be merged.

Regarding the minimum version of platformdirs, I think v2.5.0 is a good floor.

@santisoler santisoler merged commit 180dd63 into fatiando:main Feb 10, 2023
@welcome
Copy link

welcome bot commented Feb 10, 2023

🎉 Congrats on merging your first pull request and welcome to the team! 🎉

If you would like to be added as a author on the Zenodo archive of the next release, add your full name, affiliation, and ORCID (optional) to the AUTHORS.md file of this repository. Feel free to do this in a new pull request if needed.

We hope that this was a good experience for you. Let us know if there is any way that the contributing process could be improved.

@alexfikl alexfikl deleted the port-platformdirs branch February 10, 2023 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants