./misc/py-platformdirs, Python module for determining appropriate platform-specific dirs

[ Image CVSweb ] [ Image Homepage ] [ Image RSS ] [ Image Required by ] [ Image Add to tracker ]


Branch: CURRENT, Version: 4.9.6, Package name: py313-platformdirs-4.9.6, Maintainer: pkgsrc-users

When writing desktop application, finding the right location to store user data
and configuration varies per platform. Even for single-platform apps, there
may by plenty of nuances in figuring out the right location. This kind of thing
is what the platformdirs module is for.


Master sites:

Filesize: 28.711 KB

Version history: (Expand)


CVS history: (Expand)


   2026-04-13 15:33:10 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-platformdirs: updated to 4.9.6

4.9.6
fix(release): use double quotes for tag variable expansion
   2026-03-06 07:08:02 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-platformdirs: updated to 4.9.4

4.9.4

Add permissions to workflows
Move SECURITY.md to .github/SECURITY.md
Standardize .github files to .yaml suffix
docs: add project logo to documentation
   2026-02-16 12:44:01 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-platformdirs: update to 4.9.2.

4.9.2

    📝 docs(platforms): fix RST formatting and TOC hierarchy by @gaborbernat \ 
in #447
    📝 docs: restructure following Diataxis framework by @gaborbernat in #448

4.9.1

    📝 docs: enhance README, fix issues, and reorganize platforms.rst by \ 
@gaborbernat in #445

4.9.0

    📝 docs(usage): add use_site_for_root and comprehensive guidance by \ 
@gaborbernat in #439
    🐛 fix(unix): use correct runtime dir path for OpenBSD by @gaborbernat in #440
    ✨ feat(api): add site_applications_dir property by @gaborbernat in #442
    ✨ feat(api): add site_bin_dir property by @gaborbernat in #443
    📚 docs: split usage guide into tutorial, how-to, and reference by \ 
@gaborbernat in #441

4.8.0

    📝 docs(windows): document Store Python sandbox path behavior by \ 
@gaborbernat in #423
    ✨ feat(api): add site_log_dir and document Store Python sandbox by \ 
@gaborbernat in #424
    ✨ feat(api): add site_state_dir for system-wide state by @gaborbernat in #425
    ✨ feat(api): add use_site_for_root parameter by @gaborbernat in #426
    ✨ feat(windows): add PLATFORMDIRS_* env var overrides by @gaborbernat in #427
    ✨ feat(windows): add WIN_PD_OVERRIDE_* env var overrides by @gaborbernat \ 
in #428
    🐛 fix(macos): yield individual site dirs in iter_*_dirs by @gaborbernat \ 
in #429
    ✨ feat(api): add user_bin_dir property by @gaborbernat in #430
    ✨ feat(api): add user_applications_dir property by @gaborbernat in #432
    📝 docs(usage): note that home dir is in stdlib by @gaborbernat in #431

4.7.1

    🐛 fix(windows): avoid FileNotFoundError in sandboxed environments by \ 
@gaborbernat in #422
   2026-02-13 10:30:07 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-platformdirs: updated to 4.7.0

4.7.0

docs: restructure and fix cross-references
feat(windows): use SHGetKnownFolderPath API
fix(unix): fall back to tempdir when runtime dir is not writable
build(release): adopt filelock-style automated workflow
   2025-12-08 11:24:56 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-platformdirs: update to 4.5.1.

What's Changed

    Fix no-ctypes fallback on windows by @youknowone in #403
   2025-10-09 07:31:43 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-platformdirs: updated to 4.5.0

4.5.0

Bump pypa/gh-action-pypi-publish from 1.12.4 to 1.13.0 in the all group
Bump pypa/gh-action-pypi-publish from 1.12.4 to 1.13.0 in /.github/workflows
Add support for Python 3.14
Update Windows file paths in README
Bump astral-sh/setup-uv from 6 to 7 in the all group
Drop 3.9 support
   2025-08-27 22:30:54 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-platformdirs: updated to 4.4.0

4.4.0
feat: improve homebrew path detection
   2025-05-13 15:26:50 by Taylor R Campbell | Files touched by this commit (3)
Log message:
misc/py-platformdirs: Fix tests on BSD.  Resolves:

FAILED tests/test_unix.py::test_xdg_variable_not_set[user_runtime_dir] - \ 
AssertionError: assert '/tmp/runtime-1234' == '/run/user/1234'
FAILED tests/test_unix.py::test_xdg_variable_not_set[site_runtime_dir] - \ 
AssertionError: assert '/var/run' == '/run'
FAILED tests/test_unix.py::test_xdg_variable_empty_value[user_runtime_dir] - \ 
AssertionError: assert '/tmp/runtime-1234' == '/run/user/1234'
FAILED tests/test_unix.py::test_xdg_variable_empty_value[site_runtime_dir] - \ 
AssertionError: assert '/var/run' == '/run'