chore(deps): update dependency platformdirs to v4.14.5 #90

Open
renovate-bot wants to merge 1 commit from renovate/platformdirs-4.x into master
Member

This PR contains the following updates:

Package Change Age Confidence
platformdirs (changelog) ==4.3.6 -> ==4.14.5 age confidence

Release Notes

tox-dev/platformdirs (platformdirs)

v4.14.5

Compare Source

Bug fixes

🐍 PyPI release

📜 Full Changelog

v4.14.4

Compare Source

🐍 PyPI release

📜 Full Changelog

v4.14.3

Compare Source

Bug fixes
New Contributors

PyPI release

Full Changelog

v4.14.2

Compare Source

Bug fixes
New Contributors

PyPI release

Full Changelog

v4.14.0

Compare Source

Features
  • Accept a keyword-only ensure_exists in the module-level media directory functions, such as user_documents_path, to create a directory set through XDG_*_DIR or user-dirs.dirs (#​656) by @​darrenhuai and @​gaborbernat.

Bug fixes
  • Return the media and fonts directories under root's home for root with use_site_for_root, ignoring the invoking user's XDG_*_DIR, user-dirs.dirs and XDG_DATA_HOME, and create no inherited media directory under ensure_exists (#​661) by @​gaborbernat.
  • Raise ValueError from site_data_dir and site_config_dir under multipath=True when appname or version contains os.pathsep, rather than returning a string that splits into a directory outside the site base (#​662) by @​gaborbernat.
  • Parse an unquoted user-dirs.dirs value with a long run of blanks in linear time, rather than in time quadratic in the run's length on every Unix media directory lookup (#​663) by @​gaborbernat.
  • Treat a relative HOME as unset on Unix, macOS and iOS, taking the home from the password database or raising RuntimeError, rather than resolving user directories against the working directory (#​664) by @​gaborbernat.
  • Refuse a symlink as XDG_RUNTIME_DIR in user_runtime_dir when the value ends with / or /., which made the check follow the link (#​665) by @​gaborbernat.
  • Redirect user_*_dir calls with use_site_for_root=True when the effective uid is 0, so a setuid-root process gets the site directories, and name and check the runtime directory by the effective uid (#​666) by @​gaborbernat.
  • Apply the XDG_RUNTIME_DIR check of the Unix user_runtime_dir to the macOS one, so it no longer uses a directory that is a symlink, owned by another user or not mode 0700 (#​667) by @​gaborbernat.
  • Reject an XDG_RUNTIME_DIR below a parent that another user can replace, such as their own entry in /tmp, instead of creating the runtime directory through it (#​668) by @​gaborbernat.
  • Stop accepting a Unix runtime directory that another user creates between the owner check and its use: ensure_exists and place_runtime_file create it before checking it, and find_runtime_file checks it again after a hit (#​669) by @​gaborbernat.
  • Raise PermissionError on macOS when ensure_exists would create the site cache through a /Library/Caches/$appname that is a symlink, not a directory, or owned by a user other than root and the current one (#​670) by @​gaborbernat.
  • With ensure_exists, raise FileExistsError when a configured media directory such as user_documents_dir is a regular file or a symlink to one, instead of returning the file's path. Dangling symlinks are still returned unchanged (#​672) by @​rupayon123 and @​gaborbernat.
New Contributors

PyPI release

Full Changelog

v4.13.7

Compare Source

Bug fixes
  • Fall back to the default media directories when user-dirs.dirs exists but cannot be read, rather than raising PermissionError or IsADirectoryError (#​632) by @​Debasishhh and @​gaborbernat.
  • Resolve the Windows Projects directory from USERPROFILE when HOME is empty, rather than raising RuntimeError (#​635) by @​pabszero and @​gaborbernat.
  • Resolve $HOME entries in user-dirs.dirs to /Documents instead of //Documents when the home directory is / (#​636) by @​darrenhuai and @​gaborbernat.
  • Print the error and keep listing directories in python -m platformdirs when the home directory is unknown, rather than stopping with RuntimeError (#​638) by @​tongwentao and @​gaborbernat.
  • Raise FileNotFoundError from the place_*_file methods when the user directory is on a missing Windows drive or network share, rather than recursing until RecursionError (#​639) by @​nk-batman21 and @​gaborbernat.
  • Search the directories of a subclass's overridden iter_*_paths method in find_*_file and find_*_files, rather than the base class ones (#​640) by @​KennyMcSimpson and @​gaborbernat.
  • Keep isolated_dirs paths under a relative root after the working directory changes, and yield the root as an absolute path (#​643) by @​0x5t4l1n and @​gaborbernat.
  • Ignore Windows folder overrides with a UNC path missing its server or share name, such as \\server, instead of treating the application name as the share (#​647) by @​RedCat888 and @​gaborbernat.

Documentation
  • Remove the literal /opt/homebrew from a macOS source comment. Homebrew replaces it with a placeholder when bottling on Apple Silicon but not on Linux, so formulae that bundle platformdirs could not share one bottle across both (#​644) by @​Moisan and @​gaborbernat.
New Contributors

PyPI release

Full Changelog

v4.13.6

Compare Source

Packaging
  • Releases now run on the shared tox-dev/github-workflows pipeline, with a locked release toolchain and generated GitHub Release notes (#​650) by @​gaborbernat.

🐍 PyPI release

📜 Full Changelog

v4.13.5

Compare Source

Packaging
  • Publish a GitHub Release with changelog notes, a PyPI link, and a version comparison after each PyPI release. #​631 by @​gaborbernat.

🐍 PyPI release

📜 Full Changelog

v4.13.4

Compare Source

Bug fixes
  • Require a complete files path segment when locating Android app directories from sys.path. #​621 by @​shoaibulhaque and @​gaborbernat.
  • Raise RuntimeError when iOS cannot resolve the home directory, rather than returning paths rooted at a literal ~. #​624 by @​XXXXXQ-0206 and @​gaborbernat.
  • Keep user directory strings, paths and iterators consistent inside isolated_dirs when Unix root enables use_site_for_root. Restore root redirection when the context exits. #​625 by @​AryanRG and @​gaborbernat.
  • Raise RuntimeError when the Windows Projects directory cannot resolve the home directory, rather than returning a path rooted at a literal ~. #​627 by @​XXXXXQ-0206.
New Contributors

🐍 PyPI release

📜 Full Changelog

v4.13.3

Compare Source

🐍 PyPI release

📜 Full Changelog

v4.13.2

Compare Source

Bug fixes
New Contributors

🐍 PyPI release

📜 Full Changelog

v4.13.1

Compare Source

Bug fixes
New Contributors

🐍 PyPI release

📜 Full Changelog

v4.13.0

Compare Source

Bug fixes
New Contributors

🐍 PyPI release

📜 Full Changelog

v4.12.4

Compare Source

Bug fixes
New Contributors

🐍 PyPI release

📜 Full Changelog

v4.12.3

Compare Source

Bug fixes
  • Place files from place_config_file and place_data_file in the first site directory for root on Unix with use_site_for_root=True and multipath=True, where find_config_file and find_data_file look for them. #​607 by @​PDGGK and @​gaborbernat.
New Contributors

🐍 PyPI release

📜 Full Changelog

v4.12.2

Compare Source

Bug fixes
  • Keep os.pathsep in site_applications_path under multipath=True on platforms with one applications directory. #​604 by @​9Kun and @​gaborbernat.
New Contributors

🐍 PyPI release

📜 Full Changelog

v4.12.1

Compare Source

Bug fixes

🐍 PyPI release

📜 Full Changelog

v4.12.0

Compare Source

Features
  • Add place_*_file methods that return a file path under a user directory and create its missing parents with mode 0o700. #​585 by @​gaborbernat.
  • Add find_<kind>_file and find_<kind>_files to look up an existing file across the user and site directories of each kind that has an iter_<kind>_paths method. #​586 by @​gaborbernat.
  • Add isolated_dirs and the platformdirs_isolated pytest fixture to resolve every directory under one test root. #​590 by @​gaborbernat.
  • Emit RuntimeDirWarning when the Unix user_runtime_dir falls back from XDG_RUNTIME_DIR. #​599 by @​gaborbernat.
  • Read user_templates_dir, user_publicshare_dir and user_bin_dir on Windows from their known folders. #​587 by @​gaborbernat.
  • Use the app container layout on iOS, such as ~/Library/Application Support for data. #​600 by @​gaborbernat.

Bug fixes
  • Raise RuntimeError for a Unix or macOS directory under the home when no home resolves, and read the password database for an empty HOME. #​589 by @​gaborbernat.

Documentation
  • Document that a Homebrew Python puts the Homebrew prefix first in the macOS shared directories, with or without multipath. #​591 by @​gaborbernat.
  • Document that the macOS media directories honor the XDG_*_DIR variables. #​592 by @​gaborbernat.
  • Document the WIN_PD_OVERRIDE_COMMON_PROGRAMS variable. #​593 by @​gaborbernat.
  • Document /usr/local/share/applications as the Linux site_applications_dir default. #​594 by @​gaborbernat.
  • Correct the BSD user_runtime_dir defaults and describe the temporary directory fallback. #​595 by @​gaborbernat.
  • Describe how platformdirs detects Android, finds the app folder and places the shared folders. #​596 by @​gaborbernat.
  • Document that Microsoft Store Python redirects only new files and folders under AppData. #​597 by @​gaborbernat.
  • Show how to load a font on Windows after copying it into user_fonts_dir. #​598 by @​gaborbernat.

Security
  • Create missing user app directories and their parents with mode 0700 under ensure_exists on POSIX platforms. #​588 by @​gaborbernat.
  • Skip an XDG_RUNTIME_DIR or /run/user/<uid> that is not a private directory of the user, and reject a symlink or file as the runtime-<uid> fallback. #​599 by @​gaborbernat.

🐍 PyPI release

📜 Full Changelog

v4.11.15

Compare Source

Bug fixes
  • Fix the pyjnius lookup of the Android app folder and media directories, which always failed. #​580 by @​gaborbernat.
  • Detect Android from sys.getandroidapilevel when ANDROID_DATA and ANDROID_ROOT are unset. #​581 by @​gaborbernat.
  • Put Android shared-storage directories under the current user's /storage/emulated/<user id>, not user 0's. #​582 by @​gaborbernat.
  • Move Android videos to Movies and the five non-standard media folders, such as Desktop, into Documents. #​583 by @​gaborbernat.

🐍 PyPI release

📜 Full Changelog

v4.11.14

Compare Source

Features

Bug fixes
  • With ensure_exists, create a media directory such as user_documents_dir only when the user set it through an XDG_*_DIR variable or user-dirs.dirs, and return a dangling symlink there instead of raising FileExistsError. 4.11.13 also created the platform defaults, which filled headless home directories with folders such as ~/Templates and made a literal ~ directory when HOME was unset. #​561 by @​gaborbernat.
  • Ignore $XDG_RUNTIME_DIR in user_runtime_dir when use_site_for_root redirects root. #​562 by @​gaborbernat.
  • Return /storage/emulated/0/Download from the Android user_downloads_dir fallback. #​563 by @​gaborbernat.
  • Ignore WIN_PD_OVERRIDE_* values that lack a drive or a root. #​564 by @​gaborbernat.
  • Find the Android app folder for package names that start with files. #​565 by @​gaborbernat.
  • Apply a changed use_site_for_root on the next read. #​567 by @​gaborbernat.
  • Stop raising UnicodeDecodeError on user-dirs.dirs bytes the locale encoding cannot decode. #​568 by @​gaborbernat.
  • Drop a trailing # comment from unquoted user-dirs.dirs values. #​569 by @​gaborbernat.
  • Treat empty Windows folder variables, such as PUBLIC or LOCALAPPDATA, as unset. #​571 by @​gaborbernat.
  • Detect Homebrew Python on macOS by its opt/python*/Frameworks layout. #​573 by @​gaborbernat.
  • Keep colons in the Unix site_cache_path under multipath. #​574 by @​gaborbernat.
  • Return long Windows folder paths in place of 8.3 short names. #​575 by @​gaborbernat.
  • Raise RuntimeError in place of creating a literal ~ directory when ensure_exists finds no home. #​578 by @​gaborbernat.

Documentation

Security
  • Reject an appname, appauthor or version that leaves the base directory when set after construction. #​566 by @​gaborbernat.
  • Create the Unix runtime-<uid> temporary fallback with mode 0700 and reject one another user owns. #​576 by @​gaborbernat.

🐍 PyPI release

📜 Full Changelog

v4.11.13

Compare Source

Bug fixes
  • With ensure_exists, the media directories such as user_documents_dir are created on Unix, and on macOS when an XDG variable sets them. #​560 by @​gaborbernat and @​ekanshul.

🐍 PyPI release

📜 Full Changelog

v4.11.12

Compare Source

Bug fixes
  • Ignore relative paths in the XDG user directory environment variables, so XDG_DOCUMENTS_DIR=Documents no longer makes user_documents_dir and the other media directories return a path relative to the working directory. They now fall back to the platform default like the XDG Base Directory variables, and like the same keys read from user-dirs.dirs. #​554 by @​darrenhuai.

Documentation
New Contributors

🐍 PyPI release

📜 Full Changelog

v4.11.11

Compare Source

Security
  • Reject appname, appauthor and version values that leave the platform base directory (a .. segment, a leading separator, a drive or a UNC share) with ValueError, so ensure_exists cannot create directories outside it. #​552 by @​Pitchfork-and-Torch and @​gaborbernat.
New Contributors

🐍 PyPI release

📜 Full Changelog

v4.11.10

Compare Source

Bug fixes
  • With ensure_exists, the site_*_dir and site_*_path properties and the iter_*_dirs iterators only create the site directories they return or yield, instead of every entry in the site list. #​550 by @​darrenhuai and @​gaborbernat.

🐍 PyPI release

📜 Full Changelog

v4.11.9

Compare Source

Features
  • Accept multipath in site_cache_dir and site_cache_path. Without it, the function API could not return the Homebrew cache prefix that site_cache_dir adds under multipath. #​544 by @​darrenhuai and @​gaborbernat.

Bug fixes
  • Parse Unix user-dirs.dirs line by line like xdg-user-dir. The INI parser raised on a repeated key or a line without =, and returned trailing comments and backslash escapes inside user_documents_dir and the other media directories. The last valid assignment now wins, and platformdirs unescapes the quoted value and ignores text after the closing quote. #​545 by @​darrenhuai and @​gaborbernat.
  • Read PUBLIC before the home directory in user_publicshare_dir on Windows, so it no longer raises RuntimeError when PUBLIC is set and the home directory cannot be determined. #​546 by @​emme1t and @​gaborbernat.
  • Raise RuntimeError from Android directories when the app folder cannot be found, instead of TypeError: expected str, bytes or os.PathLike object, not NoneType. #​547 by @​Str0k and @​gaborbernat.
New Contributors

🐍 PyPI release

📜 Full Changelog

v4.11.8

Compare Source

Bug fixes
  • Make user_data_path, user_config_path, user_preference_path and user_applications_path return the first site entry when root is redirected by use_site_for_root under multipath, matching their site_*_path twins. They passed the whole joined list to Path, giving one unusable path such as /xdg/a/foo:/xdg/b/foo. #​538 by @​darrenhuai and @​gaborbernat.
  • Ignore relative paths in XDG Base Directory environment variables and use the existing platform fallback. Relative entries in $XDG_DATA_DIRS and $XDG_CONFIG_DIRS are skipped. #​540 by @​lakshayxi and @​gaborbernat.
  • Preserve literal percent signs in Unix user-dirs.dirs paths, including 100% complete, 100%% and %(XDG_DESKTOP_DIR)s. Continue to expand $HOME. #​542 by @​jackwalkerlabs and @​gaborbernat.
  • Use the base Python installation to locate Homebrew site directories on macOS, preserving shared data, config, cache and state paths inside virtual environments. #​543 by @​jackwalkerlabs and @​gaborbernat.
New Contributors

🐍 PyPI release

📜 Full Changelog

v4.11.7

Compare Source

🐍 PyPI release

📜 Full Changelog

v4.11.6

Compare Source

Features
  • Give user_bin_dir and user_bin_path the use_site_for_root argument. They took none, so neither could reach the Unix redirect of root to site_bin_dir. #​537 by @​darrenhuai and @​gaborbernat.

🐍 PyPI release

📜 Full Changelog

v4.11.5

Compare Source

Features
  • Give user_preference_dir and user_preference_path the same arguments as user_config_dir. The functions were introduced in 4.10.0 without arguments, so they could only return the unscoped base directory even though the property they wrap appends the app name and version. #​491 #​531 by @​gaborbernat and @​dylanpulver.
  • Give user_applications_dir, user_applications_path, site_applications_dir and site_applications_path the app arguments. Android scopes both applications directories to the app, so without them the functions could only return the unscoped base directory there. On the two site functions they are keyword-only, keeping multipath first positional as it has been since 4.9.0; the two user functions take their boolean options keyword-only. #​534 by @​gaborbernat.

Bug fixes
  • Make site_applications_path return the first entry when multipath=True, matching site_data_path. On Unix and macOS it passed the whole $XDG_DATA_DIRS list to Path, giving one unusable path such as /first/applications:/second/applications. #​532 by @​tunglambk and @​gaborbernat.

Documentation
  • Correct the ordering note on the iterator methods. use_site_for_root drops the user directory entirely, so the iterators are documented as yielding the most specific directory first rather than always yielding the user one. #​533 by @​gaborbernat.
New Contributors

🐍 PyPI release

📜 Full Changelog

v4.11.4

Compare Source

Bug fixes
  • Stop the iter_*_dirs methods yielding the same directory twice when a site directory resolves to its user equivalent - covered only Unix with use_site_for_root. It also hit iter_runtime_dirs on Unix with $XDG_RUNTIME_DIR set, on Windows and macOS, and all six iterators on Android. #​520 #​524 by @​darrenhuai and @​gaborbernat.

Documentation
  • Fix the config merging example in the how-to guide. iter_config_paths yields the user directory first, so the config.update loop let the site defaults override the user's config instead of the other way round. #​529 by @​gaborbernat.

🐍 PyPI release

📜 Full Changelog

v4.11.3

Compare Source

Features

Bug fixes
  • Stop site_data_dir, site_config_dir and site_applications_dir raising IndexError on Unix and macOS when $XDG_DATA_DIRS or $XDG_CONFIG_DIRS holds only separators and whitespace, such as ":". These values now fall back to the platform defaults, and each entry is stripped of surrounding whitespace. #​523 by @​darrenhuai and @​gaborbernat.

🐍 PyPI release

📜 Full Changelog

v4.11.2

Compare Source

Bug fixes
  • Stop iter_cache_dirs, iter_state_dirs, iter_log_dirs and iter_runtime_dirs yielding the same directory twice on Unix when use_site_for_root is active - fixed this for the config and data iterators only. On macOS, iter_cache_dirs now yields the Homebrew and /Library/Caches entries separately rather than one os.pathsep-joined string when multipath is set. #​469 #​520 by @​viccie30 and @​darrenhuai.

🐍 PyPI release

📜 Full Changelog

v4.11.1

Compare Source

Bug fixes
  • Fix user_desktop_dir on Windows builds without ctypes. CSIDL_DESKTOPDIRECTORY appeared only in the ctypes lookup table, so the registry and environment variable resolvers raised ValueError for it. #​519 by @​darrenhuai and @​gaborbernat.
New Contributors

🐍 PyPI release

📜 Full Changelog

v4.11.0

Compare Source

Features
  • Declare support for Python 3.15 and run the test suite against it, currently in beta. #​512 by @​gaborbernat.

🐍 PyPI release

📜 Full Changelog

v4.10.1

Compare Source

Performance
  • Stop leaking memory on repeated Windows folder lookups. get_win_folder_via_ctypes defined a fresh ctypes structure on every call, and each one registered a pointer type that was never released; the resolver is now built once and reused. #​507 by @​gaborbernat.

🐍 PyPI release

📜 Full Changelog

v4.10.0

Compare Source

Features

Bug fixes
New Contributors

🐍 PyPI release

📜 Full Changelog

v4.9.6

Compare Source

Bug fixes
  • Fix macOS XDG variables leaking across user_config_dir, user_data_dir, and user_state_dir when only some are set. #​473 by @​Goddesen.
  • Avoid duplicate site directories in Unix iter_config_dirs and iter_data_dirs when use_site_for_root is active. #​469 by @​viccie30.
New Contributors

🐍 PyPI release

📜 Full Changelog

v4.9.4

Compare Source

Bug fixes
  • Respect XDG_CONFIG_HOME when reading the user-dirs configuration. #​453 by @​bysiber.
  • Create the directory in Android user_log_dir and user_runtime_dir when ensure_exists is set. #​452 by @​bysiber.

🐍 PyPI release

📜 Full Changelog

v4.9.2

Compare Source

🐍 PyPI release

📜 Full Changelog

v4.9.1

Compare Source

🐍 PyPI release

📜 Full Changelog

v4.9.0

Compare Source

Features

Bug fixes

🐍 PyPI release

📜 Full Changelog

v4.8.0

Compare Source

Features

Bug fixes
  • Yield individual site directories from iter_data_dirs and iter_config_dirs on macOS. #​429 by @​gaborbernat.

🐍 PyPI release

📜 Full Changelog

v4.7.1

Compare Source

Bug fixes

🐍 PyPI release

📜 Full Changelog

v4.7.0

Compare Source

Bug fixes
New Contributors

🐍 PyPI release

📜 Full Changelog

v4.6.0

Compare Source

Bug fixes

Documentation
New Contributors

🐍 PyPI release

📜 Full Changelog

v4.5.1

Compare Source

Bug fixes

🐍 PyPI release

📜 Full Changelog

v4.5.0

Compare Source

Features

Documentation
New Contributors

🐍 PyPI release

📜 Full Changelog

v4.4.0

Compare Source

Bug fixes
New Contributors

🐍 PyPI release

📜 Full Changelog

v4.3.8

Compare Source

Documentation
New Contributors

🐍 PyPI release

📜 Full Changelog

v4.3.7

Compare Source

Features

🐍 PyPI release

📜 Full Changelog


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [platformdirs](https://github.com/tox-dev/platformdirs) ([changelog](https://platformdirs.readthedocs.io/en/latest/changelog.html)) | `==4.3.6` -> `==4.14.5` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/platformdirs/4.14.5?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/platformdirs/4.3.6/4.14.5?slim=true) | --- ### Release Notes <details> <summary>tox-dev/platformdirs (platformdirs)</summary> ### [`v4.14.5`](https://github.com/tox-dev/platformdirs/releases/tag/4.14.5) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.14.4...4.14.5) ##### Bug fixes - Resolve the temporary `user_runtime_dir` fallback to `/runtime-<uid>` instead of `//runtime-<uid>` when the temporary directory is `/` ([#&#8203;687](https://github.com/tox-dev/platformdirs/pull/687)) by [@&#8203;darrenhuai](https://github.com/darrenhuai) and [@&#8203;gaborbernat](https://github.com/gaborbernat). [🐍 PyPI release](https://pypi.org/project/platformdirs/4.14.5/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.14.4...4.14.5) ### [`v4.14.4`](https://github.com/tox-dev/platformdirs/releases/tag/4.14.4) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.14.3...4.14.4) [🐍 PyPI release](https://pypi.org/project/platformdirs/4.14.4/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.14.3...4.14.4) ### [`v4.14.3`](https://github.com/tox-dev/platformdirs/releases/tag/4.14.3) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.14.2...4.14.3) ##### Bug fixes - Preserve trailing whitespace in absolute XDG directory values instead of resolving a different directory ([#&#8203;679](https://github.com/tox-dev/platformdirs/pull/679)) by [@&#8203;mikegit123git](https://github.com/mikegit123git) and [@&#8203;gaborbernat](https://github.com/gaborbernat). ##### New Contributors - [@&#8203;mikegit123git](https://github.com/mikegit123git) made their first contribution in [#&#8203;679](https://github.com/tox-dev/platformdirs/pull/679) [PyPI release](https://pypi.org/project/platformdirs/4.14.3/) [Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.14.2...4.14.3) ### [`v4.14.2`](https://github.com/tox-dev/platformdirs/releases/tag/4.14.2) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.14.0...4.14.2) ##### Bug fixes - Deduplicate equivalent XDG directory spellings across string and path iterators and file searches ([#&#8203;677](https://github.com/tox-dev/platformdirs/pull/677)) by [@&#8203;AlvaroBalbin](https://github.com/AlvaroBalbin) and [@&#8203;gaborbernat](https://github.com/gaborbernat). ##### New Contributors - [@&#8203;AlvaroBalbin](https://github.com/AlvaroBalbin) made their first contribution in [#&#8203;677](https://github.com/tox-dev/platformdirs/pull/677) [PyPI release](https://pypi.org/project/platformdirs/4.14.2/) [Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.14.1...4.14.2) ### [`v4.14.0`](https://github.com/tox-dev/platformdirs/releases/tag/4.14.0) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.13.7...4.14.0) ##### Features - Accept a keyword-only `ensure_exists` in the module-level media directory functions, such as `user_documents_path`, to create a directory set through `XDG_*_DIR` or `user-dirs.dirs` ([#&#8203;656](https://github.com/tox-dev/platformdirs/pull/656)) by [@&#8203;darrenhuai](https://github.com/darrenhuai) and [@&#8203;gaborbernat](https://github.com/gaborbernat). <a name="release-4-14-0-fixed"></a> ##### Bug fixes - Return the media and fonts directories under root's home for root with `use_site_for_root`, ignoring the invoking user's `XDG_*_DIR`, `user-dirs.dirs` and `XDG_DATA_HOME`, and create no inherited media directory under `ensure_exists` ([#&#8203;661](https://github.com/tox-dev/platformdirs/pull/661)) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Raise `ValueError` from `site_data_dir` and `site_config_dir` under `multipath=True` when `appname` or `version` contains `os.pathsep`, rather than returning a string that splits into a directory outside the site base ([#&#8203;662](https://github.com/tox-dev/platformdirs/pull/662)) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Parse an unquoted `user-dirs.dirs` value with a long run of blanks in linear time, rather than in time quadratic in the run's length on every Unix media directory lookup ([#&#8203;663](https://github.com/tox-dev/platformdirs/pull/663)) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Treat a relative `HOME` as unset on Unix, macOS and iOS, taking the home from the password database or raising `RuntimeError`, rather than resolving user directories against the working directory ([#&#8203;664](https://github.com/tox-dev/platformdirs/pull/664)) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Refuse a symlink as `XDG_RUNTIME_DIR` in `user_runtime_dir` when the value ends with `/` or `/.`, which made the check follow the link ([#&#8203;665](https://github.com/tox-dev/platformdirs/pull/665)) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Redirect `user_*_dir` calls with `use_site_for_root=True` when the effective uid is 0, so a setuid-root process gets the site directories, and name and check the runtime directory by the effective uid ([#&#8203;666](https://github.com/tox-dev/platformdirs/pull/666)) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Apply the `XDG_RUNTIME_DIR` check of the Unix `user_runtime_dir` to the macOS one, so it no longer uses a directory that is a symlink, owned by another user or not mode `0700` ([#&#8203;667](https://github.com/tox-dev/platformdirs/pull/667)) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Reject an `XDG_RUNTIME_DIR` below a parent that another user can replace, such as their own entry in `/tmp`, instead of creating the runtime directory through it ([#&#8203;668](https://github.com/tox-dev/platformdirs/pull/668)) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Stop accepting a Unix runtime directory that another user creates between the owner check and its use: `ensure_exists` and `place_runtime_file` create it before checking it, and `find_runtime_file` checks it again after a hit ([#&#8203;669](https://github.com/tox-dev/platformdirs/pull/669)) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Raise `PermissionError` on macOS when `ensure_exists` would create the site cache through a `/Library/Caches/$appname` that is a symlink, not a directory, or owned by a user other than root and the current one ([#&#8203;670](https://github.com/tox-dev/platformdirs/pull/670)) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - With `ensure_exists`, raise `FileExistsError` when a configured media directory such as `user_documents_dir` is a regular file or a symlink to one, instead of returning the file's path. Dangling symlinks are still returned unchanged ([#&#8203;672](https://github.com/tox-dev/platformdirs/pull/672)) by [@&#8203;rupayon123](https://github.com/rupayon123) and [@&#8203;gaborbernat](https://github.com/gaborbernat). ##### New Contributors - [@&#8203;rupayon123](https://github.com/rupayon123) made their first contribution in [#&#8203;672](https://github.com/tox-dev/platformdirs/pull/672) [PyPI release](https://pypi.org/project/platformdirs/4.14.0/) [Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.13.7...4.14.0) ### [`v4.13.7`](https://github.com/tox-dev/platformdirs/releases/tag/4.13.7) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.13.6...4.13.7) ##### Bug fixes - Fall back to the default media directories when `user-dirs.dirs` exists but cannot be read, rather than raising `PermissionError` or `IsADirectoryError` ([#&#8203;632](https://github.com/tox-dev/platformdirs/pull/632)) by [@&#8203;Debasishhh](https://github.com/Debasishhh) and [@&#8203;gaborbernat](https://github.com/gaborbernat). - Resolve the Windows Projects directory from `USERPROFILE` when `HOME` is empty, rather than raising `RuntimeError` ([#&#8203;635](https://github.com/tox-dev/platformdirs/pull/635)) by [@&#8203;pabszero](https://github.com/pabszero) and [@&#8203;gaborbernat](https://github.com/gaborbernat). - Resolve `$HOME` entries in `user-dirs.dirs` to `/Documents` instead of `//Documents` when the home directory is `/` ([#&#8203;636](https://github.com/tox-dev/platformdirs/pull/636)) by [@&#8203;darrenhuai](https://github.com/darrenhuai) and [@&#8203;gaborbernat](https://github.com/gaborbernat). - Print the error and keep listing directories in `python -m platformdirs` when the home directory is unknown, rather than stopping with `RuntimeError` ([#&#8203;638](https://github.com/tox-dev/platformdirs/pull/638)) by [@&#8203;tongwentao](https://github.com/tongwentao) and [@&#8203;gaborbernat](https://github.com/gaborbernat). - Raise `FileNotFoundError` from the `place_*_file` methods when the user directory is on a missing Windows drive or network share, rather than recursing until `RecursionError` ([#&#8203;639](https://github.com/tox-dev/platformdirs/pull/639)) by [@&#8203;nk-batman21](https://github.com/nk-batman21) and [@&#8203;gaborbernat](https://github.com/gaborbernat). - Search the directories of a subclass's overridden `iter_*_paths` method in `find_*_file` and `find_*_files`, rather than the base class ones ([#&#8203;640](https://github.com/tox-dev/platformdirs/pull/640)) by [@&#8203;KennyMcSimpson](https://github.com/KennyMcSimpson) and [@&#8203;gaborbernat](https://github.com/gaborbernat). - Keep `isolated_dirs` paths under a relative root after the working directory changes, and yield the root as an absolute path ([#&#8203;643](https://github.com/tox-dev/platformdirs/pull/643)) by [@&#8203;0x5t4l1n](https://github.com/0x5t4l1n) and [@&#8203;gaborbernat](https://github.com/gaborbernat). - Ignore Windows folder overrides with a UNC path missing its server or share name, such as `\\server`, instead of treating the application name as the share ([#&#8203;647](https://github.com/tox-dev/platformdirs/pull/647)) by [@&#8203;RedCat888](https://github.com/RedCat888) and [@&#8203;gaborbernat](https://github.com/gaborbernat). <a name="release-4-13-7-documentation"></a> ##### Documentation - Remove the literal `/opt/homebrew` from a macOS source comment. Homebrew replaces it with a placeholder when bottling on Apple Silicon but not on Linux, so formulae that bundle platformdirs could not share one bottle across both ([#&#8203;644](https://github.com/tox-dev/platformdirs/pull/644)) by [@&#8203;Moisan](https://github.com/Moisan) and [@&#8203;gaborbernat](https://github.com/gaborbernat). ##### New Contributors - [@&#8203;Moisan](https://github.com/Moisan) made their first contribution in [#&#8203;644](https://github.com/tox-dev/platformdirs/pull/644) - [@&#8203;pabszero](https://github.com/pabszero) made their first contribution in [#&#8203;635](https://github.com/tox-dev/platformdirs/pull/635) - [@&#8203;RedCat888](https://github.com/RedCat888) made their first contribution in [#&#8203;647](https://github.com/tox-dev/platformdirs/pull/647) - [@&#8203;yuefdev](https://github.com/yuefdev) made their first contribution in [#&#8203;630](https://github.com/tox-dev/platformdirs/pull/630) - [@&#8203;Debasishhh](https://github.com/Debasishhh) made their first contribution in [#&#8203;632](https://github.com/tox-dev/platformdirs/pull/632) - [@&#8203;tongwentao](https://github.com/tongwentao) made their first contribution in [#&#8203;638](https://github.com/tox-dev/platformdirs/pull/638) - [@&#8203;nk-batman21](https://github.com/nk-batman21) made their first contribution in [#&#8203;639](https://github.com/tox-dev/platformdirs/pull/639) - [@&#8203;KennyMcSimpson](https://github.com/KennyMcSimpson) made their first contribution in [#&#8203;640](https://github.com/tox-dev/platformdirs/pull/640) - [@&#8203;0x5t4l1n](https://github.com/0x5t4l1n) made their first contribution in [#&#8203;643](https://github.com/tox-dev/platformdirs/pull/643) [PyPI release](https://pypi.org/project/platformdirs/4.13.7/) [Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.13.6...4.13.7) ### [`v4.13.6`](https://github.com/tox-dev/platformdirs/releases/tag/4.13.6) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.13.5...4.13.6) ##### Packaging - Releases now run on the shared tox-dev/github-workflows pipeline, with a locked release toolchain and generated GitHub Release notes ([#&#8203;650](https://github.com/tox-dev/platformdirs/pull/650)) by [@&#8203;gaborbernat](https://github.com/gaborbernat). [🐍 PyPI release](https://pypi.org/project/platformdirs/4.13.6/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.13.5...4.13.6) ### [`v4.13.5`](https://github.com/tox-dev/platformdirs/releases/tag/4.13.5) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.13.4...4.13.5) ##### Packaging - Publish a GitHub Release with changelog notes, a PyPI link, and a version comparison after each PyPI release. [#&#8203;631](https://github.com/tox-dev/platformdirs/pull/631) by [@&#8203;gaborbernat](https://github.com/gaborbernat). [🐍 PyPI release](https://pypi.org/project/platformdirs/4.13.5/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.13.4...4.13.5) ### [`v4.13.4`](https://github.com/tox-dev/platformdirs/releases/tag/4.13.4) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.13.3...4.13.4) ##### Bug fixes - Require a complete `files` path segment when locating Android app directories from `sys.path`. [#&#8203;621](https://github.com/tox-dev/platformdirs/pull/621) by [@&#8203;shoaibulhaque](https://github.com/shoaibulhaque) and [@&#8203;gaborbernat](https://github.com/gaborbernat). - Raise `RuntimeError` when iOS cannot resolve the home directory, rather than returning paths rooted at a literal `~`. [#&#8203;624](https://github.com/tox-dev/platformdirs/pull/624) by [@&#8203;XXXXXQ-0206](https://github.com/XXXXXQ-0206) and [@&#8203;gaborbernat](https://github.com/gaborbernat). - Keep user directory strings, paths and iterators consistent inside `isolated_dirs` when Unix root enables `use_site_for_root`. Restore root redirection when the context exits. [#&#8203;625](https://github.com/tox-dev/platformdirs/pull/625) by [@&#8203;AryanRG](https://github.com/AryanRG) and [@&#8203;gaborbernat](https://github.com/gaborbernat). - Raise `RuntimeError` when the Windows Projects directory cannot resolve the home directory, rather than returning a path rooted at a literal `~`. [#&#8203;627](https://github.com/tox-dev/platformdirs/pull/627) by [@&#8203;XXXXXQ-0206](https://github.com/XXXXXQ-0206). ##### New Contributors - [@&#8203;shoaibulhaque](https://github.com/shoaibulhaque) made their first contribution in [#&#8203;622](https://github.com/tox-dev/platformdirs/pull/622) - [@&#8203;travisfortney](https://github.com/travisfortney) made their first contribution in [#&#8203;623](https://github.com/tox-dev/platformdirs/pull/623) - [@&#8203;XXXXXQ-0206](https://github.com/XXXXXQ-0206) made their first contribution in [#&#8203;624](https://github.com/tox-dev/platformdirs/pull/624) - [@&#8203;AryanRG](https://github.com/AryanRG) made their first contribution in [#&#8203;625](https://github.com/tox-dev/platformdirs/pull/625) [🐍 PyPI release](https://pypi.org/project/platformdirs/4.13.4/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.13.3...4.13.4) ### [`v4.13.3`](https://github.com/tox-dev/platformdirs/releases/tag/4.13.3) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.13.2...4.13.3) [🐍 PyPI release](https://pypi.org/project/platformdirs/4.13.3/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.13.2...4.13.3) ### [`v4.13.2`](https://github.com/tox-dev/platformdirs/releases/tag/4.13.2) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.13.1...4.13.2) ##### Bug fixes - Normalize `user_fonts_dir` when `XDG_DATA_HOME` ends with a separator. [#&#8203;619](https://github.com/tox-dev/platformdirs/pull/619) by [@&#8203;blouirts123](https://github.com/blouirts123) and [@&#8203;gaborbernat](https://github.com/gaborbernat). ##### New Contributors - [@&#8203;blouirts123](https://github.com/blouirts123) made their first contribution in [#&#8203;619](https://github.com/tox-dev/platformdirs/pull/619) [🐍 PyPI release](https://pypi.org/project/platformdirs/4.13.2/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.13.1...4.13.2) ### [`v4.13.1`](https://github.com/tox-dev/platformdirs/releases/tag/4.13.1) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.13.0...4.13.1) ##### Bug fixes - Preserve literal backslashes before ordinary characters in double-quoted `user-dirs.dirs` paths instead of removing them. [#&#8203;614](https://github.com/tox-dev/platformdirs/pull/614) by [@&#8203;xiehuanyi](https://github.com/xiehuanyi) and [@&#8203;gaborbernat](https://github.com/gaborbernat). - Avoid leaking the Windows known-folder path buffer when a lookup fails. [#&#8203;618](https://github.com/tox-dev/platformdirs/pull/618) by [@&#8203;gaborbernat](https://github.com/gaborbernat) and [@&#8203;repzakske](https://github.com/repzakske). ##### New Contributors - [@&#8203;xiehuanyi](https://github.com/xiehuanyi) made their first contribution in [#&#8203;614](https://github.com/tox-dev/platformdirs/pull/614) [🐍 PyPI release](https://pypi.org/project/platformdirs/4.13.1/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.13.0...4.13.1) ### [`v4.13.0`](https://github.com/tox-dev/platformdirs/releases/tag/4.13.0) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.12.4...4.13.0) ##### Bug fixes - Detect Homebrew Python for the `MacOS` site directories under `python:-S`, which leaves `base_prefix` on the `Cellar` keg, and for the `python-freethreading` formula. [#&#8203;612](https://github.com/tox-dev/platformdirs/pull/612) by [@&#8203;sricharanreddycheruku](https://github.com/sricharanreddycheruku) and [@&#8203;gaborbernat](https://github.com/gaborbernat). ##### New Contributors - [@&#8203;sricharanreddycheruku](https://github.com/sricharanreddycheruku) made their first contribution in [#&#8203;612](https://github.com/tox-dev/platformdirs/pull/612) [🐍 PyPI release](https://pypi.org/project/platformdirs/4.13.0/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.12.4...4.13.0) ### [`v4.12.4`](https://github.com/tox-dev/platformdirs/releases/tag/4.12.4) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.12.3...4.12.4) ##### Bug fixes - Keep site directories readable by other users when root calls `place_config_file` or another `place_*_file` method with `use_site_for_root`. [#&#8203;610](https://github.com/tox-dev/platformdirs/pull/610) by [@&#8203;darrenhuai](https://github.com/darrenhuai) and [@&#8203;gaborbernat](https://github.com/gaborbernat). - Make `user_runtime_dir` warn and fall back from an unreachable `XDG_RUNTIME_DIR` under `ensure_exists` instead of raising. [#&#8203;611](https://github.com/tox-dev/platformdirs/pull/611) by [@&#8203;harbinresearcher](https://github.com/harbinresearcher) and [@&#8203;gaborbernat](https://github.com/gaborbernat). ##### New Contributors - [@&#8203;harbinresearcher](https://github.com/harbinresearcher) made their first contribution in [#&#8203;611](https://github.com/tox-dev/platformdirs/pull/611) [🐍 PyPI release](https://pypi.org/project/platformdirs/4.12.4/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.12.3...4.12.4) ### [`v4.12.3`](https://github.com/tox-dev/platformdirs/releases/tag/4.12.3) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.12.2...4.12.3) ##### Bug fixes - Place files from `place_config_file` and `place_data_file` in the first site directory for root on Unix with `use_site_for_root=True` and `multipath=True`, where `find_config_file` and `find_data_file` look for them. [#&#8203;607](https://github.com/tox-dev/platformdirs/pull/607) by [@&#8203;PDGGK](https://github.com/PDGGK) and [@&#8203;gaborbernat](https://github.com/gaborbernat). ##### New Contributors - [@&#8203;PDGGK](https://github.com/PDGGK) made their first contribution in [#&#8203;607](https://github.com/tox-dev/platformdirs/pull/607) [🐍 PyPI release](https://pypi.org/project/platformdirs/4.12.3/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.12.2...4.12.3) ### [`v4.12.2`](https://github.com/tox-dev/platformdirs/releases/tag/4.12.2) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.12.1...4.12.2) ##### Bug fixes - Keep `os.pathsep` in `site_applications_path` under `multipath=True` on platforms with one applications directory. [#&#8203;604](https://github.com/tox-dev/platformdirs/pull/604) by [@&#8203;9Kun](https://github.com/9Kun) and [@&#8203;gaborbernat](https://github.com/gaborbernat). ##### New Contributors - [@&#8203;9Kun](https://github.com/9Kun) made their first contribution in [#&#8203;604](https://github.com/tox-dev/platformdirs/pull/604) [🐍 PyPI release](https://pypi.org/project/platformdirs/4.12.2/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.12.1...4.12.2) ### [`v4.12.1`](https://github.com/tox-dev/platformdirs/releases/tag/4.12.1) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.12.0...4.12.1) ##### Bug fixes - Avoid `PytestAssertRewriteWarning` when importing `platformdirs` before invoking pytest. [#&#8203;601](https://github.com/tox-dev/platformdirs/issues/601) [#&#8203;602](https://github.com/tox-dev/platformdirs/pull/602) by [@&#8203;gaborbernat](https://github.com/gaborbernat). [🐍 PyPI release](https://pypi.org/project/platformdirs/4.12.1/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.12.0...4.12.1) ### [`v4.12.0`](https://github.com/tox-dev/platformdirs/releases/tag/4.12.0) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.11.15...4.12.0) ##### Features - Add `place_*_file` methods that return a file path under a user directory and create its missing parents with mode `0o700`. [#&#8203;585](https://github.com/tox-dev/platformdirs/pull/585) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Add `find_<kind>_file` and `find_<kind>_files` to look up an existing file across the user and site directories of each kind that has an `iter_<kind>_paths` method. [#&#8203;586](https://github.com/tox-dev/platformdirs/pull/586) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Add `isolated_dirs` and the `platformdirs_isolated` pytest fixture to resolve every directory under one test root. [#&#8203;590](https://github.com/tox-dev/platformdirs/pull/590) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Emit `RuntimeDirWarning` when the Unix `user_runtime_dir` falls back from `XDG_RUNTIME_DIR`. [#&#8203;599](https://github.com/tox-dev/platformdirs/pull/599) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Read `user_templates_dir`, `user_publicshare_dir` and `user_bin_dir` on Windows from their known folders. [#&#8203;587](https://github.com/tox-dev/platformdirs/pull/587) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Use the app container layout on iOS, such as `~/Library/Application Support` for data. [#&#8203;600](https://github.com/tox-dev/platformdirs/pull/600) by [@&#8203;gaborbernat](https://github.com/gaborbernat). <a name="release-4-12-0-fixed"></a> ##### Bug fixes - Raise `RuntimeError` for a Unix or macOS directory under the home when no home resolves, and read the password database for an empty `HOME`. [#&#8203;589](https://github.com/tox-dev/platformdirs/pull/589) by [@&#8203;gaborbernat](https://github.com/gaborbernat). <a name="release-4-12-0-documentation"></a> ##### Documentation - Document that a Homebrew Python puts the Homebrew prefix first in the macOS shared directories, with or without `multipath`. [#&#8203;591](https://github.com/tox-dev/platformdirs/pull/591) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Document that the macOS media directories honor the `XDG_*_DIR` variables. [#&#8203;592](https://github.com/tox-dev/platformdirs/pull/592) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Document the `WIN_PD_OVERRIDE_COMMON_PROGRAMS` variable. [#&#8203;593](https://github.com/tox-dev/platformdirs/pull/593) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Document `/usr/local/share/applications` as the Linux `site_applications_dir` default. [#&#8203;594](https://github.com/tox-dev/platformdirs/pull/594) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Correct the BSD `user_runtime_dir` defaults and describe the temporary directory fallback. [#&#8203;595](https://github.com/tox-dev/platformdirs/pull/595) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Describe how platformdirs detects Android, finds the app folder and places the shared folders. [#&#8203;596](https://github.com/tox-dev/platformdirs/pull/596) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Document that Microsoft Store Python redirects only new files and folders under `AppData`. [#&#8203;597](https://github.com/tox-dev/platformdirs/pull/597) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Show how to load a font on Windows after copying it into `user_fonts_dir`. [#&#8203;598](https://github.com/tox-dev/platformdirs/pull/598) by [@&#8203;gaborbernat](https://github.com/gaborbernat). <a name="release-4-12-0-security"></a> ##### Security - Create missing user app directories and their parents with mode `0700` under `ensure_exists` on POSIX platforms. [#&#8203;588](https://github.com/tox-dev/platformdirs/pull/588) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Skip an `XDG_RUNTIME_DIR` or `/run/user/<uid>` that is not a private directory of the user, and reject a symlink or file as the `runtime-<uid>` fallback. [#&#8203;599](https://github.com/tox-dev/platformdirs/pull/599) by [@&#8203;gaborbernat](https://github.com/gaborbernat). [🐍 PyPI release](https://pypi.org/project/platformdirs/4.12.0/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.11.15...4.12.0) ### [`v4.11.15`](https://github.com/tox-dev/platformdirs/releases/tag/4.11.15) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.11.14...4.11.15) ##### Bug fixes - Fix the pyjnius lookup of the Android app folder and media directories, which always failed. [#&#8203;580](https://github.com/tox-dev/platformdirs/pull/580) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Detect Android from `sys.getandroidapilevel` when `ANDROID_DATA` and `ANDROID_ROOT` are unset. [#&#8203;581](https://github.com/tox-dev/platformdirs/pull/581) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Put Android shared-storage directories under the current user's /storage/emulated/\<user id>, not user 0's. [#&#8203;582](https://github.com/tox-dev/platformdirs/pull/582) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Move Android videos to `Movies` and the five non-standard media folders, such as `Desktop`, into `Documents`. [#&#8203;583](https://github.com/tox-dev/platformdirs/pull/583) by [@&#8203;gaborbernat](https://github.com/gaborbernat). [🐍 PyPI release](https://pypi.org/project/platformdirs/4.11.15/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.11.14...4.11.15) ### [`v4.11.14`](https://github.com/tox-dev/platformdirs/releases/tag/4.11.14) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.11.13...4.11.14) ##### Features - Accept `roaming` in `user_log_dir` and `user_log_path`. [#&#8203;572](https://github.com/tox-dev/platformdirs/pull/572) by [@&#8203;gaborbernat](https://github.com/gaborbernat). <a name="release-4-11-14-fixed"></a> ##### Bug fixes - With `ensure_exists`, create a media directory such as `user_documents_dir` only when the user set it through an `XDG_*_DIR` variable or `user-dirs.dirs`, and return a dangling symlink there instead of raising `FileExistsError`. 4.11.13 also created the platform defaults, which filled headless home directories with folders such as `~/Templates` and made a literal `~` directory when `HOME` was unset. [#&#8203;561](https://github.com/tox-dev/platformdirs/pull/561) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Ignore `$XDG_RUNTIME_DIR` in `user_runtime_dir` when `use_site_for_root` redirects root. [#&#8203;562](https://github.com/tox-dev/platformdirs/pull/562) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Return `/storage/emulated/0/Download` from the Android `user_downloads_dir` fallback. [#&#8203;563](https://github.com/tox-dev/platformdirs/pull/563) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Ignore `WIN_PD_OVERRIDE_*` values that lack a drive or a root. [#&#8203;564](https://github.com/tox-dev/platformdirs/pull/564) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Find the Android app folder for package names that start with `files`. [#&#8203;565](https://github.com/tox-dev/platformdirs/pull/565) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Apply a changed `use_site_for_root` on the next read. [#&#8203;567](https://github.com/tox-dev/platformdirs/pull/567) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Stop raising `UnicodeDecodeError` on `user-dirs.dirs` bytes the locale encoding cannot decode. [#&#8203;568](https://github.com/tox-dev/platformdirs/pull/568) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Drop a trailing `# comment` from unquoted `user-dirs.dirs` values. [#&#8203;569](https://github.com/tox-dev/platformdirs/pull/569) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Treat empty Windows folder variables, such as `PUBLIC` or `LOCALAPPDATA`, as unset. [#&#8203;571](https://github.com/tox-dev/platformdirs/pull/571) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Detect Homebrew Python on macOS by its `opt/python*/Frameworks` layout. [#&#8203;573](https://github.com/tox-dev/platformdirs/pull/573) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Keep colons in the Unix `site_cache_path` under `multipath`. [#&#8203;574](https://github.com/tox-dev/platformdirs/pull/574) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Return long Windows folder paths in place of 8.3 short names. [#&#8203;575](https://github.com/tox-dev/platformdirs/pull/575) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Raise `RuntimeError` in place of creating a literal `~` directory when `ensure_exists` finds no home. [#&#8203;578](https://github.com/tox-dev/platformdirs/pull/578) by [@&#8203;gaborbernat](https://github.com/gaborbernat). <a name="release-4-11-14-documentation"></a> ##### Documentation - Fix the Windows `user_preference_dir` path in the platform docs. [#&#8203;577](https://github.com/tox-dev/platformdirs/pull/577) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Document that the macOS `user_state_dir` and `site_state_dir` ignore the `XDG_DATA_*` variables. [#&#8203;579](https://github.com/tox-dev/platformdirs/pull/579) by [@&#8203;gaborbernat](https://github.com/gaborbernat). <a name="release-4-11-14-security"></a> ##### Security - Reject an `appname`, `appauthor` or `version` that leaves the base directory when set after construction. [#&#8203;566](https://github.com/tox-dev/platformdirs/pull/566) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Create the Unix `runtime-<uid>` temporary fallback with mode `0700` and reject one another user owns. [#&#8203;576](https://github.com/tox-dev/platformdirs/pull/576) by [@&#8203;gaborbernat](https://github.com/gaborbernat). [🐍 PyPI release](https://pypi.org/project/platformdirs/4.11.14/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.11.13...4.11.14) ### [`v4.11.13`](https://github.com/tox-dev/platformdirs/releases/tag/4.11.13) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.11.12...4.11.13) ##### Bug fixes - With `ensure_exists`, the media directories such as `user_documents_dir` are created on Unix, and on macOS when an XDG variable sets them. [#&#8203;560](https://github.com/tox-dev/platformdirs/pull/560) by [@&#8203;gaborbernat](https://github.com/gaborbernat) and [@&#8203;ekanshul](https://github.com/ekanshul). [🐍 PyPI release](https://pypi.org/project/platformdirs/4.11.13/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.11.12...4.11.13) ### [`v4.11.12`](https://github.com/tox-dev/platformdirs/releases/tag/4.11.12) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.11.11...4.11.12) ##### Bug fixes - Ignore relative paths in the XDG user directory environment variables, so `XDG_DOCUMENTS_DIR=Documents` no longer makes `user_documents_dir` and the other media directories return a path relative to the working directory. They now fall back to the platform default like the XDG Base Directory variables, and like the same keys read from `user-dirs.dirs`. [#&#8203;554](https://github.com/tox-dev/platformdirs/pull/554) by [@&#8203;darrenhuai](https://github.com/darrenhuai). <a name="release-4-11-12-documentation"></a> ##### Documentation - Copy nested directories in the versioned data migration recipe. [#&#8203;553](https://github.com/tox-dev/platformdirs/pull/553) by [@&#8203;agammann](https://github.com/agammann). ##### New Contributors - [@&#8203;agammann](https://github.com/agammann) made their first contribution in [#&#8203;553](https://github.com/tox-dev/platformdirs/pull/553) [🐍 PyPI release](https://pypi.org/project/platformdirs/4.11.12/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.11.11...4.11.12) ### [`v4.11.11`](https://github.com/tox-dev/platformdirs/releases/tag/4.11.11) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.11.10...4.11.11) ##### Security - Reject `appname`, `appauthor` and `version` values that leave the platform base directory (a `..` segment, a leading separator, a drive or a UNC share) with `ValueError`, so `ensure_exists` cannot create directories outside it. [#&#8203;552](https://github.com/tox-dev/platformdirs/pull/552) by [@&#8203;Pitchfork-and-Torch](https://github.com/Pitchfork-and-Torch) and [@&#8203;gaborbernat](https://github.com/gaborbernat). ##### New Contributors - [@&#8203;Pitchfork-and-Torch](https://github.com/Pitchfork-and-Torch) made their first contribution in [#&#8203;552](https://github.com/tox-dev/platformdirs/pull/552) [🐍 PyPI release](https://pypi.org/project/platformdirs/4.11.11/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.11.10...4.11.11) ### [`v4.11.10`](https://github.com/tox-dev/platformdirs/releases/tag/4.11.10) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.11.9...4.11.10) ##### Bug fixes - With `ensure_exists`, the `site_*_dir` and `site_*_path` properties and the `iter_*_dirs` iterators only create the site directories they return or yield, instead of every entry in the site list. [#&#8203;550](https://github.com/tox-dev/platformdirs/pull/550) by [@&#8203;darrenhuai](https://github.com/darrenhuai) and [@&#8203;gaborbernat](https://github.com/gaborbernat). [🐍 PyPI release](https://pypi.org/project/platformdirs/4.11.10/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.11.9...4.11.10) ### [`v4.11.9`](https://github.com/tox-dev/platformdirs/releases/tag/4.11.9) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.11.8...4.11.9) ##### Features - Accept `multipath` in `site_cache_dir` and `site_cache_path`. Without it, the function API could not return the Homebrew cache prefix that `site_cache_dir` adds under `multipath`. [#&#8203;544](https://github.com/tox-dev/platformdirs/pull/544) by [@&#8203;darrenhuai](https://github.com/darrenhuai) and [@&#8203;gaborbernat](https://github.com/gaborbernat). <a name="release-4-11-9-fixed"></a> ##### Bug fixes - Parse Unix `user-dirs.dirs` line by line like `xdg-user-dir`. The INI parser raised on a repeated key or a line without `=`, and returned trailing comments and backslash escapes inside `user_documents_dir` and the other media directories. The last valid assignment now wins, and platformdirs unescapes the quoted value and ignores text after the closing quote. [#&#8203;545](https://github.com/tox-dev/platformdirs/pull/545) by [@&#8203;darrenhuai](https://github.com/darrenhuai) and [@&#8203;gaborbernat](https://github.com/gaborbernat). - Read `PUBLIC` before the home directory in `user_publicshare_dir` on Windows, so it no longer raises `RuntimeError` when `PUBLIC` is set and the home directory cannot be determined. [#&#8203;546](https://github.com/tox-dev/platformdirs/pull/546) by [@&#8203;emme1t](https://github.com/emme1t) and [@&#8203;gaborbernat](https://github.com/gaborbernat). - Raise `RuntimeError` from `Android` directories when the app folder cannot be found, instead of `TypeError: expected str, bytes or os.PathLike object, not NoneType`. [#&#8203;547](https://github.com/tox-dev/platformdirs/pull/547) by [@&#8203;Str0k](https://github.com/Str0k) and [@&#8203;gaborbernat](https://github.com/gaborbernat). ##### New Contributors - [@&#8203;emme1t](https://github.com/emme1t) made their first contribution in [#&#8203;546](https://github.com/tox-dev/platformdirs/pull/546) - [@&#8203;Str0k](https://github.com/Str0k) made their first contribution in [#&#8203;547](https://github.com/tox-dev/platformdirs/pull/547) [🐍 PyPI release](https://pypi.org/project/platformdirs/4.11.9/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.11.8...4.11.9) ### [`v4.11.8`](https://github.com/tox-dev/platformdirs/releases/tag/4.11.8) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.11.7...4.11.8) ##### Bug fixes - Make `user_data_path`, `user_config_path`, `user_preference_path` and `user_applications_path` return the first site entry when root is redirected by `use_site_for_root` under `multipath`, matching their `site_*_path` twins. They passed the whole joined list to `Path`, giving one unusable path such as `/xdg/a/foo:/xdg/b/foo`. [#&#8203;538](https://github.com/tox-dev/platformdirs/pull/538) by [@&#8203;darrenhuai](https://github.com/darrenhuai) and [@&#8203;gaborbernat](https://github.com/gaborbernat). - Ignore relative paths in XDG Base Directory environment variables and use the existing platform fallback. Relative entries in `$XDG_DATA_DIRS` and `$XDG_CONFIG_DIRS` are skipped. [#&#8203;540](https://github.com/tox-dev/platformdirs/pull/540) by [@&#8203;lakshayxi](https://github.com/lakshayxi) and [@&#8203;gaborbernat](https://github.com/gaborbernat). - Preserve literal percent signs in Unix `user-dirs.dirs` paths, including `100% complete`, `100%%` and `%(XDG_DESKTOP_DIR)s`. Continue to expand `$HOME`. [#&#8203;542](https://github.com/tox-dev/platformdirs/pull/542) by [@&#8203;jackwalkerlabs](https://github.com/jackwalkerlabs) and [@&#8203;gaborbernat](https://github.com/gaborbernat). - Use the base Python installation to locate Homebrew site directories on macOS, preserving shared data, config, cache and state paths inside virtual environments. [#&#8203;543](https://github.com/tox-dev/platformdirs/pull/543) by [@&#8203;jackwalkerlabs](https://github.com/jackwalkerlabs) and [@&#8203;gaborbernat](https://github.com/gaborbernat). ##### New Contributors - [@&#8203;lakshayxi](https://github.com/lakshayxi) made their first contribution in [#&#8203;540](https://github.com/tox-dev/platformdirs/pull/540) - [@&#8203;jackwalkerlabs](https://github.com/jackwalkerlabs) made their first contribution in [#&#8203;542](https://github.com/tox-dev/platformdirs/pull/542) [🐍 PyPI release](https://pypi.org/project/platformdirs/4.11.8/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.11.7...4.11.8) ### [`v4.11.7`](https://github.com/tox-dev/platformdirs/releases/tag/4.11.7) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.11.6...4.11.7) [🐍 PyPI release](https://pypi.org/project/platformdirs/4.11.7/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.11.6...4.11.7) ### [`v4.11.6`](https://github.com/tox-dev/platformdirs/releases/tag/4.11.6) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.11.5...4.11.6) ##### Features - Give `user_bin_dir` and `user_bin_path` the `use_site_for_root` argument. They took none, so neither could reach the Unix redirect of root to `site_bin_dir`. [#&#8203;537](https://github.com/tox-dev/platformdirs/pull/537) by [@&#8203;darrenhuai](https://github.com/darrenhuai) and [@&#8203;gaborbernat](https://github.com/gaborbernat). [🐍 PyPI release](https://pypi.org/project/platformdirs/4.11.6/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.11.5...4.11.6) ### [`v4.11.5`](https://github.com/tox-dev/platformdirs/releases/tag/4.11.5) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.11.4...4.11.5) ##### Features - Give `user_preference_dir` and `user_preference_path` the same arguments as `user_config_dir`. The functions were introduced in 4.10.0 without arguments, so they could only return the unscoped base directory even though the property they wrap appends the app name and version. [#&#8203;491](https://github.com/tox-dev/platformdirs/pull/491) [#&#8203;531](https://github.com/tox-dev/platformdirs/pull/531) by [@&#8203;gaborbernat](https://github.com/gaborbernat) and [@&#8203;dylanpulver](https://github.com/dylanpulver). - Give `user_applications_dir`, `user_applications_path`, `site_applications_dir` and `site_applications_path` the app arguments. Android scopes both applications directories to the app, so without them the functions could only return the unscoped base directory there. On the two site functions they are keyword-only, keeping `multipath` first positional as it has been since 4.9.0; the two user functions take their boolean options keyword-only. [#&#8203;534](https://github.com/tox-dev/platformdirs/pull/534) by [@&#8203;gaborbernat](https://github.com/gaborbernat). <a name="release-4-11-5-fixed"></a> ##### Bug fixes - Make `site_applications_path` return the first entry when `multipath=True`, matching `site_data_path`. On Unix and macOS it passed the whole `$XDG_DATA_DIRS` list to `Path`, giving one unusable path such as `/first/applications:/second/applications`. [#&#8203;532](https://github.com/tox-dev/platformdirs/pull/532) by [@&#8203;tunglambk](https://github.com/tunglambk) and [@&#8203;gaborbernat](https://github.com/gaborbernat). <a name="release-4-11-5-documentation"></a> ##### Documentation - Correct the ordering note on the iterator methods. `use_site_for_root` drops the user directory entirely, so the iterators are documented as yielding the most specific directory first rather than always yielding the user one. [#&#8203;533](https://github.com/tox-dev/platformdirs/pull/533) by [@&#8203;gaborbernat](https://github.com/gaborbernat). ##### New Contributors - [@&#8203;dylanpulver](https://github.com/dylanpulver) made their first contribution in [#&#8203;531](https://github.com/tox-dev/platformdirs/pull/531) - [@&#8203;tunglambk](https://github.com/tunglambk) made their first contribution in [#&#8203;532](https://github.com/tox-dev/platformdirs/pull/532) [🐍 PyPI release](https://pypi.org/project/platformdirs/4.11.5/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.11.4...4.11.5) ### [`v4.11.4`](https://github.com/tox-dev/platformdirs/releases/tag/4.11.4) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.11.3...4.11.4) ##### Bug fixes - Stop the `iter_*_dirs` methods yielding the same directory twice when a site directory resolves to its user equivalent - covered only Unix with `use_site_for_root`. It also hit `iter_runtime_dirs` on Unix with `$XDG_RUNTIME_DIR` set, on Windows and macOS, and all six iterators on Android. [#&#8203;520](https://github.com/tox-dev/platformdirs/pull/520) [#&#8203;524](https://github.com/tox-dev/platformdirs/pull/524) by [@&#8203;darrenhuai](https://github.com/darrenhuai) and [@&#8203;gaborbernat](https://github.com/gaborbernat). <a name="release-4-11-4-documentation"></a> ##### Documentation - Fix the config merging example in the how-to guide. `iter_config_paths` yields the user directory first, so the `config.update` loop let the site defaults override the user's config instead of the other way round. [#&#8203;529](https://github.com/tox-dev/platformdirs/pull/529) by [@&#8203;gaborbernat](https://github.com/gaborbernat). [🐍 PyPI release](https://pypi.org/project/platformdirs/4.11.4/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.11.3...4.11.4) ### [`v4.11.3`](https://github.com/tox-dev/platformdirs/releases/tag/4.11.3) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.11.2...4.11.3) ##### Features - `python -m platformdirs` now lists `user_desktop_dir`, which was missing from the properties it prints. [#&#8203;523](https://github.com/tox-dev/platformdirs/pull/523) by [@&#8203;darrenhuai](https://github.com/darrenhuai) and [@&#8203;gaborbernat](https://github.com/gaborbernat). <a name="release-4-11-3-fixed"></a> ##### Bug fixes - Stop `site_data_dir`, `site_config_dir` and `site_applications_dir` raising `IndexError` on Unix and macOS when `$XDG_DATA_DIRS` or `$XDG_CONFIG_DIRS` holds only separators and whitespace, such as `":"`. These values now fall back to the platform defaults, and each entry is stripped of surrounding whitespace. [#&#8203;523](https://github.com/tox-dev/platformdirs/pull/523) by [@&#8203;darrenhuai](https://github.com/darrenhuai) and [@&#8203;gaborbernat](https://github.com/gaborbernat). [🐍 PyPI release](https://pypi.org/project/platformdirs/4.11.3/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.11.2...4.11.3) ### [`v4.11.2`](https://github.com/tox-dev/platformdirs/releases/tag/4.11.2) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.11.1...4.11.2) ##### Bug fixes - Stop `iter_cache_dirs`, `iter_state_dirs`, `iter_log_dirs` and `iter_runtime_dirs` yielding the same directory twice on Unix when `use_site_for_root` is active - fixed this for the config and data iterators only. On macOS, `iter_cache_dirs` now yields the Homebrew and `/Library/Caches` entries separately rather than one `os.pathsep`-joined string when `multipath` is set. [#&#8203;469](https://github.com/tox-dev/platformdirs/pull/469) [#&#8203;520](https://github.com/tox-dev/platformdirs/pull/520) by [@&#8203;viccie30](https://github.com/viccie30) and [@&#8203;darrenhuai](https://github.com/darrenhuai). [🐍 PyPI release](https://pypi.org/project/platformdirs/4.11.2/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.11.1...4.11.2) ### [`v4.11.1`](https://github.com/tox-dev/platformdirs/releases/tag/4.11.1) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.11.0...4.11.1) ##### Bug fixes - Fix `user_desktop_dir` on Windows builds without `ctypes`. `CSIDL_DESKTOPDIRECTORY` appeared only in the ctypes lookup table, so the registry and environment variable resolvers raised `ValueError` for it. [#&#8203;519](https://github.com/tox-dev/platformdirs/pull/519) by [@&#8203;darrenhuai](https://github.com/darrenhuai) and [@&#8203;gaborbernat](https://github.com/gaborbernat). ##### New Contributors - [@&#8203;darrenhuai](https://github.com/darrenhuai) made their first contribution in [#&#8203;519](https://github.com/tox-dev/platformdirs/pull/519) [🐍 PyPI release](https://pypi.org/project/platformdirs/4.11.1/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.11.0...4.11.1) ### [`v4.11.0`](https://github.com/tox-dev/platformdirs/releases/tag/4.11.0) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.10.1...4.11.0) ##### Features - Declare support for Python 3.15 and run the test suite against it, currently in beta. [#&#8203;512](https://github.com/tox-dev/platformdirs/pull/512) by [@&#8203;gaborbernat](https://github.com/gaborbernat). [🐍 PyPI release](https://pypi.org/project/platformdirs/4.11.0/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.10.1...4.11.0) ### [`v4.10.1`](https://github.com/tox-dev/platformdirs/releases/tag/4.10.1) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.10.0...4.10.1) ##### Performance - Stop leaking memory on repeated Windows folder lookups. `get_win_folder_via_ctypes` defined a fresh `ctypes` structure on every call, and each one registered a pointer type that was never released; the resolver is now built once and reused. [#&#8203;507](https://github.com/tox-dev/platformdirs/pull/507) by [@&#8203;gaborbernat](https://github.com/gaborbernat). [🐍 PyPI release](https://pypi.org/project/platformdirs/4.10.1/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.10.0...4.10.1) ### [`v4.10.0`](https://github.com/tox-dev/platformdirs/releases/tag/4.10.0) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.9.6...4.10.0) ##### Features - Add `user_publicshare_dir`, `user_templates_dir`, `user_fonts_dir`, and `user_preference_dir`. [#&#8203;491](https://github.com/tox-dev/platformdirs/pull/491) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Add `user_projects_dir` backed by `$XDG_PROJECTS_DIR`. [#&#8203;490](https://github.com/tox-dev/platformdirs/pull/490) by [@&#8203;gaborbernat](https://github.com/gaborbernat). <a name="release-4-10-0-fixed"></a> ##### Bug fixes - Return only the first path from `site_config_path` on macOS when `multipath` is set. [#&#8203;488](https://github.com/tox-dev/platformdirs/pull/488) by [@&#8203;lphuc2250gma](https://github.com/lphuc2250gma). ##### New Contributors - [@&#8203;lphuc2250gma](https://github.com/lphuc2250gma) made their first contribution in [#&#8203;488](https://github.com/tox-dev/platformdirs/pull/488) [🐍 PyPI release](https://pypi.org/project/platformdirs/4.10.0/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.9.6...4.10.0) ### [`v4.9.6`](https://github.com/tox-dev/platformdirs/releases/tag/4.9.6) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.9.4...4.9.6) ##### Bug fixes - Fix macOS XDG variables leaking across `user_config_dir`, `user_data_dir`, and `user_state_dir` when only some are set. [#&#8203;473](https://github.com/tox-dev/platformdirs/pull/473) by [@&#8203;Goddesen](https://github.com/Goddesen). - Avoid duplicate site directories in Unix `iter_config_dirs` and `iter_data_dirs` when `use_site_for_root` is active. [#&#8203;469](https://github.com/tox-dev/platformdirs/pull/469) by [@&#8203;viccie30](https://github.com/viccie30). ##### New Contributors - [@&#8203;viccie30](https://github.com/viccie30) made their first contribution in [#&#8203;469](https://github.com/tox-dev/platformdirs/pull/469) - [@&#8203;Goddesen](https://github.com/Goddesen) made their first contribution in [#&#8203;473](https://github.com/tox-dev/platformdirs/pull/473) [🐍 PyPI release](https://pypi.org/project/platformdirs/4.9.6/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.9.5...4.9.6) ### [`v4.9.4`](https://github.com/tox-dev/platformdirs/releases/tag/4.9.4) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.9.2...4.9.4) ##### Bug fixes - Respect `XDG_CONFIG_HOME` when reading the user-dirs configuration. [#&#8203;453](https://github.com/tox-dev/platformdirs/pull/453) by [@&#8203;bysiber](https://github.com/bysiber). - Create the directory in Android `user_log_dir` and `user_runtime_dir` when `ensure_exists` is set. [#&#8203;452](https://github.com/tox-dev/platformdirs/pull/452) by [@&#8203;bysiber](https://github.com/bysiber). [🐍 PyPI release](https://pypi.org/project/platformdirs/4.9.4/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.9.3...4.9.4) ### [`v4.9.2`](https://github.com/tox-dev/platformdirs/releases/tag/4.9.2) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.9.1...4.9.2) [🐍 PyPI release](https://pypi.org/project/platformdirs/4.9.2/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.9.1...4.9.2) ### [`v4.9.1`](https://github.com/tox-dev/platformdirs/releases/tag/4.9.1) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.9.0...4.9.1) [🐍 PyPI release](https://pypi.org/project/platformdirs/4.9.1/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.9.0...4.9.1) ### [`v4.9.0`](https://github.com/tox-dev/platformdirs/releases/tag/4.9.0) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.8.0...4.9.0) ##### Features - Add `site_bin_dir`. [#&#8203;443](https://github.com/tox-dev/platformdirs/pull/443) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Add `site_applications_dir`. [#&#8203;442](https://github.com/tox-dev/platformdirs/pull/442) by [@&#8203;gaborbernat](https://github.com/gaborbernat). <a name="release-4-9-0-fixed"></a> ##### Bug fixes - Use the correct runtime directory path on OpenBSD. [#&#8203;440](https://github.com/tox-dev/platformdirs/pull/440) by [@&#8203;gaborbernat](https://github.com/gaborbernat). [🐍 PyPI release](https://pypi.org/project/platformdirs/4.9.0/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.8.0...4.9.0) ### [`v4.8.0`](https://github.com/tox-dev/platformdirs/releases/tag/4.8.0) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.7.1...4.8.0) ##### Features - Add `use_site_for_root` to redirect `user_*_dir` to `site_*_dir` for root on Unix. [#&#8203;426](https://github.com/tox-dev/platformdirs/pull/426) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Add `site_state_dir` for system-wide state. [#&#8203;425](https://github.com/tox-dev/platformdirs/pull/425) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Add `site_log_dir`. [#&#8203;424](https://github.com/tox-dev/platformdirs/pull/424) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Add `user_applications_dir`. [#&#8203;432](https://github.com/tox-dev/platformdirs/pull/432) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Add `user_bin_dir`. [#&#8203;430](https://github.com/tox-dev/platformdirs/pull/430) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Add `PLATFORMDIRS_*` environment variable overrides for Windows folder resolution. [#&#8203;427](https://github.com/tox-dev/platformdirs/pull/427) by [@&#8203;gaborbernat](https://github.com/gaborbernat). - Add `WIN_PD_OVERRIDE_*` environment variable overrides for Windows folder resolution. [#&#8203;428](https://github.com/tox-dev/platformdirs/pull/428) by [@&#8203;gaborbernat](https://github.com/gaborbernat). <a name="release-4-8-0-fixed"></a> ##### Bug fixes - Yield individual site directories from `iter_data_dirs` and `iter_config_dirs` on macOS. [#&#8203;429](https://github.com/tox-dev/platformdirs/pull/429) by [@&#8203;gaborbernat](https://github.com/gaborbernat). [🐍 PyPI release](https://pypi.org/project/platformdirs/4.8.0/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.7.1...4.8.0) ### [`v4.7.1`](https://github.com/tox-dev/platformdirs/releases/tag/4.7.1) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.7.0...4.7.1) ##### Bug fixes - Avoid `FileNotFoundError` on Windows in sandboxed environments. [#&#8203;422](https://github.com/tox-dev/platformdirs/pull/422) by [@&#8203;gaborbernat](https://github.com/gaborbernat). [🐍 PyPI release](https://pypi.org/project/platformdirs/4.7.1/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.7.0...4.7.1) ### [`v4.7.0`](https://github.com/tox-dev/platformdirs/releases/tag/4.7.0) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.6.0...4.7.0) ##### Bug fixes - Find relocated Windows Downloads folders and preserve long paths through `SHGetKnownFolderPath`. [#&#8203;380](https://github.com/tox-dev/platformdirs/pull/380) by [@&#8203;moi15moi](https://github.com/moi15moi) and [@&#8203;gaborbernat](https://github.com/gaborbernat). - Fall back to a temp directory when the Unix runtime dir is not writable. [#&#8203;369](https://github.com/tox-dev/platformdirs/pull/369) by [@&#8203;lengau](https://github.com/lengau) and [@&#8203;gaborbernat](https://github.com/gaborbernat). ##### New Contributors - [@&#8203;lengau](https://github.com/lengau) made their first contribution in [#&#8203;369](https://github.com/tox-dev/platformdirs/pull/369) - [@&#8203;moi15moi](https://github.com/moi15moi) made their first contribution in [#&#8203;380](https://github.com/tox-dev/platformdirs/pull/380) [🐍 PyPI release](https://pypi.org/project/platformdirs/4.7.0/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.6.0...4.7.0) ### [`v4.6.0`](https://github.com/tox-dev/platformdirs/releases/tag/4.6.0) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.5.1...4.6.0) ##### Bug fixes - Honor XDG environment variables on macOS. [#&#8203;375](https://github.com/tox-dev/platformdirs/pull/375) by [@&#8203;Czaki](https://github.com/Czaki) and [@&#8203;gaborbernat](https://github.com/gaborbernat). <a name="release-4-6-0-documentation"></a> ##### Documentation - Fix `site_cache_dir` documentation. [#&#8203;402](https://github.com/tox-dev/platformdirs/pull/402) by [@&#8203;brianhelba](https://github.com/brianhelba). - Fix an outdated link and correct a function docstring. [#&#8203;398](https://github.com/tox-dev/platformdirs/pull/398) by [@&#8203;joclement](https://github.com/joclement). ##### New Contributors - [@&#8203;Czaki](https://github.com/Czaki) made their first contribution in [#&#8203;375](https://github.com/tox-dev/platformdirs/pull/375) - [@&#8203;joclement](https://github.com/joclement) made their first contribution in [#&#8203;398](https://github.com/tox-dev/platformdirs/pull/398) - [@&#8203;brianhelba](https://github.com/brianhelba) made their first contribution in [#&#8203;402](https://github.com/tox-dev/platformdirs/pull/402) [🐍 PyPI release](https://pypi.org/project/platformdirs/4.6.0/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.5.1...4.6.0) ### [`v4.5.1`](https://github.com/tox-dev/platformdirs/releases/tag/4.5.1) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.5.0...4.5.1) ##### Bug fixes - Fix no-ctypes fallback on Windows. [#&#8203;403](https://github.com/tox-dev/platformdirs/pull/403) by [@&#8203;youknowone](https://github.com/youknowone). [🐍 PyPI release](https://pypi.org/project/platformdirs/4.5.1/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.5.0...4.5.1) ### [`v4.5.0`](https://github.com/tox-dev/platformdirs/releases/tag/4.5.0) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.4.0...4.5.0) ##### Features - Add support for Python 3.14. [#&#8203;382](https://github.com/tox-dev/platformdirs/pull/382) by [@&#8203;hugovk](https://github.com/hugovk). - Drop support for Python 3.9. [#&#8203;389](https://github.com/tox-dev/platformdirs/pull/389) by [@&#8203;gaborbernat](https://github.com/gaborbernat). <a name="release-4-5-0-documentation"></a> ##### Documentation - Update Windows file paths in README. [#&#8203;385](https://github.com/tox-dev/platformdirs/pull/385) by [@&#8203;ParadaCarleton](https://github.com/ParadaCarleton). ##### New Contributors - [@&#8203;ParadaCarleton](https://github.com/ParadaCarleton) made their first contribution in [#&#8203;385](https://github.com/tox-dev/platformdirs/pull/385) [🐍 PyPI release](https://pypi.org/project/platformdirs/4.5.0/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.4.0...4.5.0) ### [`v4.4.0`](https://github.com/tox-dev/platformdirs/releases/tag/4.4.0) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.3.8...4.4.0) ##### Bug fixes - Improve Homebrew path detection. [#&#8203;370](https://github.com/tox-dev/platformdirs/pull/370) by [@&#8203;daeho-ro](https://github.com/daeho-ro). ##### New Contributors - [@&#8203;daeho-ro](https://github.com/daeho-ro) made their first contribution in [#&#8203;370](https://github.com/tox-dev/platformdirs/pull/370) [🐍 PyPI release](https://pypi.org/project/platformdirs/4.4.0/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.3.8...4.4.0) ### [`v4.3.8`](https://github.com/tox-dev/platformdirs/releases/tag/4.3.8) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.3.7...4.3.8) ##### Documentation - Add missing examples and fix example order in README. [#&#8203;355](https://github.com/tox-dev/platformdirs/pull/355) by [@&#8203;gene1wood](https://github.com/gene1wood). ##### New Contributors - [@&#8203;gene1wood](https://github.com/gene1wood) made their first contribution in [#&#8203;355](https://github.com/tox-dev/platformdirs/pull/355) [🐍 PyPI release](https://pypi.org/project/platformdirs/4.3.8/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.3.7...4.3.8) ### [`v4.3.7`](https://github.com/tox-dev/platformdirs/releases/tag/4.3.7) [Compare Source](https://github.com/tox-dev/platformdirs/compare/4.3.6...4.3.7) ##### Features - Drop support for EOL Python 3.8. [#&#8203;330](https://github.com/tox-dev/platformdirs/pull/330) by [@&#8203;hugovk](https://github.com/hugovk). [🐍 PyPI release](https://pypi.org/project/platformdirs/4.3.7/) [📜 Full Changelog](https://github.com/tox-dev/platformdirs/compare/4.3.6...4.3.7) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjQyLjUyLjgiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIiLCJsYWJlbHMiOlsicmVub3ZhdGUtYm90Il19-->
renovate-bot force-pushed renovate/platformdirs-4.x from 129d4c4678 to f2468a3a9c 2025-05-12 05:29:18 +05:30 Compare
renovate-bot changed title from chore(deps): update dependency platformdirs to v4.3.7 to chore(deps): update dependency platformdirs to v4.3.8 2025-05-19 05:11:16 +05:30
renovate-bot force-pushed renovate/platformdirs-4.x from f2468a3a9c to 0d93af4c76 2025-09-01 05:15:05 +05:30 Compare
renovate-bot changed title from chore(deps): update dependency platformdirs to v4.3.8 to chore(deps): update dependency platformdirs to v4.4.0 2025-09-01 05:15:05 +05:30
renovate-bot force-pushed renovate/platformdirs-4.x from 0d93af4c76 to 91cb87e9aa
Some checks are pending
ci/woodpecker/pull_request_metadata/woodpecker Pipeline is pending
2025-10-13 05:14:51 +05:30
Compare
renovate-bot changed title from chore(deps): update dependency platformdirs to v4.4.0 to chore(deps): update dependency platformdirs to v4.5.0 2025-10-13 05:14:53 +05:30
renovate-bot force-pushed renovate/platformdirs-4.x from 91cb87e9aa
Some checks are pending
ci/woodpecker/pull_request_metadata/woodpecker Pipeline is pending
to 4a93ecd510
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
ci/woodpecker/pr/woodpecker Pipeline is pending
ci/woodpecker/pull_request_metadata/woodpecker Pipeline is pending
2025-12-08 05:14:48 +05:30
Compare
renovate-bot changed title from chore(deps): update dependency platformdirs to v4.5.0 to chore(deps): update dependency platformdirs to v4.5.1 2025-12-08 05:14:49 +05:30
renovate-bot force-pushed renovate/platformdirs-4.x from 4a93ecd510
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
ci/woodpecker/pr/woodpecker Pipeline is pending
ci/woodpecker/pull_request_metadata/woodpecker Pipeline is pending
to 435908bac7
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
ci/woodpecker/pr/woodpecker Pipeline is pending
ci/woodpecker/pull_request_metadata/woodpecker Pipeline is pending
2026-02-16 05:10:46 +05:30
Compare
renovate-bot changed title from chore(deps): update dependency platformdirs to v4.5.1 to chore(deps): update dependency platformdirs to v4.9.1 2026-02-16 05:10:48 +05:30
renovate-bot force-pushed renovate/platformdirs-4.x from 435908bac7
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
ci/woodpecker/pr/woodpecker Pipeline is pending
ci/woodpecker/pull_request_metadata/woodpecker Pipeline is pending
to 321feab26b
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
ci/woodpecker/pr/woodpecker Pipeline is pending
ci/woodpecker/pull_request_metadata/woodpecker Pipeline is pending
2026-02-23 05:11:06 +05:30
Compare
renovate-bot changed title from chore(deps): update dependency platformdirs to v4.9.1 to chore(deps): update dependency platformdirs to v4.9.2 2026-02-23 05:11:08 +05:30
renovate-bot force-pushed renovate/platformdirs-4.x from 321feab26b
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
ci/woodpecker/pr/woodpecker Pipeline is pending
ci/woodpecker/pull_request_metadata/woodpecker Pipeline is pending
to d8b81b74f8
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
ci/woodpecker/pr/woodpecker Pipeline is pending
ci/woodpecker/pull_request_metadata/woodpecker Pipeline was successful
2026-03-09 05:10:07 +05:30
Compare
renovate-bot changed title from chore(deps): update dependency platformdirs to v4.9.2 to chore(deps): update dependency platformdirs to v4.9.4 2026-03-09 05:10:08 +05:30
renovate-bot force-pushed renovate/platformdirs-4.x from d8b81b74f8
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
ci/woodpecker/pr/woodpecker Pipeline is pending
ci/woodpecker/pull_request_metadata/woodpecker Pipeline was successful
to 892438ce00
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_metadata/woodpecker Pipeline was successful
2026-04-13 05:10:02 +05:30
Compare
renovate-bot changed title from chore(deps): update dependency platformdirs to v4.9.4 to chore(deps): update dependency platformdirs to v4.9.6 2026-04-13 05:10:03 +05:30
renovate-bot force-pushed renovate/platformdirs-4.x from 892438ce00
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_metadata/woodpecker Pipeline was successful
to 169a406740 2026-05-28 23:26:43 +05:30
Compare
renovate-bot changed title from chore(deps): update dependency platformdirs to v4.9.6 to chore(deps): update dependency platformdirs to v4.10.0 2026-05-28 23:26:44 +05:30
renovate-bot force-pushed renovate/platformdirs-4.x from 169a406740 to 551753b6c6
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pull_request_metadata/woodpecker Pipeline was successful
2026-07-20 05:12:22 +05:30
Compare
renovate-bot changed title from chore(deps): update dependency platformdirs to v4.10.0 to chore(deps): update dependency platformdirs to v4.10.1 2026-07-20 05:12:23 +05:30
renovate-bot force-pushed renovate/platformdirs-4.x from 551753b6c6
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pull_request_metadata/woodpecker Pipeline was successful
to a2aa283fbf
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_metadata/woodpecker Pipeline was successful
2026-07-27 05:12:02 +05:30
Compare
renovate-bot changed title from chore(deps): update dependency platformdirs to v4.10.1 to chore(deps): update dependency platformdirs to v4.11.0 2026-07-27 05:12:04 +05:30
renovate-bot force-pushed renovate/platformdirs-4.x from a2aa283fbf
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_metadata/woodpecker Pipeline was successful
to 28110a307a
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_metadata/woodpecker Pipeline was successful
2026-08-10 05:11:54 +05:30
Compare
renovate-bot changed title from chore(deps): update dependency platformdirs to v4.11.0 to chore(deps): update dependency platformdirs to v4.11.1 2026-08-10 05:11:56 +05:30
renovate-bot force-pushed renovate/platformdirs-4.x from 28110a307a
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_metadata/woodpecker Pipeline was successful
to a629e48687
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_metadata/woodpecker Pipeline was successful
2026-08-24 05:11:10 +05:30
Compare
renovate-bot changed title from chore(deps): update dependency platformdirs to v4.11.1 to chore(deps): update dependency platformdirs to v4.11.3 2026-08-24 05:11:11 +05:30
renovate-bot force-pushed renovate/platformdirs-4.x from a629e48687
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_metadata/woodpecker Pipeline was successful
to 5a4d41e5a4
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pull_request_metadata/woodpecker Pipeline was successful
2026-08-31 05:10:08 +05:30
Compare
renovate-bot changed title from chore(deps): update dependency platformdirs to v4.11.3 to chore(deps): update dependency platformdirs to v4.11.5 2026-08-31 05:10:09 +05:30
renovate-bot force-pushed renovate/platformdirs-4.x from 5a4d41e5a4
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pull_request_metadata/woodpecker Pipeline was successful
to c59bec9918
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pull_request_metadata/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2026-09-07 05:10:28 +05:30
Compare
renovate-bot changed title from chore(deps): update dependency platformdirs to v4.11.5 to chore(deps): update dependency platformdirs to v4.11.7 2026-09-07 05:10:29 +05:30
renovate-bot force-pushed renovate/platformdirs-4.x from c59bec9918
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pull_request_metadata/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
to c35decbddc
All checks were successful
ci/woodpecker/pull_request_metadata/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2026-09-14 05:10:26 +05:30
Compare
renovate-bot changed title from chore(deps): update dependency platformdirs to v4.11.7 to chore(deps): update dependency platformdirs to v4.11.8 2026-09-14 05:10:27 +05:30
renovate-bot force-pushed renovate/platformdirs-4.x from c35decbddc
All checks were successful
ci/woodpecker/pull_request_metadata/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
to 4e124707a1
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pull_request_metadata/woodpecker Pipeline was successful
2026-09-21 05:10:55 +05:30
Compare
renovate-bot changed title from chore(deps): update dependency platformdirs to v4.11.8 to chore(deps): update dependency platformdirs to v4.11.11 2026-09-21 05:10:56 +05:30
renovate-bot force-pushed renovate/platformdirs-4.x from 4e124707a1
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pull_request_metadata/woodpecker Pipeline was successful
to 4df11782a4
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pull_request_metadata/woodpecker Pipeline was successful
2026-09-28 05:10:49 +05:30
Compare
renovate-bot changed title from chore(deps): update dependency platformdirs to v4.11.11 to chore(deps): update dependency platformdirs to v4.12.0 2026-09-28 05:10:49 +05:30
renovate-bot force-pushed renovate/platformdirs-4.x from 4df11782a4
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pull_request_metadata/woodpecker Pipeline was successful
to 6cb6276b0e
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/pull_request_metadata/woodpecker Pipeline failed
2026-10-05 05:11:13 +05:30
Compare
renovate-bot changed title from chore(deps): update dependency platformdirs to v4.12.0 to chore(deps): update dependency platformdirs to v4.12.3 2026-10-05 05:11:15 +05:30
renovate-bot force-pushed renovate/platformdirs-4.x from 6cb6276b0e
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/pull_request_metadata/woodpecker Pipeline failed
to 1daa397f61
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/pull_request_metadata/woodpecker Pipeline failed
2026-10-12 05:11:32 +05:30
Compare
renovate-bot changed title from chore(deps): update dependency platformdirs to v4.12.3 to chore(deps): update dependency platformdirs to v4.13.0 2026-10-12 05:11:34 +05:30
renovate-bot force-pushed renovate/platformdirs-4.x from 1daa397f61
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/pull_request_metadata/woodpecker Pipeline failed
to cc7c11de83
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pull_request_metadata/woodpecker Pipeline failed
2026-10-19 05:13:55 +05:30
Compare
renovate-bot changed title from chore(deps): update dependency platformdirs to v4.13.0 to chore(deps): update dependency platformdirs to v4.13.4 2026-10-19 05:13:57 +05:30
renovate-bot force-pushed renovate/platformdirs-4.x from cc7c11de83
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pull_request_metadata/woodpecker Pipeline failed
to 1556758997
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/pull_request_metadata/woodpecker Pipeline failed
2026-10-26 05:12:25 +05:30
Compare
renovate-bot changed title from chore(deps): update dependency platformdirs to v4.13.4 to chore(deps): update dependency platformdirs to v4.13.5 2026-10-26 05:12:27 +05:30
renovate-bot force-pushed renovate/platformdirs-4.x from 1556758997
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/pull_request_metadata/woodpecker Pipeline failed
to 5422f511e4
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pull_request_metadata/woodpecker Pipeline failed
2026-11-02 05:10:52 +05:30
Compare
renovate-bot changed title from chore(deps): update dependency platformdirs to v4.13.5 to chore(deps): update dependency platformdirs to v4.14.3 2026-11-02 05:10:55 +05:30
renovate-bot force-pushed renovate/platformdirs-4.x from 5422f511e4
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pull_request_metadata/woodpecker Pipeline failed
to 01ab242392
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pull_request_metadata/woodpecker Pipeline was successful
2026-11-09 05:11:26 +05:30
Compare
renovate-bot changed title from chore(deps): update dependency platformdirs to v4.14.3 to chore(deps): update dependency platformdirs to v4.14.5 2026-11-09 05:11:28 +05:30
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pull_request_metadata/woodpecker Pipeline was successful
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/platformdirs-4.x:renovate/platformdirs-4.x
git switch renovate/platformdirs-4.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff renovate/platformdirs-4.x
git switch renovate/platformdirs-4.x
git rebase master
git switch master
git merge --ff-only renovate/platformdirs-4.x
git switch renovate/platformdirs-4.x
git rebase master
git switch master
git merge --no-ff renovate/platformdirs-4.x
git switch master
git merge --squash renovate/platformdirs-4.x
git switch master
git merge --ff-only renovate/platformdirs-4.x
git switch master
git merge renovate/platformdirs-4.x
git push origin master
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ForgeFlux/ftest-common-py!90
No description provided.