Skip to content

Commit 38dad8b

Browse files
committed
Stop testing Python 3.10-3.12 and upgrade for Python 3.13+
1 parent e64a191 commit 38dad8b

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
17+
python-version: ["3.13", "3.14"]
1818
os: [ubuntu-latest]
1919

2020
steps:

build_docs.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242
from pathlib import Path
4343
from string import Template
4444
from time import perf_counter, sleep
45-
from typing import Iterable, Literal
45+
from typing import Literal
46+
from collections.abc import Iterable
4647
from urllib.parse import urljoin
4748

4849
import jinja2
@@ -479,15 +480,15 @@ def version_info():
479480
"""Handler for --version."""
480481
try:
481482
platex_version = head(
482-
subprocess.check_output(["platex", "--version"], universal_newlines=True),
483+
subprocess.check_output(["platex", "--version"], text=True),
483484
lines=3,
484485
)
485486
except FileNotFoundError:
486487
platex_version = "Not installed."
487488

488489
try:
489490
xelatex_version = head(
490-
subprocess.check_output(["xelatex", "--version"], universal_newlines=True),
491+
subprocess.check_output(["xelatex", "--version"], text=True),
491492
lines=2,
492493
)
493494
except FileNotFoundError:

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires =
33
tox>=4.2
44
env_list =
55
lint
6-
py{314, 313, 312, 311, 310}
6+
py{314, 313}
77

88
[testenv]
99
package = wheel

0 commit comments

Comments
 (0)