Skip to content

Commit

Permalink
Merge branch 'main' into 99-add-speaker-verification-notebook-and-doc…
Browse files Browse the repository at this point in the history
…umentation
  • Loading branch information
fabiocat93 authored Sep 25, 2024
2 parents 294ce8f + 11165db commit 8b989a3
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 13 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,10 @@ jobs:
pipx ensurepath
shell: bash
- name: Install poetry
run: pipx install poetry==1.7.1
run: pipx install poetry
shell: bash
- name: Install dependencies with Poetry
run: |
poetry run pip install iso-639
poetry install --with dev,docs
shell: bash
- name: Build docs
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,10 @@ jobs:
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.7.1
virtualenvs-create: true
virtualenvs-in-project: true
- name: Install dependencies with Poetry
run: |
poetry run pip install iso-639
poetry install --with dev
shell: bash
- name: Run unit tests
Expand Down Expand Up @@ -80,12 +78,10 @@ jobs:
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.7.1
virtualenvs-create: true
virtualenvs-in-project: true
- name: Install dependencies with Poetry
run: |
poetry run pip install iso-639
poetry install --with dev
shell: bash
- name: Install pre-commit
Expand Down Expand Up @@ -160,7 +156,6 @@ jobs:
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.7.1
virtualenvs-create: true
virtualenvs-in-project: true
- name: Check available space
Expand All @@ -179,7 +174,6 @@ jobs:
run: |
cd senselab
poetry env use ${{ matrix.python-version }}
poetry run pip install iso-639
poetry install --with dev
shell: bash
- name: Check poetry info
Expand Down Expand Up @@ -305,7 +299,6 @@ jobs:
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.7.1
virtualenvs-create: true
virtualenvs-in-project: true
- name: Check available space
Expand All @@ -324,7 +317,6 @@ jobs:
run: |
cd senselab
poetry env use ${{ matrix.python-version }}
poetry run pip install iso-639
poetry install --with dev
shell: bash
- name: Check poetry info
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ fail_fast: false

repos:
- repo: https://github.com/python-poetry/poetry
rev: 1.8.0
rev: 1.8.3
hooks:
- id: poetry-check

Expand Down
3 changes: 1 addition & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Note that a code of conduct applies to all spaces managed by the `senselab` proj
Please use the following workflow when contributing:

0. **Install poetry and poetry-dynamic-versioning plugin for dynamic versioning**:
- ```pipx install poetry==1.7.1```
- ```pipx install poetry```
- ```pipx inject poetry "poetry-dynamic-versioning[plugin]"```
1. **Create an issue**: Use GitHub to create an issuel, assign it to yourself (and any collaborators) and, if you have access, add it to the [Project board](https://github.com/orgs/sensein/projects/45).
2. **Create a branch**: Use GitHub's "Create a branch" button from the issue page to generate a branch associated with the issue.
Expand All @@ -17,7 +17,6 @@ Please use the following workflow when contributing:
- ```git fetch origin```
- ```git checkout <branch-name>```
5. **Install all required dependencies**:
- ```poetry run pip install iso-639```
- ```poetry install --with dev,docs```
6. **Install pre-commit hooks**:
```poetry run pre-commit install```
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ umap-learn = "~=0.5"
scikit-learn = "~=1.5"
nltk = "~=3.8"
vocos = "~=0.1"
iso639 = "~=0.1.4"

[tool.poetry.group.dev]
optional = true
Expand Down

0 comments on commit 8b989a3

Please sign in to comment.