Skip to content

Commit 237ba42

Browse files
authored
chore(python)!: Bump minimum required Python version to 3.10 (resolves #1380, resolves #1438). (#1474)
1 parent b059fa0 commit 237ba42

File tree

13 files changed

+25
-435
lines changed

13 files changed

+25
-435
lines changed

components/clp-package-utils/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.5.2-dev"
44
description = "Utilities for the CLP package."
55
authors = [{name = "YScope Inc.", email = "[email protected]"}]
66
readme = "README.md"
7-
requires-python = ">=3.9"
7+
requires-python = ">=3.10"
88
dependencies = [
99
"Brotli>=1.1.0",
1010
"msgpack>=1.1.2",

components/clp-package-utils/uv.lock

Lines changed: 2 additions & 78 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/clp-py-utils/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.5.2-dev"
44
description = "Utilities for other Python packages in CLP."
55
authors = [{name = "YScope Inc.", email = "[email protected]"}]
66
readme = "README.md"
7-
requires-python = ">=3.9"
7+
requires-python = ">=3.10"
88
dependencies = [
99
"boto3>=1.40.55",
1010
# mariadb version must be compatible with libmariadev installed in runtime env.

components/clp-py-utils/uv.lock

Lines changed: 3 additions & 202 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/job-orchestration/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.5.2-dev"
44
description = "Scheduler and worker cluster for CLP's distributed architecture."
55
authors = [{name = "YScope Inc.", email = "[email protected]"}]
66
readme = "README.md"
7-
requires-python = ">=3.9,<4.0"
7+
requires-python = ">=3.10"
88
dependencies = [
99
"Brotli>=1.1.0",
1010
"celery[redis]>=5.5.3",

components/job-orchestration/uv.lock

Lines changed: 7 additions & 112 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/src/dev-docs/building-package.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ prebuilt version instead, check out the [releases](https://github.com/y-scope/cl
1515
* `docker-buildx-plugin` >= 0.15.1
1616
* `docker-ce` >= 27.0.3
1717
* `docker-ce-cli` >= 27.0.3
18-
* Python 3.9 or newer
18+
* Python 3.10 or newer
1919
* python3-dev
2020
* python3-venv (for the version of Python installed)
2121
* [Task] 3.44.0

docs/src/dev-docs/contributing-linting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ To run the linting tools, besides commonly installed tools like `tar`, you'll ne
1313

1414
* `curl`
1515
* `md5sum`
16-
* Python 3.9 or newer
16+
* Python 3.10 or newer
1717
* python3-venv (for the version of Python installed)
1818
* [Task] 3.44.0
1919
* We pin the version to 3.44.0 due to [y-scope/clp#1352].

docs/src/user-docs/guides-multi-node.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ A multi-node deployment allows you to run CLP across a distributed set of hosts.
77
* [Docker]
88
* If you're not running as root, ensure docker can be run
99
[without superuser privileges][docker-non-root].
10-
* Python 3.9 or higher
10+
* Python 3.10 or higher
1111
* One or more hosts networked together
1212
* A distributed filesystem (e.g. [SeaweedFS]) accessible by all worker hosts through a filesystem
1313
mount

docs/src/user-docs/quick-start/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ To check whether Python is installed on your system, run:
4040
python3 --version
4141
```
4242

43-
CLP requires Python 3.9 or higher. If Python isn't installed, or if the version isn't high enough,
43+
CLP requires Python 3.10 or higher. If Python isn't installed, or if the version isn't high enough,
4444
install or upgrade it by following the instructions for your OS.
4545

4646
---

0 commit comments

Comments
 (0)