Skip to content

Commit

Permalink
build: 依存パッケージの更新 (#1528)
Browse files Browse the repository at this point in the history
Co-authored-by: Hiroshiba <[email protected]>
  • Loading branch information
sabonerune and Hiroshiba authored Feb 20, 2025
1 parent c9d342e commit b13c61b
Show file tree
Hide file tree
Showing 16 changed files with 1,453 additions and 1,209 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/test-engine-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,5 @@ jobs:
if: startsWith(matrix.target, 'linux') || startsWith(matrix.target, 'macos')
run: chmod +x dist/run

# ref: https://github.com/VOICEVOX/voicevox_engine/pull/806
# ref: https://github.com/VOICEVOX/voicevox_engine/issues/1516
- name: <Setup> Install libsndfile1 for Linux arm64 architecture
if: startsWith(matrix.target, 'linux') && endsWith(matrix.target, 'arm64')
run: |
sudo apt-get update
sudo apt-get install -y libsndfile1
- name: <Test> Test ENGINE package
run: python tools/check_release_build.py --dist_dir dist/
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

- name: <Test> Validate poetry.lock
run: |
poetry lock --no-update
poetry lock
git diff --exit-code
- name: <Test> Check dependency lists
Expand Down
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ WORKDIR /opt/voicevox_engine

# ca-certificates: pyopenjtalk dictionary download
# build-essential: pyopenjtalk local build
# libsndfile1: soundfile shared object for arm64
# ref: https://github.com/VOICEVOX/voicevox_engine/issues/770
RUN <<EOF
set -eux
Expand All @@ -199,8 +198,7 @@ RUN <<EOF
cmake \
ca-certificates \
build-essential \
gosu \
libsndfile1
gosu
apt-get clean
rm -rf /var/lib/apt/lists/*

Expand Down
2,219 changes: 1,235 additions & 984 deletions poetry.lock

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,33 +44,33 @@ package-mode = false

[tool.poetry.dependencies]
python = "~3.11"
numpy = "^1.26.0"
numpy = "^2.2.3"
fastapi-slim = "^0.115.5"
jinja2 = "^3.1.3" # NOTE: required by fastapi.templating.Jinja2Templates (fastapi-slim's unmanaged dependency)
python-multipart = "^0.0.17" # NOTE: required by fastapi.Form (fastapi-slim's unmanaged dependency)
uvicorn = "^0.32.1"
soundfile = "^0.12.1"
python-multipart = "^0.0.20" # NOTE: required by fastapi.Form (fastapi-slim's unmanaged dependency)
uvicorn = "^0.34.0"
soundfile = "^0.13.1"
pyyaml = "^6.0.1"
pyworld = "^0.3.0"
pyworld = "^0.3.5"
pyopenjtalk = { git = "https://github.com/VOICEVOX/pyopenjtalk", rev = "0fcb731c94555e8d160d18e7f1a4d005b2e8e852" }
semver = "^3.0.0"
platformdirs = "^4.2.0"
soxr = "^0.5.0"
pydantic = "^2.7.3"
starlette = "^0.41.3"
starlette = "^0.45.3"

[tool.poetry.group.dev.dependencies]
pysen = "^0.11.0"
black = "^24.4.0"
black = "^25.1.0"
flake8-bugbear = "^24.4.26"
flake8 = "^7.0.0"
isort = "^5.13.0"
mypy = "^1.10.0"
pytest = "^8.2.0"
coveralls = "^4.0.1"
poetry = "1.8.4"
poetry = "2.1.1"
poetry-plugin-export = "^1.8.0"
httpx = "^0.27.0" # NOTE: required by fastapi.testclient.TestClient (fastapi-slim's unmanaged dependency)
httpx = "^0.28.1" # NOTE: required by fastapi.testclient.TestClient (fastapi-slim's unmanaged dependency)
syrupy = "^4.6.1"
types-pyyaml = "^6.0.12"
pip-licenses = "5.0.0" # NOTE: must be specified exactly (c.f. #1281)
Expand Down
73 changes: 36 additions & 37 deletions requirements-build.txt
Original file line number Diff line number Diff line change
@@ -1,37 +1,36 @@
altgraph==0.17.4 ; python_version >= "3.11" and python_version < "3.12"
annotated-types==0.7.0 ; python_version >= "3.11" and python_version < "3.12"
anyio==4.6.2.post1 ; python_version >= "3.11" and python_version < "3.12"
cffi==1.17.1 ; python_version >= "3.11" and python_version < "3.12"
click==8.1.7 ; python_version >= "3.11" and python_version < "3.12"
colorama==0.4.6 ; python_version >= "3.11" and python_version < "3.12" and platform_system == "Windows"
cython==3.0.11 ; python_version >= "3.11" and python_version < "3.12"
fastapi-slim==0.115.5 ; python_version >= "3.11" and python_version < "3.12"
h11==0.14.0 ; python_version >= "3.11" and python_version < "3.12"
idna==3.10 ; python_version >= "3.11" and python_version < "3.12"
jinja2==3.1.4 ; python_version >= "3.11" and python_version < "3.12"
macholib==1.16.3 ; python_version >= "3.11" and python_version < "3.12" and sys_platform == "darwin"
markupsafe==3.0.2 ; python_version >= "3.11" and python_version < "3.12"
numpy==1.26.4 ; python_version >= "3.11" and python_version < "3.12"
packaging==24.2 ; python_version >= "3.11" and python_version < "3.12"
pefile==2024.8.26 ; python_version >= "3.11" and python_version < "3.12" and sys_platform == "win32"
platformdirs==4.3.6 ; python_version >= "3.11" and python_version < "3.12"
pycparser==2.22 ; python_version >= "3.11" and python_version < "3.12"
pydantic-core==2.23.4 ; python_version >= "3.11" and python_version < "3.12"
pydantic==2.9.2 ; python_version >= "3.11" and python_version < "3.12"
pyinstaller-hooks-contrib==2024.10 ; python_version >= "3.11" and python_version < "3.12"
pyinstaller==5.13.2 ; python_version >= "3.11" and python_version < "3.12"
pyopenjtalk @ git+https://github.com/VOICEVOX/pyopenjtalk@0fcb731c94555e8d160d18e7f1a4d005b2e8e852 ; python_version >= "3.11" and python_version < "3.12"
python-multipart==0.0.17 ; python_version >= "3.11" and python_version < "3.12"
pywin32-ctypes==0.2.3 ; python_version >= "3.11" and python_version < "3.12" and sys_platform == "win32"
pyworld==0.3.4 ; python_version >= "3.11" and python_version < "3.12"
pyyaml==6.0.2 ; python_version >= "3.11" and python_version < "3.12"
semver==3.0.2 ; python_version >= "3.11" and python_version < "3.12"
setuptools==75.6.0 ; python_version >= "3.11" and python_version < "3.12"
six==1.16.0 ; python_version >= "3.11" and python_version < "3.12"
sniffio==1.3.1 ; python_version >= "3.11" and python_version < "3.12"
soundfile==0.12.1 ; python_version >= "3.11" and python_version < "3.12"
soxr==0.5.0.post1 ; python_version >= "3.11" and python_version < "3.12"
starlette==0.41.3 ; python_version >= "3.11" and python_version < "3.12"
tqdm==4.67.0 ; python_version >= "3.11" and python_version < "3.12"
typing-extensions==4.12.2 ; python_version >= "3.11" and python_version < "3.12"
uvicorn==0.32.1 ; python_version >= "3.11" and python_version < "3.12"
altgraph==0.17.4 ; python_version == "3.11"
annotated-types==0.7.0 ; python_version == "3.11"
anyio==4.8.0 ; python_version == "3.11"
cffi==1.17.1 ; python_version == "3.11"
click==8.1.8 ; python_version == "3.11"
colorama==0.4.6 ; python_version == "3.11" and platform_system == "Windows"
fastapi-slim==0.115.8 ; python_version == "3.11"
h11==0.14.0 ; python_version == "3.11"
idna==3.10 ; python_version == "3.11"
jinja2==3.1.5 ; python_version == "3.11"
macholib==1.16.3 ; python_version == "3.11" and sys_platform == "darwin"
markupsafe==3.0.2 ; python_version == "3.11"
numpy==2.2.3 ; python_version == "3.11"
packaging==24.2 ; python_version == "3.11"
pefile==2024.8.26 ; python_version == "3.11" and sys_platform == "win32"
platformdirs==4.3.6 ; python_version == "3.11"
pycparser==2.22 ; python_version == "3.11"
pydantic-core==2.27.2 ; python_version == "3.11"
pydantic==2.10.6 ; python_version == "3.11"
pyinstaller-hooks-contrib==2025.1 ; python_version == "3.11"
pyinstaller==5.13.2 ; python_version == "3.11"
pyopenjtalk @ git+https://github.com/VOICEVOX/pyopenjtalk@0fcb731c94555e8d160d18e7f1a4d005b2e8e852 ; python_version == "3.11"
python-multipart==0.0.20 ; python_version == "3.11"
pywin32-ctypes==0.2.3 ; python_version == "3.11" and sys_platform == "win32"
pyworld==0.3.5 ; python_version == "3.11"
pyyaml==6.0.2 ; python_version == "3.11"
semver==3.0.4 ; python_version == "3.11"
setuptools==75.8.0 ; python_version == "3.11"
six==1.17.0 ; python_version == "3.11"
sniffio==1.3.1 ; python_version == "3.11"
soundfile==0.13.1 ; python_version == "3.11"
soxr==0.5.0.post1 ; python_version == "3.11"
starlette==0.45.3 ; python_version == "3.11"
tqdm==4.67.1 ; python_version == "3.11"
typing-extensions==4.12.2 ; python_version == "3.11"
uvicorn==0.34.0 ; python_version == "3.11"
Loading

0 comments on commit b13c61b

Please sign in to comment.