From b02c9c4ceda10b76e78e4042b73944e0c40c2c2c Mon Sep 17 00:00:00 2001 From: Claudio Santini Date: Tue, 14 Jan 2025 23:34:37 +0100 Subject: [PATCH] fix --- .github/workflows/pip-install.yaml | 34 +++++++++++++++--------------- README.md | 3 ++- pyproject.toml | 2 +- 3 files changed, 20 insertions(+), 19 deletions(-) diff --git a/.github/workflows/pip-install.yaml b/.github/workflows/pip-install.yaml index 84e9ffa..44ec18e 100644 --- a/.github/workflows/pip-install.yaml +++ b/.github/workflows/pip-install.yaml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: '3.11' - name: Install audiblez @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: '3.12' - name: Install audiblez @@ -34,18 +34,18 @@ jobs: run: python -m audiblez --help - name: check it runs as script run: audiblez --help - install-and-run-on-python-3-10: - runs-on: ubuntu-latest - steps: - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: '3.10' - - name: Install audiblez - run: python -m pip install audiblez - - name: Fake download model - run: touch kokoro-v0_19.onnx && touch voices.json - - name: Check it runs as module - run: python -m audiblez --help - - name: check it runs as script - run: audiblez --help +# install-and-run-on-python-3-10: # Doesn't work because of Kokoro +# runs-on: ubuntu-latest +# steps: +# - name: Set up Python +# uses: actions/setup-python@v5 +# with: +# python-version: '3.10' +# - name: Install audiblez +# run: python -m pip install audiblez +# - name: Fake download model +# run: touch kokoro-v0_19.onnx && touch voices.json +# - name: Check it runs as module +# run: python -m audiblez --help +# - name: check it runs as script +# run: audiblez --help diff --git a/README.md b/README.md index 6df2133..5a67201 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,8 @@ at a rate of about 80 characters per second. ## How to install and run -If you have python3 on your computer, you can install it with pip. +If you have Python 3.11 or Python 3.12 on your computer, you can install it with pip. +Be aware that it won't work with Python 3.10 or lower. Then you also need to download the onnx and voices files in the same folder, which are about ~360MB: ```bash diff --git a/pyproject.toml b/pyproject.toml index 28ed8d4..121973f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ authors = [ { name = "Claudio Santini", email = "hireclaudio@gmail.com" } ] readme = "README.md" -requires-python = ">=3.10,<3.13" +requires-python = ">=3.11,<3.13" dependencies = [ "bs4 (==0.0.2)", "attrs (==24.3.0)",