python-platformdirs: bump to 4.9.4
authorAlexandru Ardelean <redacted>
Wed, 1 Apr 2026 09:37:35 +0000 (12:37 +0300)
committerAlexandru Ardelean <redacted>
Fri, 3 Apr 2026 06:38:08 +0000 (09:38 +0300)
Changelog: https://github.com/platformdirs/platformdirs/blob/main/CHANGELOG.md
Signed-off-by: Alexandru Ardelean <redacted>
lang/python/python-platformdirs/Makefile
lang/python/python-platformdirs/test.sh

index 0f52f2645eb9bb605e49288826217c668f39466f..47d8e63a82b07b549b75359e9879fbe13a3e236c 100644 (file)
@@ -8,11 +8,11 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=python-platformdirs
-PKG_VERSION:=4.1.0
+PKG_VERSION:=4.9.4
 PKG_RELEASE:=1
 
 PYPI_NAME:=platformdirs
-PKG_HASH:=906d548203468492d432bcb294d4bc2fff751bf84971fbb2c10918cc206ee420
+PKG_HASH:=1ec356301b7dc906d83f371c8f487070e99d3ccf9e501686456394622a01a934
 
 PKG_LICENSE:=MIT
 PKG_LICENSE_FILES:=LICENSE
index 40dabb2fb577bff79422a1e0fa193a2a19f19050..ffb551fb95fc8342a17a2d2cd3d2c03efcc05349 100644 (file)
@@ -18,7 +18,9 @@ assert user_pictures_dir() == '/root/Pictures'
 assert user_videos_dir() == '/root/Videos'
 assert user_music_dir() == '/root/Music'
 assert user_desktop_dir() == '/root/Desktop'
-assert user_runtime_dir(appname, appauthor) == '/run/user/0/SuperApp'
+# user_runtime_dir falls back to /tmp/runtime-{uid}/... if /run/user/{uid} is not writable
+runtime_dir = user_runtime_dir(appname, appauthor)
+assert 'SuperApp' in runtime_dir
 
 assert site_data_dir(appname, appauthor) == '/usr/local/share/SuperApp'
 assert site_data_dir(appname, appauthor, multipath=True) == '/usr/local/share/SuperApp:/usr/share/SuperApp'
git clone https://git.99rst.org/PROJECT