Skip to content

Commit 7f11076

Browse files
authored
GitHub Actions: Test on Python 3.14 release candidate 3 (#428)
Python v3.14 -- October 7th * https://www.python.org/download/pre-releases * https://www.python.org/downloads/release/python-3140rc3
1 parent 14ed138 commit 7f11076

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

.github/workflows/python_publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
fail-fast: false
3030
matrix:
3131
os: [macos-latest, ubuntu-latest, windows-latest]
32-
python-version: ['3.9', '3.11', '3.13']
32+
python-version: ['3.10', '3.12', '3.14']
3333
max-parallel: 9
3434
runs-on: ${{ matrix.os }}
3535
steps:
@@ -53,6 +53,7 @@ jobs:
5353
- uses: actions/setup-python@v6
5454
with:
5555
python-version: ${{ matrix.python-version }}
56+
allow-prereleases: true
5657

5758
- name: Install dependencies
5859
run: |

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ repos:
4949
- tomli
5050

5151
- repo: https://github.com/astral-sh/ruff-pre-commit
52-
rev: v0.12.10
52+
rev: v0.13.2
5353
hooks: # Format before linting
5454
- id: ruff-check
5555
- id: ruff-format

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ classifiers = [
3434
"Operating System :: Microsoft :: Windows",
3535
"Operating System :: POSIX",
3636
"Programming Language :: Python :: 3 :: Only",
37-
"Programming Language :: Python :: 3.9",
3837
"Programming Language :: Python :: 3.10",
3938
"Programming Language :: Python :: 3.11",
4039
"Programming Language :: Python :: 3.12",
4140
"Programming Language :: Python :: 3.13",
41+
"Programming Language :: Python :: 3.14",
4242
]
4343
dependencies = [
4444
"comtypes; platform_system=='Windows'",
@@ -55,7 +55,7 @@ include-package-data = false
5555

5656
[tool.ruff]
5757
line-length = 100
58-
target-version = "py39"
58+
target-version = "py310"
5959

6060
[tool.ruff.lint]
6161
select = [

pyttsx3/driver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def stop(self) -> None:
134134
# clear queue up to first end loop command
135135
while True:
136136
try:
137-
mtd, args, name = self._queue[0]
137+
mtd, _args, _name = self._queue[0]
138138
except IndexError:
139139
break
140140
if mtd == self._engine.endLoop:

0 commit comments

Comments
 (0)