diff options
author | Pradyun Gedam <pgedam@bloomberg.net> | 2022-04-22 15:40:17 +0100 |
---|---|---|
committer | Pradyun Gedam <pgedam@bloomberg.net> | 2022-04-22 15:50:29 +0100 |
commit | dfcac4add2801ea078f976b8fba3b24fa246c1ce (patch) | |
tree | 8daaea1310f715d613bad10373a735690737df1b /tools | |
parent | 44175c7754b8cf725099f5d9a11d97db8e06480a (diff) | |
download | pip-dfcac4add2801ea078f976b8fba3b24fa246c1ce.tar.gz |
Upgrade platformdirs to 2.5.2
Diffstat (limited to 'tools')
-rw-r--r-- | tools/vendoring/patches/platformdirs.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/tools/vendoring/patches/platformdirs.patch b/tools/vendoring/patches/platformdirs.patch deleted file mode 100644 index 079187c7a..000000000 --- a/tools/vendoring/patches/platformdirs.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/src/pip/_vendor/platformdirs/__init__.py b/src/pip/_vendor/platformdirs/__init__.py -index 46b1157d7..2cfaff76c 100644 ---- a/src/pip/_vendor/platformdirs/__init__.py -+++ b/src/pip/_vendor/platformdirs/__init__.py -@@ -19,13 +19,13 @@ - - def _set_platform_dir_class() -> type[PlatformDirsABC]: - if os.getenv("ANDROID_DATA") == "/data" and os.getenv("ANDROID_ROOT") == "/system": -- module, name = "platformdirs.android", "Android" -+ module, name = "pip._vendor.platformdirs.android", "Android" - elif sys.platform == "win32": -- module, name = "platformdirs.windows", "Windows" -+ module, name = "pip._vendor.platformdirs.windows", "Windows" - elif sys.platform == "darwin": -- module, name = "platformdirs.macos", "MacOS" -+ module, name = "pip._vendor.platformdirs.macos", "MacOS" - else: -- module, name = "platformdirs.unix", "Unix" -+ module, name = "pip._vendor.platformdirs.unix", "Unix" - result: type[PlatformDirsABC] = getattr(importlib.import_module(module), name) - return result - |