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/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
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"]

steps:
- name: Check out repository
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ readme = 'README.md'
repository = 'https://github.com/Olen/Spond'

[tool.poetry.dependencies]
python = "^3.9"
python = "^3.10"
aiohttp = "^3.8.5"

[tool.poetry.group.dev.dependencies]
Expand All @@ -17,7 +17,7 @@ pytest-asyncio = ">=0.23.6,<0.26.0"
ruff = "^0.9.6"

[tool.ruff]
target-version = "py39" # Ruff doesn't yet infer this from [tool.poetry.dependencies]
target-version = "py310" # Ruff doesn't yet infer this from [tool.poetry.dependencies]

[tool.ruff.lint]
select = [
Expand Down
9 changes: 1 addition & 8 deletions spond/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
import sys
from typing import Any

if sys.version_info < (3, 10):
from typing_extensions import TypeAlias
else:
from typing import TypeAlias

from typing import Any, TypeAlias

JSONDict: TypeAlias = dict[str, Any]
"""Simple alias for type hinting `dict`s that can be passed to/from JSON-handling functions."""
Expand Down
2 changes: 1 addition & 1 deletion spond/base.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from abc import ABC
from typing import Callable
from collections.abc import Callable

import aiohttp

Expand Down