Skip to content

Commit

Permalink
fix(deps): support Python 3.12, end support for Python 3.8, explicitl…
Browse files Browse the repository at this point in the history
…y specify click as a dependency, update deps (#1165)

* chore(deps): add click

* style: supress flake8 E226

* ci: test with 3.12 as well

* chore(deps): add setuptools

* chore: update deps

* ci: skip 3.12 test

* docs(readme): replace 3.10 with 3.11
  • Loading branch information
34j authored May 10, 2024
1 parent 94bc64f commit a7ceffa
Show file tree
Hide file tree
Showing 5 changed files with 1,119 additions and 1,362 deletions.
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[flake8]
exclude = docs
max-line-length = 88
ignore = E203, E501, E741, E402, E712, W503, E731, E711
ignore = E203, E501, E741, E402, E712, W503, E731, E711, E226
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ jobs:
- "3.8"
- "3.9"
- "3.10"
# - "3.11"
- "3.11"
# - "3.12"
os:
- ubuntu-latest
# - windows-latest
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ python -m pipx ensurepath
#### 2. Installing so-vits-svc-fork

```shell
pipx install so-vits-svc-fork --python=3.10
pipx install so-vits-svc-fork --python=3.11
pipx inject so-vits-svc-fork torch torchaudio --pip-args="--upgrade" --index-url=https://download.pytorch.org/whl/cu121 # https://download.pytorch.org/whl/nightly/cu121
```

Expand All @@ -95,21 +95,21 @@ pipx inject so-vits-svc-fork torch torchaudio --pip-args="--upgrade" --index-url
Windows:

```shell
py -3.10 -m venv venv
py -3.11 -m venv venv
venv\Scripts\activate
```

Linux/MacOS:

```shell
python3.10 -m venv venv
python3.11 -m venv venv
source venv/bin/activate
```

Anaconda:

```shell
conda create -n so-vits-svc-fork python=3.10 pip
conda create -n so-vits-svc-fork python=3.11 pip
conda activate so-vits-svc-fork
```

Expand Down
Loading

0 comments on commit a7ceffa

Please sign in to comment.