From 5b493a0875bf7119ed9c4f05ec688bf5bfafb56d Mon Sep 17 00:00:00 2001 From: snowman2 Date: Mon, 22 Jul 2024 10:46:36 -0500 Subject: [PATCH] DEP: appdirs->platformdirs --- msal_requests_auth/cache.py | 2 +- mypy.ini | 2 +- setup.cfg | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/msal_requests_auth/cache.py b/msal_requests_auth/cache.py index a425f83..ff24ec2 100644 --- a/msal_requests_auth/cache.py +++ b/msal_requests_auth/cache.py @@ -8,8 +8,8 @@ from pathlib import Path from typing import Union -from appdirs import user_cache_dir from msal import SerializableTokenCache +from platformdirs import user_cache_dir class _BaseTokenCache(ABC, SerializableTokenCache): diff --git a/mypy.ini b/mypy.ini index bc1f492..3281216 100644 --- a/mypy.ini +++ b/mypy.ini @@ -2,7 +2,7 @@ python_version = 3.10 allow_redefinition = True -[mypy-appdirs] +[mypy-platformdirs] ignore_missing_imports = True [mypy-msal] diff --git a/setup.cfg b/setup.cfg index 049af09..f26398c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -32,7 +32,7 @@ zip_safe = False # https://mypy.readthedocs.io/en/stable/installed_packages.html python_requires = >=3.10 include_package_data = True install_requires = - appdirs + platformdirs msal pyperclip requests