Skip to content

Commit

Permalink
Drop Python-3.8 #109
Browse files Browse the repository at this point in the history
  • Loading branch information
shimizukawa committed Nov 10, 2024
1 parent ee2537a commit 1d2b725
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9, '3.10', '3.11', '3.12', '3.13']
python-version: [3.9, '3.10', '3.11', '3.12', '3.13']
max-parallel: 1

steps:
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.9

- name: Install tox and any other dependencies for test
run: |
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = [
]
description = "Sphinx utility that make it easy to translate and to apply translation."
readme = "README.rst"
requires-python = ">=3.8"
requires-python = ">=3.9"
license = {file = "LICENSE"}
dependencies = [
"setuptools",
Expand All @@ -26,7 +26,6 @@ classifiers = [
"Topic :: Text Processing :: General",
"Topic :: Utilities",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down
4 changes: 2 additions & 2 deletions sphinx_intl/sphinx_util.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from typing import Iterator, List
from collections.abc import Iterator


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

def has(self, tag: str) -> bool:
Expand Down
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
[tox]
envlist =
py{38,39,310,311,312,313},
py{39,310,311,312,313},
lint,
mypy

[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
Expand Down

0 comments on commit 1d2b725

Please sign in to comment.