Package: napari / 0.5.6-3

0003-Use-platformdirs-instead-of-appdirs.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
From: Roland Mas <roland.mas@entierement.net>
Date: Sun, 12 May 2024 22:06:29 +0200
Subject: Use platformdirs instead of appdirs

---
 napari/utils/_appdirs.py | 2 +-
 pyproject.toml           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/napari/utils/_appdirs.py b/napari/utils/_appdirs.py
index b2b6d78..19f39fa 100644
--- a/napari/utils/_appdirs.py
+++ b/napari/utils/_appdirs.py
@@ -4,7 +4,7 @@ import sys
 from functools import partial
 from typing import Callable
 
-import appdirs
+import platformdirs as appdirs
 
 PREFIX_PATH = os.path.realpath(sys.prefix)
 
diff --git a/pyproject.toml b/pyproject.toml
index d88105c..8e2cc64 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -36,7 +36,7 @@ classifiers = [
 ]
 requires-python = ">=3.9"
 dependencies = [
-    "appdirs>=1.4.4",
+    "platformdirs",
     "app-model>=0.3.0,<0.4.0",
     "cachey>=0.2.1",
     "certifi>=2018.1.18",