Skip to content

Commit 64cd69e

Browse files
committed
chore: Add back support for Python 3.9
1 parent 1bda8fd commit 64cd69e

File tree

5 files changed

+114
-19
lines changed

5 files changed

+114
-19
lines changed

.github/workflows/pre_release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,19 @@ jobs:
3232
name: Lint check
3333
uses: apify/workflows/.github/workflows/python_lint_check.yaml@main
3434
with:
35-
python-versions: '["3.10", "3.11", "3.12", "3.13"]'
35+
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
3636

3737
type_check:
3838
name: Type check
3939
uses: apify/workflows/.github/workflows/python_type_check.yaml@main
4040
with:
41-
python-versions: '["3.10", "3.11", "3.12", "3.13"]'
41+
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
4242

4343
unit_tests:
4444
name: Unit tests
4545
uses: apify/workflows/.github/workflows/python_unit_tests.yaml@main
4646
with:
47-
python-versions: '["3.10", "3.11", "3.12", "3.13"]'
47+
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
4848

4949
async_docstrings:
5050
name: Async dostrings check
@@ -55,7 +55,7 @@ jobs:
5555
uses: apify/workflows/.github/workflows/python_integration_tests.yaml@main
5656
secrets: inherit
5757
with:
58-
python-versions: '["3.10", "3.11", "3.12", "3.13"]'
58+
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
5959

6060
update_changelog:
6161
name: Update changelog

.github/workflows/release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,19 @@ jobs:
4343
name: Lint check
4444
uses: apify/workflows/.github/workflows/python_lint_check.yaml@main
4545
with:
46-
python-versions: '["3.10", "3.11", "3.12", "3.13"]'
46+
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
4747

4848
type_check:
4949
name: Type check
5050
uses: apify/workflows/.github/workflows/python_type_check.yaml@main
5151
with:
52-
python-versions: '["3.10", "3.11", "3.12", "3.13"]'
52+
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
5353

5454
unit_tests:
5555
name: Unit tests
5656
uses: apify/workflows/.github/workflows/python_unit_tests.yaml@main
5757
with:
58-
python-versions: '["3.10", "3.11", "3.12", "3.13"]'
58+
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
5959

6060
async_docstrings:
6161
name: Async dostrings check
@@ -66,7 +66,7 @@ jobs:
6666
uses: apify/workflows/.github/workflows/python_integration_tests.yaml@main
6767
secrets: inherit
6868
with:
69-
python-versions: '["3.10", "3.11", "3.12", "3.13"]'
69+
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
7070

7171
update_changelog:
7272
name: Update changelog

.github/workflows/run_code_checks.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ jobs:
2121
name: Lint check
2222
uses: apify/workflows/.github/workflows/python_lint_check.yaml@main
2323
with:
24-
python-versions: '["3.10", "3.11", "3.12", "3.13"]'
24+
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
2525

2626
type_check:
2727
name: Type check
2828
uses: apify/workflows/.github/workflows/python_type_check.yaml@main
2929
with:
30-
python-versions: '["3.10", "3.11", "3.12", "3.13"]'
30+
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
3131

3232
unit_tests:
3333
name: Unit tests
3434
uses: apify/workflows/.github/workflows/python_unit_tests.yaml@main
3535
with:
36-
python-versions: '["3.10", "3.11", "3.12", "3.13"]'
36+
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
3737

3838
async_docstrings:
3939
name: Async dostrings check
@@ -48,5 +48,5 @@ jobs:
4848
needs: [lint_check, type_check, unit_tests]
4949
uses: apify/workflows/.github/workflows/python_integration_tests.yaml@main
5050
with:
51-
python-versions: '["3.10", "3.11", "3.12", "3.13"]'
51+
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
5252
secrets: inherit

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ description = "Apify API client for Python"
99
authors = [{ name = "Apify Technologies s.r.o.", email = "[email protected]" }]
1010
license = { file = "LICENSE" }
1111
readme = "README.md"
12-
requires-python = ">=3.10"
12+
requires-python = ">=3.9"
1313
classifiers = [
1414
"Development Status :: 5 - Production/Stable",
1515
"Environment :: Console",
1616
"Intended Audience :: Developers",
1717
"License :: OSI Approved :: Apache Software License",
1818
"Operating System :: OS Independent",
19+
"Programming Language :: Python :: 3.9",
1920
"Programming Language :: Python :: 3.10",
2021
"Programming Language :: Python :: 3.11",
2122
"Programming Language :: Python :: 3.12",
@@ -157,7 +158,7 @@ asyncio_mode = "auto"
157158
timeout = 1200
158159

159160
[tool.mypy]
160-
python_version = "3.10"
161+
python_version = "3.9"
161162
files = ["src", "tests", "scripts", "docs", "website"]
162163
check_untyped_defs = true
163164
disallow_incomplete_defs = true
@@ -176,7 +177,7 @@ module = ["pandas", "respx"]
176177
ignore_missing_imports = true
177178

178179
[tool.basedpyright]
179-
pythonVersion = "3.10"
180+
pythonVersion = "3.9"
180181
typeCheckingMode = "standard"
181182
include = ["src", "tests", "scripts", "docs", "website"]
182183

0 commit comments

Comments
 (0)