Skip to content
Merged
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/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.10", "3.11", "3.12", "3.13" ]
python-version: [ "3.10", "3.11", "3.12", "3.13", "3.14" ]

steps:
- name: Checkout code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13"
python-version: "3.14"

- name: Replace relative links in README
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.13"
python-version: "3.14"

- name: Upgrade pip
run: python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ version: 2
build:
os: ubuntu-24.04
tools:
python: "3.13"
python: "3.14"

# Build documentation in the "docs/" directory with Sphinx
sphinx:
Expand Down
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,21 @@ classifiers = [
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3.14',
"Operating System :: OS Independent",
]
requires-python = ">=3.10"
dependencies = [
"charset_normalizer>=3.3.2,<4.0",
"fastdtw>=0.3.4,<1.0",
"lingua-language-detector>=2.1.1,<3.0",
"lingua-language-detector>=2.1.1,<2.2.0; python_version < '3.12'",
"lingua-language-detector>=2.2.0,<3.0; python_version >= '3.12'",
"pysubs2>=1.8.0,<2.0",
"scipy>=1.15.3,<2.0",
"sentence_transformers>=4.1.0,<6.0",
"tqdm>=4.67.1,<5.0",
"typer>=0.16.0,<1.0",
"gradio>=5.41.1,<6.0",
"gradio>=5.41.1,<7.0",
"nvidia_ml_py>=12.575.51,<14.0",
"pandas>=2.3.1,<3.0",
"psutil>=7.0.0,<8.0",
Expand Down
17 changes: 9 additions & 8 deletions tests/webui/ui/test_layout_and_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,13 @@ def test_start_merge(page: Page, tmp_path: Path) -> None:
merge_button = page.get_by_role("button", name="Merge")
cancel_button = page.get_by_role("button", name="Cancel")

expect(merge_button).to_be_disabled()
expect(cancel_button).to_be_enabled()
expect(merge_button).to_be_disabled(timeout=60000)
expect(cancel_button).to_be_enabled(timeout=60000)

perform_download(page, tmp_path / "output.zip")

expect(merge_button).to_be_enabled()
expect(cancel_button).to_be_disabled()
expect(merge_button).to_be_enabled(timeout=60000)
expect(cancel_button).to_be_disabled(timeout=60000)

ending_naming_and_format = [
"_combined.ass",
Expand Down Expand Up @@ -178,7 +178,7 @@ def test_cancel_merge(page: Page) -> None:
expect(page.get_by_text(
"The merging process is stopped.",
exact=True)
).to_be_visible(timeout=20000)
).to_be_visible(timeout=60000)

download_section = page.get_by_text(
"Processed Subtitles (in zip)",
Expand Down Expand Up @@ -358,15 +358,15 @@ def test_omit_all_subs_files(page: Page) -> None:

expect(
page.locator("div.toast-body.warning").filter(has_text="Nothing to merge")
).to_be_visible(timeout=10000)
).to_be_visible(timeout=60000)

time.sleep(10)

perform_merging(page, SUB_1, SUB_2)

expect(
page.locator("div.toast-body.warning").filter(has_text="Nothing to merge")
).to_be_visible(timeout=10000)
).to_be_visible(timeout=60000)

section = page.get_by_text(
"Processed Subtitles (in zip)",
Expand Down Expand Up @@ -427,7 +427,8 @@ def perform_download(page: Page, output_zip_path: Path) -> None:
"Processed Subtitles (in zip)",
exact=True
).locator("..")
download_link = section.locator("a[download]")
download_link = section.locator("a[download]").first
download_link.wait_for(timeout=60000)

with page.expect_download() as download_info:
download_link.click()
Expand Down
Loading