Skip to content

Commit 1d2b725

Browse files
committed
Drop Python-3.8 #109
1 parent ee2537a commit 1d2b725

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
python-version: [3.8, 3.9, '3.10', '3.11', '3.12', '3.13']
20+
python-version: [3.9, '3.10', '3.11', '3.12', '3.13']
2121
max-parallel: 1
2222

2323
steps:
@@ -69,7 +69,7 @@ jobs:
6969
- name: Setup python
7070
uses: actions/setup-python@v5
7171
with:
72-
python-version: 3.8
72+
python-version: 3.9
7373

7474
- name: Install tox and any other dependencies for test
7575
run: |

pyproject.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = [
66
]
77
description = "Sphinx utility that make it easy to translate and to apply translation."
88
readme = "README.rst"
9-
requires-python = ">=3.8"
9+
requires-python = ">=3.9"
1010
license = {file = "LICENSE"}
1111
dependencies = [
1212
"setuptools",
@@ -26,7 +26,6 @@ classifiers = [
2626
"Topic :: Text Processing :: General",
2727
"Topic :: Utilities",
2828
"Operating System :: OS Independent",
29-
"Programming Language :: Python :: 3.8",
3029
"Programming Language :: Python :: 3.9",
3130
"Programming Language :: Python :: 3.10",
3231
"Programming Language :: Python :: 3.11",

sphinx_intl/sphinx_util.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
from typing import Iterator, List
1+
from collections.abc import Iterator
22

33

44
# port from https://github.com/sphinx-doc/sphinx/blob/ad41e0b/sphinx/util/tags.py
55
class Tags:
6-
def __init__(self, tags: List[str] = None) -> None:
6+
def __init__(self, tags: list[str] = None) -> None:
77
self.tags = dict.fromkeys(tags or [], True)
88

99
def has(self, tag: str) -> bool:

tox.ini

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
[tox]
22
envlist =
3-
py{38,39,310,311,312,313},
3+
py{39,310,311,312,313},
44
lint,
55
mypy
66

77
[gh-actions]
88
python =
9-
3.8: py38
109
3.9: py39
1110
3.10: py310
1211
3.11: py311

0 commit comments

Comments
 (0)