From c12edbdc7b4b882199b0110e50567ed92c28068b Mon Sep 17 00:00:00 2001 From: Motoki Saito Date: Fri, 25 Aug 2023 10:59:50 +0900 Subject: [PATCH] =?UTF-8?q?platformdirs=E3=82=92=E3=82=A4=E3=83=B3?= =?UTF-8?q?=E3=82=B9=E3=83=88=E3=83=BC=E3=83=AB=E3=81=97=E3=81=BE=E3=81=97?= =?UTF-8?q?=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- poetry.lock | 13 +------------ pyproject.toml | 2 +- voicevox_engine/utility/path_utility.py | 2 +- 3 files changed, 3 insertions(+), 14 deletions(-) diff --git a/poetry.lock b/poetry.lock index 4d21335d0..5b697c69b 100644 --- a/poetry.lock +++ b/poetry.lock @@ -42,17 +42,6 @@ doc = ["Sphinx", "packaging", "sphinx-autodoc-typehints (>=1.2.0)", "sphinx-rtd- test = ["anyio[trio]", "coverage[toml] (>=4.5)", "hypothesis (>=4.0)", "mock (>=4)", "psutil (>=5.9)", "pytest (>=7.0)", "pytest-mock (>=3.6.1)", "trustme", "uvloop (>=0.17)"] trio = ["trio (<0.22)"] -[[package]] -name = "appdirs" -version = "1.4.4" -description = "A small Python module for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." -optional = false -python-versions = "*" -files = [ - {file = "appdirs-1.4.4-py2.py3-none-any.whl", hash = "sha256:a841dacd6b99318a741b166adb07e19ee71a274450e68237b4650ca1055ab128"}, - {file = "appdirs-1.4.4.tar.gz", hash = "sha256:7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41"}, -] - [[package]] name = "asgiref" version = "3.7.2" @@ -2380,4 +2369,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p [metadata] lock-version = "2.0" python-versions = "~3.11" -content-hash = "2e48da102cf90ac7623e393ba46b79bcf6b80c90be3b34ff17f36db5747e903d" +content-hash = "d3e9daf9c938e3e36cb2defe1a5891d46edc28d981d6f3ccf0561610a0e83eef" diff --git a/pyproject.toml b/pyproject.toml index 521836766..f459faf9f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,11 +50,11 @@ soundfile = "^0.10.3.post1" scipy = "^1.7.1" pyyaml = "^6.0" pyworld = "^0.3.0" -appdirs = "^1.4.4" requests = "^2.28.1" jinja2 = "^3.1.2" pyopenjtalk = {git = "https://github.com/VOICEVOX/pyopenjtalk", rev = "acd4f02d2af3129382c151590238b9370465e360"} semver = "^3.0.0" +platformdirs = "^3.10.0" [tool.poetry.group.dev.dependencies] cython = "^0.29.34,>=0.29.33" # NOTE: for Python 3.11 diff --git a/voicevox_engine/utility/path_utility.py b/voicevox_engine/utility/path_utility.py index 4de943624..7c46ad40b 100644 --- a/voicevox_engine/utility/path_utility.py +++ b/voicevox_engine/utility/path_utility.py @@ -3,7 +3,7 @@ import traceback from pathlib import Path -from appdirs import user_data_dir +from platformdirs import user_data_dir def engine_root() -> Path: