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 @@ -22,7 +22,7 @@ jobs:
fail-fast: false
max-parallel: 5
matrix:
python-version: [3.9, '3.10', '3.11', '3.12', '3.13', '3.14']
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14', '3.15']

steps:
- name: Print github context
Expand Down
7 changes: 5 additions & 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.9"
requires-python = ">=3.10"
license = "BSD-2-Clause"
license-files = ["LICENSE"]
dependencies = [
Expand All @@ -25,12 +25,12 @@ classifiers = [
"Topic :: Text Processing :: General",
"Topic :: Utilities",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Framework :: Sphinx",
]

Expand Down Expand Up @@ -70,5 +70,8 @@ local_scheme = "no-local-version"
ignore_missing_imports = true
strict_optional = false

[tool.ruff]
target-version = "py310"

[tool.uv.sources]
sphinx-intl = { workspace = true }
3 changes: 2 additions & 1 deletion sphinx_intl/pycompat.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
import os
import sys
import warnings
from typing import Any, Callable
from collections.abc import Callable
from typing import Any

# ------------------------------------------------------------------------------
# Python 2/3 compatibility
Expand Down
2 changes: 1 addition & 1 deletion tests/path.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,4 +182,4 @@ def joinpath(self, *args):
__div__ = __truediv__ = joinpath

def __repr__(self):
return '{}({})'.format(self.__class__.__name__, str.__repr__(self))
return f'{self.__class__.__name__}({str.__repr__(self)})'
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
[tox]
envlist =
py{39,310,311,312,313,314},
py{310,311,312,313,314,315},
lint,
mypy

[gh-actions]
python =
3.9: py39
3.10: py310
3.11: py311, lint, check
3.12: py312
3.13: py313
3.14: py314
3.15: py315

[testenv]
deps=-e.[test]
Expand Down