chore(deps): update dependency platformdirs to v4.13.5 #90
No reviewers
Labels
No labels
renovate-bot
renovate-security
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ForgeFlux/ftest-common-py!90
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/platformdirs-4.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
==4.3.6->==4.13.5Release Notes
tox-dev/platformdirs (platformdirs)
v4.13.5Compare Source
#631
PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.13.4...4.13.5
v4.13.4Compare Source
filespath segment when locating Android app directories fromsys.path. #621RuntimeErrorwhen iOS cannot resolve the home directory, rather than returning paths rooted at a literal~. #624isolated_dirswhen Unix root enablesuse_site_for_root. Restore root redirection when the context exits. #625RuntimeErrorwhen the Windows Projects directory cannot resolve the home directory, rather than returning apath rooted at a literal
~. #627PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.13.3...4.13.4
v4.13.3Compare Source
PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.13.2...4.13.3
v4.13.2Compare Source
user_fonts_dirwhenXDG_DATA_HOMEends with a separator. #619PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.13.1...4.13.2
v4.13.1Compare Source
SHGetKnownFolderPathwhen the known-folder lookup fails. #618user-dirs.dirspaths instead of removingthem.
PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.13.0...4.13.1
v4.13.0Compare Source
MacOSsite directories underpython:-S, whichleaves
base_prefixon theCellarkeg, and for thepython-freethreadingformula - bysricharanreddycheruku. #612
PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.12.4...4.13.0
v4.12.4Compare Source
place_config_fileor anotherplace_*_filemethod withuse_site_for_root- by darrenhuai. #610user_runtime_dirwarn and fall back from an unreachableXDG_RUNTIME_DIRunderensure_existsinstead of raising. #611PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.12.3...4.12.4
v4.12.3Compare Source
place_config_fileandplace_data_filein the first site directory for root on Unix withuse_site_for_root=Trueandmultipath=True, wherefind_config_fileandfind_data_filelook for them.#607
PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.12.2...4.12.3
v4.12.2Compare Source
os.pathsepinsite_applications_pathundermultipath=Trueon platforms with one applicationsdirectory. #604
PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.12.1...4.12.2
v4.12.1Compare Source
PytestAssertRewriteWarningwhen importingplatformdirsbefore invoking pytest. #601PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.12.0...4.12.1
v4.12.0Compare Source
place_*_filemethods that return a file path under a user directory and create its missing parents with mode0o700. #585find_<kind>_fileandfind_<kind>_filesto look up an existing file across the user and site directories ofeach kind that has an
iter_<kind>_pathsmethod. #586isolated_dirsand theplatformdirs_isolatedpytest fixture to resolve everydirectory under one test root. #590
RuntimeDirWarningwhen the Unixuser_runtime_dirfalls back fromXDG_RUNTIME_DIR. #599user_templates_dir,user_publicshare_diranduser_bin_diron Windows from their known folders.#587
0700underensure_existson POSIX platforms.#588
RuntimeErrorfor a Unix or macOS directory under the home when no home resolves, and read the passworddatabase for an empty
HOME. #589XDG_RUNTIME_DIRor/run/user/<uid>that is not a private directory of the user, and reject a symlinkor file as the
runtime-<uid>fallback. #599~/Library/Application Supportfor data. #600multipath. #591XDG_*_DIRvariables. #592WIN_PD_OVERRIDE_COMMON_PROGRAMSvariable. #593/usr/local/share/applicationsas the Linuxsite_applications_dirdefault. #594user_runtime_dirdefaults and describe the temporary directory fallback. #595AppData. #597user_fonts_dir. #598PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.11.15...4.12.0
v4.11.15Compare Source
sys.getandroidapilevelwhenANDROID_DATAandANDROID_ROOTare unset. #581Moviesand the five non-standard media folders, such asDesktop, intoDocuments.#583
PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.11.14...4.11.15
v4.11.14Compare Source
ensure_exists, create a media directory such asuser_documents_dironly when the user set it through anXDG_*_DIRvariable oruser-dirs.dirs, and return a dangling symlink there instead of raisingFileExistsError. 4.11.13 also created the platform defaults, which filled headless home directories with folderssuch as
~/Templatesand made a literal~directory whenHOMEwas unset. #561$XDG_RUNTIME_DIRinuser_runtime_dirwhenuse_site_for_rootredirects root. #562/storage/emulated/0/Downloadfrom the Androiduser_downloads_dirfallback. #563WIN_PD_OVERRIDE_*values that lack a drive or a root. #564files. #565appname,appauthororversionthat leaves the base directory when set after construction.#566
use_site_for_rooton the next read. #567UnicodeDecodeErroronuser-dirs.dirsbytes the locale encoding cannot decode. #568# commentfrom unquoteduser-dirs.dirsvalues. #569PUBLICorLOCALAPPDATA, as unset. #571roaminginuser_log_diranduser_log_path. #572opt/python*/Frameworkslayout. #573site_cache_pathundermultipath. #574runtime-<uid>temporary fallback with mode0700and reject one another user owns. #576RuntimeErrorin place of creating a literal~directory whenensure_existsfinds no home. #578user_preference_dirpath in the platform docs. #577user_state_dirandsite_state_dirignore theXDG_DATA_*variables. #579PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.11.13...4.11.14
v4.11.13Compare Source
ensure_exists, the media directories such asuser_documents_dirare created on Unix, and on macOS when anXDG variable sets them - by ekanshul. #560
PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.11.12...4.11.13
v4.11.12Compare Source
XDG_DOCUMENTS_DIR=Documentsno longermakes
user_documents_dirand the other media directories return a path relative to the workingdirectory. They now fall back to the platform default like the XDG Base Directory variables, and like the same keys
read from
user-dirs.dirs- by darrenhuai. #554#556
PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.11.11...4.11.12
v4.11.11Compare Source
appname,appauthorandversionvalues that leave the platform base directory (a..segment, aleading separator, a drive or a UNC share) with
ValueError, soensure_existscannot create directories outsideit - by Pitchfork-and-Torch. #552
PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.11.10...4.11.11
v4.11.10Compare Source
ensure_exists, thesite_*_dirandsite_*_pathproperties and theiter_*_dirsiterators onlycreate the site directories they return or yield, instead of every entry in the site list - by darrenhuai.
#550
PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.11.9...4.11.10
v4.11.9Compare Source
multipathinsite_cache_dirandsite_cache_path. Without it,the function API could not return the Homebrew cache prefix that
site_cache_diraddsunder
multipath- by darrenhuai. #544user-dirs.dirsline by line likexdg-user-dir. The INI parser raised on a repeated key or a linewithout
=, and returned trailing comments and backslash escapes insideuser_documents_dirand the other media directories. The last valid assignment now wins, and platformdirs unescapes the quoted value and
ignores text after the closing quote - by darrenhuai. #545
PUBLICbefore the home directory inuser_publicshare_diron Windows, so it no longerraises
RuntimeErrorwhenPUBLICis set and the home directory cannot be determined - by emme1t.#546
RuntimeErrorfromAndroiddirectories when the app folder cannot be found,instead of
TypeError: expected str, bytes or os.PathLike object, not NoneType- by Str0k. #547PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.11.8...4.11.9
v4.11.8Compare Source
user_data_path,user_config_path,user_preference_pathanduser_applications_pathreturn the first siteentry when root is redirected by
use_site_for_rootundermultipath, matching theirsite_*_pathtwins. Theypassed the whole joined list to
Path, giving one unusable path such as/xdg/a/foo:/xdg/b/foo-by darrenhuai. #538
entries in
$XDG_DATA_DIRSand$XDG_CONFIG_DIRSare skipped. #540user-dirs.dirspaths, including100% complete,100%%and%(XDG_DESKTOP_DIR)s. Continue to expand$HOME. #542and state paths inside virtual environments. #543
PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.11.7...4.11.8
v4.11.7Compare Source
PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.11.6...4.11.7
v4.11.6Compare Source
user_bin_diranduser_bin_paththeuse_site_for_rootargument.They took none, so neither could reach the Unix redirect of root to
site_bin_dir. #537PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.11.5...4.11.6
v4.11.5Compare Source
user_preference_diranduser_preference_paththe same arguments asuser_config_dir. Added without arguments in #491, they could only return the unscoped basedirectory even though the property they wrap appends the app name and version. #531
site_applications_pathreturn the first entry whenmultipath=True, matchingsite_data_path. On Unix and macOS it passed the whole$XDG_DATA_DIRSlist toPath, giving one unusable path such as/first/applications:/second/applications. #532user_applications_dir,user_applications_path,site_applications_dirandsite_applications_paththe 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
multipathfirst positional as ithas been since 4.9.0; the two user functions take their boolean options keyword-only. #534
use_site_for_rootdrops the user directory entirely, so theiterators are documented as yielding the most specific directory first rather than always yielding the user one.
#533
PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.11.4...4.11.5
v4.11.4Compare Source
iter_*_dirsmethods yielding the same directory twice when a site directory resolves to its userequivalent - #520 covered only Unix with
use_site_for_root. It also hititer_runtime_dirson Unix with$XDG_RUNTIME_DIRset, on Windows and macOS, andall six iterators on Android. #524
iter_config_pathsyields the user directory first, so theconfig.updateloop let the site defaults override the user's config instead of the other way round. #529PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.11.3...4.11.4
v4.11.3Compare Source
python -m platformdirsnow listsuser_desktop_dir, which was missing from the properties itprints. #523
site_data_dir,site_config_dirandsite_applications_dirraisingIndexErroron Unix and macOS when$XDG_DATA_DIRSor$XDG_CONFIG_DIRSholds only separators and whitespace, such as":". These values now fall back to the platformdefaults, and each entry is stripped of surrounding whitespace. #523
PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.11.2...4.11.3
v4.11.2Compare Source
iter_cache_dirs,iter_state_dirs,iter_log_dirsanditer_runtime_dirsyielding thesame directory twice on Unix when
use_site_for_rootis active - #469 fixed this for the config and dataiterators only. On macOS,
iter_cache_dirsnow yields the Homebrew and/Library/Cachesentries separately rather than oneos.pathsep-joined string whenmultipathis set.#520
PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.11.1...4.11.2
v4.11.1Compare Source
user_desktop_diron Windows builds withoutctypes.CSIDL_DESKTOPDIRECTORYappearedonly in the ctypes lookup table, so the registry and environment variable resolvers raised
ValueErrorfor it.#519
PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.11.0...4.11.1
v4.11.0Compare Source
PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.10.1...4.11.0
v4.10.1Compare Source
get_win_folder_via_ctypesdefined a freshctypesstructure on every call, and each one registered a pointer type that was never released; the resolver is now built
once and reused. #507
PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.10.0...4.10.1
v4.10.0Compare Source
user_publicshare_dir,user_templates_dir,user_fonts_dir, anduser_preference_dir#491user_projects_dirbacked by$XDG_PROJECTS_DIR#490site_config_pathon macOS whenmultipathis set #488 -by lphuc2250gma
PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.9.6...4.10.0
v4.9.6Compare Source
user_config_dir,user_data_dir, anduser_state_dirwhen only some are set #473 - by Goddeseniter_config_dirsanditer_data_dirswhenuse_site_for_rootis active #469 - by viccie30PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.9.4...4.9.6
v4.9.4Compare Source
XDG_CONFIG_HOMEwhen reading the user-dirs configuration #453 - by bysiberuser_log_diranduser_runtime_dirwhenensure_existsis set #452 - by bysiberPyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.9.3...4.9.4
v4.9.2Compare Source
PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.9.1...4.9.2
v4.9.1Compare Source
PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.9.0...4.9.1
v4.9.0Compare Source
site_bin_dir#443site_applications_dir#442PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.8.0...4.9.0
v4.8.0Compare Source
use_site_for_rootto redirectuser_*_dirtosite_*_dirfor root on Unix #426site_state_dirfor system-wide state #425site_log_dir#424user_applications_dir#432user_bin_dir#430PLATFORMDIRS_*environment variable overrides for Windows folder resolution #427WIN_PD_OVERRIDE_*environment variable overrides for Windows folder resolution #428iter_data_dirsanditer_config_dirson macOS #429PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.7.1...4.8.0
v4.7.1Compare Source
FileNotFoundErroron Windows in sandboxed environments #422PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.7.0...4.7.1
v4.7.0Compare Source
SHGetKnownFolderPathinstead of the deprecatedSHGetFolderPathWon Windows #380 - by moi15moiPyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.6.0...4.7.0
v4.6.0Compare Source
site_cache_dirdocumentation #402 - by brianhelbaPyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.5.1...4.6.0
v4.5.1Compare Source
PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.5.0...4.5.1
v4.5.0Compare Source
PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.4.0...4.5.0
v4.4.0Compare Source
PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.3.8...4.4.0
v4.3.8Compare Source
PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.3.7...4.3.8
v4.3.7Compare Source
PyPI release
Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.3.6...4.3.7
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.
This PR has been generated by Renovate Bot.
129d4c4678tof2468a3a9cchore(deps): update dependency platformdirs to v4.3.7to chore(deps): update dependency platformdirs to v4.3.8f2468a3a9cto0d93af4c76chore(deps): update dependency platformdirs to v4.3.8to chore(deps): update dependency platformdirs to v4.4.00d93af4c76to91cb87e9aachore(deps): update dependency platformdirs to v4.4.0to chore(deps): update dependency platformdirs to v4.5.091cb87e9aa4a93ecd510chore(deps): update dependency platformdirs to v4.5.0to chore(deps): update dependency platformdirs to v4.5.14a93ecd510435908bac7chore(deps): update dependency platformdirs to v4.5.1to chore(deps): update dependency platformdirs to v4.9.1435908bac7321feab26bchore(deps): update dependency platformdirs to v4.9.1to chore(deps): update dependency platformdirs to v4.9.2321feab26bd8b81b74f8chore(deps): update dependency platformdirs to v4.9.2to chore(deps): update dependency platformdirs to v4.9.4d8b81b74f8892438ce00chore(deps): update dependency platformdirs to v4.9.4to chore(deps): update dependency platformdirs to v4.9.6892438ce00169a406740chore(deps): update dependency platformdirs to v4.9.6to chore(deps): update dependency platformdirs to v4.10.0169a406740to551753b6c6chore(deps): update dependency platformdirs to v4.10.0to chore(deps): update dependency platformdirs to v4.10.1551753b6c6a2aa283fbfchore(deps): update dependency platformdirs to v4.10.1to chore(deps): update dependency platformdirs to v4.11.0a2aa283fbf28110a307achore(deps): update dependency platformdirs to v4.11.0to chore(deps): update dependency platformdirs to v4.11.128110a307aa629e48687chore(deps): update dependency platformdirs to v4.11.1to chore(deps): update dependency platformdirs to v4.11.3a629e486875a4d41e5a4chore(deps): update dependency platformdirs to v4.11.3to chore(deps): update dependency platformdirs to v4.11.55a4d41e5a4c59bec9918chore(deps): update dependency platformdirs to v4.11.5to chore(deps): update dependency platformdirs to v4.11.7c59bec9918c35decbddcchore(deps): update dependency platformdirs to v4.11.7to chore(deps): update dependency platformdirs to v4.11.8c35decbddc4e124707a1chore(deps): update dependency platformdirs to v4.11.8to chore(deps): update dependency platformdirs to v4.11.114e124707a14df11782a4chore(deps): update dependency platformdirs to v4.11.11to chore(deps): update dependency platformdirs to v4.12.04df11782a46cb6276b0echore(deps): update dependency platformdirs to v4.12.0to chore(deps): update dependency platformdirs to v4.12.36cb6276b0e1daa397f61chore(deps): update dependency platformdirs to v4.12.3to chore(deps): update dependency platformdirs to v4.13.01daa397f61cc7c11de83chore(deps): update dependency platformdirs to v4.13.0to chore(deps): update dependency platformdirs to v4.13.4cc7c11de831556758997chore(deps): update dependency platformdirs to v4.13.4to chore(deps): update dependency platformdirs to v4.13.5View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.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.