Repository navigation
Update dependency platformdirs to v4.14.0 - #31
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==4.13.7→==4.14.0Release Notes
tox-dev/platformdirs (platformdirs)
v4.14.0Compare Source
Features
ensure_existsin the module-level media directory functions, such asuser_documents_path, to create a directory set throughXDG_*_DIRoruser-dirs.dirs(#656) by @darrenhuai and @gaborbernat.Bug fixes
use_site_for_root, ignoring the invoking user'sXDG_*_DIR,user-dirs.dirsandXDG_DATA_HOME, and create no inherited media directory underensure_exists(#661) by @gaborbernat.ValueErrorfromsite_data_dirandsite_config_dirundermultipath=Truewhenappnameorversioncontainsos.pathsep, rather than returning a string that splits into a directory outside the site base (#662) by @gaborbernat.user-dirs.dirsvalue 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.HOMEas unset on Unix, macOS and iOS, taking the home from the password database or raisingRuntimeError, rather than resolving user directories against the working directory (#664) by @gaborbernat.XDG_RUNTIME_DIRinuser_runtime_dirwhen the value ends with/or/., which made the check follow the link (#665) by @gaborbernat.user_*_dircalls withuse_site_for_root=Truewhen 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.XDG_RUNTIME_DIRcheck of the Unixuser_runtime_dirto the macOS one, so it no longer uses a directory that is a symlink, owned by another user or not mode0700(#667) by @gaborbernat.XDG_RUNTIME_DIRbelow 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.ensure_existsandplace_runtime_filecreate it before checking it, andfind_runtime_filechecks it again after a hit (#669) by @gaborbernat.PermissionErroron macOS whenensure_existswould create the site cache through a/Library/Caches/$appnamethat is a symlink, not a directory, or owned by a user other than root and the current one (#670) by @gaborbernat.ensure_exists, raiseFileExistsErrorwhen a configured media directory such asuser_documents_diris 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
Configuration
📅 Schedule: (in timezone America/Argentina/Buenos_Aires)
* 0-3 * * *)🚦 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.
This PR was generated by Mend Renovate. View the repository job log.