Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/matrix-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Optionally a book can be generated as a standalone HTML page, XHTML, Praat TextG

### The short version

Install [FFmpeg](https://ffmpeg.org/) and Python 3.8 or higher.
Install [FFmpeg](https://ffmpeg.org/) and Python 3.9 or higher.

Run:

Expand All @@ -72,7 +72,7 @@ Run:

Before you can install the ReadAlong Studio, you will need to install these dependencies:

- Python, version 3.8 or higher,
- Python, version 3.9 or higher,
- [FFmpeg](https://ffmpeg.org/),
- a C compiler (sometimes required for some dependant libraries),
- Git (optional, needed to get the current development version).
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "hatchling.build"
[project]
name = "readalongs"
dynamic = ["version"]
requires-python = ">= 3.8"
requires-python = ">= 3.9"
description = "ReadAlong Studio: Audiobook alignment for Indigenous languages"
readme = "README.md"
authors = [
Expand All @@ -26,12 +26,12 @@ classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Multimedia :: Sound/Audio :: Speech",
"Typing :: Typed",
]
Expand Down
4 changes: 2 additions & 2 deletions readalongs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

import sys

if sys.version_info < (3, 8, 0): # pragma: no cover
if sys.version_info < (3, 9, 0): # pragma: no cover
sys.exit(
f"Python 3.8 or more recent is required. You are using {sys.version}. "
f"Python 3.9 or more recent is required. You are using {sys.version}. "
"Please use a newer version of Python."
)
7 changes: 4 additions & 3 deletions tests/test_g2p_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,10 @@ def test_mixed_langs(self):
self.assertTrue(os.path.exists(g2p_file))

ref_file = os.path.join(self.data_dir, "mixed-langs.g2p.readalong")
with open(g2p_file, encoding="utf8") as output_f, open(
ref_file, encoding="utf8"
) as ref_f:
with (
open(g2p_file, encoding="utf8") as output_f,
open(ref_file, encoding="utf8") as ref_f,
):
self.maxDiff = None
# update version info
ref_list = list(ref_f)
Expand Down
7 changes: 4 additions & 3 deletions tests/test_make_xml_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,10 @@ def test_output_correct(self):
self.assertEqual(results.exit_code, 0)

ref_file = os.path.join(self.data_dir, "fra-prepared.readalong")
with open(xml_file, encoding="utf8") as output_f, open(
ref_file, encoding="utf8"
) as ref_f:
with (
open(xml_file, encoding="utf8") as output_f,
open(ref_file, encoding="utf8") as ref_f,
):
self.maxDiff = None
# update version info
ref_list = list(ref_f)
Expand Down
Loading