Skip to content

Commit

Permalink
Fix macos build (#751)
Browse files Browse the repository at this point in the history
  • Loading branch information
raivisdejus authored May 24, 2024
1 parent 36d6b3d commit a5fa313
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

- uses: actions/setup-python@v4
with:
python-version: "3.10.7"
python-version: "3.10.11"

- name: Install Poetry Action
uses: snok/[email protected]
Expand All @@ -56,10 +56,12 @@ jobs:
~/AppData/Local/Buzz/Buzz/Cache
key: whisper-models-${{ runner.os }}

- uses: FedericoCarboni/setup-ffmpeg@v1
- uses: FedericoCarboni/setup-ffmpeg@v3.1
id: setup-ffmpeg
with:
token: ${{ secrets.GITHUB_TOKEN }}
ffmpeg-version: release
architecture: 'x64'
github-token: ${{ github.server_url == 'https://github.com' && github.token || '' }}

- name: Install dependencies
run: poetry install
Expand Down Expand Up @@ -94,7 +96,7 @@ jobs:
submodules: recursive
- uses: actions/setup-python@v4
with:
python-version: "3.10.7"
python-version: "3.10.11"

- name: Install Poetry Action
uses: snok/[email protected]
Expand All @@ -109,10 +111,12 @@ jobs:
path: .venv
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}-2

- uses: FedericoCarboni/setup-ffmpeg@v1
- uses: FedericoCarboni/setup-ffmpeg@v3.1
id: setup-ffmpeg
with:
token: ${{ secrets.GITHUB_TOKEN }}
ffmpeg-version: release
architecture: 'x64'
github-token: ${{ github.server_url == 'https://github.com' && github.token || '' }}

- name: Install dependencies
run: poetry install
Expand Down Expand Up @@ -201,7 +205,7 @@ jobs:
submodules: recursive
- uses: actions/setup-python@v4
with:
python-version: "3.10.7"
python-version: "3.10.11"
- name: Install Poetry Action
uses: snok/[email protected]
with:
Expand Down
1 change: 1 addition & 0 deletions buzz/widgets/recording_transcriber_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ def closeEvent(self, event: QCloseEvent) -> None:
if self.recording_amplitude_listener is not None:
self.recording_amplitude_listener.stop_recording()
self.recording_amplitude_listener.deleteLater()
self.recording_amplitude_listener = None

self.settings.set_value(
Settings.Key.RECORDING_TRANSCRIBER_LANGUAGE,
Expand Down

0 comments on commit a5fa313

Please sign in to comment.