Commit Graph
6 Commits
Author SHA1 Message Date
Khem Raj bd58c7a1f9 python3-platformdirs: upgrade 4.13.5 -> 4.14.5
Add hatch-fancy-pypi-readme to DEPENDS, now required by the build. Drop
the strerror test patch, it is part of this release.

Changes:
- 4.14.0: new keyword-only ensure_exists for media directory
  functions such as user_documents_path.
- Many Unix/macOS hardening fixes for XDG_RUNTIME_DIR handling
  (reject symlinks, wrong owner or mode, replaceable parent, races),
  relative HOME treated as unset, os.pathsep in appname/version raises
  ValueError under multipath=True, linear-time user-dirs.dirs parsing.
- 4.14.2-4.14.5: dedupe equivalent XDG directory spellings, preserve
  trailing whitespace in absolute XDG values, fix "//runtime-<uid>"
  temporary runtime dir fallback.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-17 12:58:59 -08:00
Khem Raj 4f1d8f85f0 python3-platformdirs: Fix ptest failures on musl
test_runtime_dir_unreachable_xdg_runtime_dir_warns hardcodes the glibc
strerror(ELOOP) text "Too many levels of symbolic links", whereas musl
reports "Symbolic link loop". Backport the upstream fix which uses
os.strerror() instead.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-10-30 20:59:20 -07:00
Leon Anavi 43b4415883 python3-platformdirs: Upgrade 4.10.1 -> 4.13.5
Upgrade to release 4.13.5:

- Publish a GitHub Release with changelog notes, a PyPI link, and a
  version comparison after each PyPI release.

Deselect failing tests from the run-ptest script for ptest-runner.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-10-29 06:51:18 -07:00
Derek Straka cebf92f51a python3-platformdirs: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-17 16:39:42 -08:00
Tim Orling 848765aba6 python3-platformdirs: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3
* Sort RDEPENDS for ptest alphabetically

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:38 -08:00
Trevor Gamblin 1410b40c2f python3-platformdirs: Add recipe
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-12 10:33:54 -07:00