Skip to content

Commit 273cd3c

Browse files
authored
Test Python 3.14 & remove Python 3.10-3.12 (#251)
1 parent ed8adf8 commit 273cd3c

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/test.yml

+1-1
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"]
17+
python-version: ["3.13", "3.14"]
1818
os: [ubuntu-latest]
1919

2020
steps:

build_docs.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
from __future__ import annotations
2424

2525
from argparse import ArgumentParser, Namespace
26-
from collections.abc import Sequence
26+
from collections.abc import Iterable, Sequence
2727
from contextlib import suppress, contextmanager
2828
from dataclasses import dataclass
2929
import filecmp
@@ -42,7 +42,7 @@
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
4646
from urllib.parse import urljoin
4747

4848
import jinja2
@@ -479,15 +479,15 @@ def version_info():
479479
"""Handler for --version."""
480480
try:
481481
platex_version = head(
482-
subprocess.check_output(["platex", "--version"], universal_newlines=True),
482+
subprocess.check_output(["platex", "--version"], text=True),
483483
lines=3,
484484
)
485485
except FileNotFoundError:
486486
platex_version = "Not installed."
487487

488488
try:
489489
xelatex_version = head(
490-
subprocess.check_output(["xelatex", "--version"], universal_newlines=True),
490+
subprocess.check_output(["xelatex", "--version"], text=True),
491491
lines=2,
492492
)
493493
except FileNotFoundError:

tox.ini

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

88
[testenv]
99
package = wheel

0 commit comments

Comments
 (0)