Skip to content

Commit e1bbeb2

Browse files
committed
Introduce .python-version to widen Python compatibility
1 parent e8987f1 commit e1bbeb2

File tree

6 files changed

+257
-5
lines changed

6 files changed

+257
-5
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up Python
1919
uses: actions/setup-python@v5
2020
with:
21-
python-version-file: pyproject.toml
21+
python-version-file: .python-version
2222

2323
- name: Set up uv
2424
uses: astral-sh/setup-uv@v5

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Python
1818
uses: actions/setup-python@v5
1919
with:
20-
python-version-file: pyproject.toml
20+
python-version-file: .python-version
2121

2222
- name: Set up uv
2323
uses: astral-sh/setup-uv@v5

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Set up Python
1515
uses: actions/setup-python@v5
1616
with:
17-
python-version-file: pyproject.toml
17+
python-version-file: .python-version
1818

1919
- name: Set up uv
2020
uses: astral-sh/setup-uv@v5

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.13

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "todoist_api_python"
33
version = "3.0.0"
44
description = "Official Python SDK for the Todoist API."
55
authors = [{ name = "Doist Developers", email = "[email protected]" }]
6-
requires-python = "~=3.13"
6+
requires-python = "~=3.9"
77
readme = "README.md"
88
license = "MIT"
99
keywords = ["todoist", "rest", "sync", "api", "python"]

0 commit comments

Comments
 (0)