Skip to content

Commit 1d1a4bb

Browse files
Drop Python 3.9 support, add Python 3.13
pytest 9.0 requires Python >= 3.10, so the CI was failing on Python 3.9. Python 3.9 reached end-of-life in October 2025.
1 parent 7930031 commit 1d1a4bb

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
max-parallel: 4
1010
matrix:
11-
python-version: ["3.9", "3.10", "3.11", "3.12"]
11+
python-version: ["3.10", "3.11", "3.12", "3.13"]
1212

1313
steps:
1414
- uses: actions/checkout@v6

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ classifiers = [
1414
"License :: OSI Approved :: MIT License",
1515
"Operating System :: MacOS :: MacOS X",
1616
"Operating System :: POSIX :: Linux",
17-
"Programming Language :: Python :: 3.9",
1817
"Programming Language :: Python :: 3.10",
1918
"Programming Language :: Python :: 3.11",
2019
"Programming Language :: Python :: 3.12",
20+
"Programming Language :: Python :: 3.13",
2121
"Programming Language :: Python :: 3 :: Only",
2222
"Topic :: Software Development :: Libraries :: Python Modules",
2323
]
2424
keywords = ["telegram", "client", "api", "tdlib", "tdjson", "td"]
2525
dependencies = [
2626
"telegram-text==0.2.0",
2727
]
28-
requires-python = ">=3.9"
28+
requires-python = ">=3.10"
2929

3030
[project.urls]
3131
Source = "https://github.com/alexander-akhmetov/python-telegram"

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[tox]
22
ignore_basepython_conflict = true
3-
envlist = mypy,ruff,ruff-format,py39,py310,py311,py312
3+
envlist = mypy,ruff,ruff-format,py310,py311,py312,py313
44

55
[gh-actions]
66
python =
7-
3.9: py39
87
3.10: py310
98
3.11: py311
109
3.12: py312, mypy, ruff, ruff-format
10+
3.13: py313
1111

1212
[testenv]
1313
basepython = python3

0 commit comments

Comments
 (0)