Skip to content

Commit

Permalink
不要な依存を削除 (#656)
Browse files Browse the repository at this point in the history
  • Loading branch information
qryxip authored Oct 25, 2023
1 parent db41aaf commit f84c192
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 70 deletions.
13 changes: 0 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion _typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# Instruction: https://github.com/marketplace/actions/typos-action#getting-started

[default.extend-identifiers]
NDArray="NDArray" # numpy
NdArray="NdArray" # onnxruntime::session::NdArray

[default.extend-words]
Expand Down
2 changes: 0 additions & 2 deletions crates/downloader/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@ fs-err.workspace = true
futures-core = "0.3.25"
futures-util = "0.3.25"
indicatif = "0.17.3"
itertools.workspace = true
octocrab = { version = "0.19.0", default-features = false, features = ["rustls-tls", "stream"] }
once_cell.workspace = true
parse-display = "0.8.2"
platforms = "3.0.2"
rayon = "1.6.1"
reqwest = { version = "0.11.13", default-features = false, features = ["rustls-tls", "stream"] }
strum.workspace = true
Expand Down
3 changes: 0 additions & 3 deletions crates/voicevox_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ once_cell.workspace = true
regex.workspace = true
serde.workspace = true
serde_json.workspace = true
strum.workspace = true
tempfile.workspace = true
thiserror.workspace = true
tokio.workspace = true
Expand All @@ -42,11 +41,9 @@ git = "https://github.com/VOICEVOX/open_jtalk-rs.git"
rev = "a16714ce16dec76fd0e3041a7acfa484921db3b5"

[dev-dependencies]
flate2 = "1.0.24"
heck = "0.4.0"
pretty_assertions = "1.3.0"
rstest.workspace = true
tar = "0.4.38"
test_util.workspace = true

[target."cfg(windows)".dependencies]
Expand Down
3 changes: 1 addition & 2 deletions crates/voicevox_core_java_api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@ jni = "0.21.1"
once_cell.workspace = true
serde_json.workspace = true
tokio.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
uuid.workspace = true
voicevox_core.workspace = true

[dev-dependencies]
test_util.workspace = true
test_util.workspace = true # only for it's build script
3 changes: 1 addition & 2 deletions crates/voicevox_core_python_api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ pyo3-asyncio = { version = "0.18.0", features = ["tokio-runtime"] }
pyo3-log = "0.8.0"
serde.workspace = true
serde_json.workspace = true
test_util.workspace = true
test_util.workspace = true # only for it's build script
tokio.workspace = true
tracing.workspace = true
uuid.workspace = true
voicevox_core.workspace = true
39 changes: 1 addition & 38 deletions crates/voicevox_core_python_api/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions crates/voicevox_core_python_api/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "voicevox_core"
requires-python = ">=3.8"
dependencies = ["numpy", "pydantic>=1.9.2,<2"]
dependencies = ["pydantic>=1.9.2,<2"]
description = "VOICEVOX CORE の Python バインディングです。"
authors = [{ name = "Hiroshiba", email = "[email protected]" }]
classifiers = [
Expand Down Expand Up @@ -35,7 +35,6 @@ authors = []

[tool.poetry.dependencies]
python = ">=3.8,<3.13"
numpy = ">=1,<2"
pydantic = ">=1.9.2,<2"

[tool.poetry.group.docs.dependencies]
Expand Down
2 changes: 0 additions & 2 deletions crates/voicevox_core_python_api/python/test/conftest.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import json
import os
from dataclasses import dataclass
from pathlib import Path
from typing import List, TypedDict

import numpy as np
import pytest

root_dir = Path(os.path.dirname(os.path.abspath(__file__)))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
from pathlib import Path
from typing import TYPE_CHECKING, Dict, Final, List, Literal, Union
from typing import TYPE_CHECKING, Dict, List, Literal, Union
from uuid import UUID

import numpy as np
from numpy.typing import NDArray

if TYPE_CHECKING:
from voicevox_core import (
AccelerationMode,
Expand Down
1 change: 0 additions & 1 deletion deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ allow-build-scripts = [
{ name = "num-traits", version = "0.2" }, # https://docs.rs/crate/num-traits/0.2/source/build.rs
{ name = "onnxruntime", version = "=0.1.0" }, # https://github.com/VOICEVOX/onnxruntime-rs/blob/405f62fb53df1b59b0e69adafbd1c28e4d5c2787/onnxruntime/build.rs
{ name = "parking_lot_core", version = "0.9" }, # https://docs.rs/crate/parking_lot_core/0.9/source/build.rs
{ name = "platforms", version = "3" }, # https://docs.rs/crate/platforms/3.0.2/source/build.rs
{ name = "polling", version = "2" }, # https://docs.rs/crate/polling/2/source/build.rs
{ name = "portable-atomic", version = "0.3" }, # https://docs.rs/crate/portable-atomic/0.3.19/source/build.rs
{ name = "proc-macro-error", version = "1" }, # https://docs.rs/crate/proc-macro-error/1/source/build.rs
Expand Down

0 comments on commit f84c192

Please sign in to comment.