Skip to content

switch from stagnant appdirs to platformdirs - #89

Merged
nedbat merged 1 commit into
mainfrom
nedbat/platformdirs
Jul 2, 2025
Merged

switch from stagnant appdirs to platformdirs#89
nedbat merged 1 commit into
mainfrom
nedbat/platformdirs

Conversation

@nedbat

@nedbat nedbat commented Jun 29, 2025

Copy link
Copy Markdown
Contributor

I checked: on Mac, the two give the same directories.

@nedbat
nedbat requested a review from thatch June 29, 2025 17:10

@thatch thatch left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Mostly automatable perhaps?

@nedbat

nedbat commented Jul 1, 2025

Copy link
Copy Markdown
Contributor Author

(I have a branch ready for rulez but can't push there yet...)

This is automatable in the Python code, but there are two places in this PR that my rulez rule won't handle: the list of requirements in setup.cfg, and the mention in mock.patch. Both could be automated, it just not clear if it's worth the effort. The missing setup.cfg change will be noticed, but the mock.patch might be a silent failure.

@nedbat

nedbat commented Jul 1, 2025

Copy link
Copy Markdown
Contributor Author

In some ways, the better approach is a dead-simple search/replace, which would find all of the uses.

@nedbat
nedbat merged commit 0558ab3 into main Jul 2, 2025
@nedbat
nedbat deleted the nedbat/platformdirs branch July 2, 2025 15:17
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.

2 participants