Skip to content

Commit

Permalink
🔥 Remove support for 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
EinfachLeo committed Jul 13, 2024
1 parent c8a2e6e commit aa1fa61
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
python: ["3.9", "3.10", "3.11", "3.12"]
python: ["3.10", "3.11", "3.12"]

name: ${{ matrix.python }} - ${{ matrix.os }}

Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,12 @@ classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"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"
]
requires-python = ">=3.9.0"
requires-python = ">=3.10.0"
dynamic = ["version"]
dependencies = [
"requests==2.32.3",
Expand Down
12 changes: 3 additions & 9 deletions src/sharkey_crawler/types/id.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,9 @@
"""This defines types related to ids."""
from __future__ import annotations

from sys import version_info

if version_info[0] > 3 or version_info[1] >= 10:
from typing import TypeAlias
from typing import TypeAlias

__all__ = ["SharkeyId"]

if version_info[0] > 3 or version_info[1] >= 10:
"""The current representation of an ID in Sharkey."""
SharkeyId: TypeAlias = str
else:
SharkeyId = str
"""The current representation of an ID in Sharkey."""
SharkeyId: TypeAlias = str

0 comments on commit aa1fa61

Please sign in to comment.