Skip to content

Bump minimum Python version to 3.11 in packaging metadata. - #445

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_1023021768
Nov 17, 2026
Merged

copybara-service[bot] merged 1 commit into
mainfrom
test_1023021768

Conversation

@copybara-service

Copy link
Copy Markdown

Bump minimum Python version to 3.11 in packaging metadata.

Exported runtime modules (android_device.py, app_screen_checker.py, and
rl/environment.py) import typing.Self, which was introduced in Python 3.11.
Declaring >=3.10 allowed installs on Python 3.10 that fail at import time
with ImportError, while CI and MODULE.bazel already target Python 3.11+.

Update requires-python in pyproject.toml and python_requires in
BUILD.bazel to >=3.11 so published wheel metadata matches the runtime
requirement and CI test matrix.

Exported runtime modules (`android_device.py`, `app_screen_checker.py`, and
`rl/environment.py`) import `typing.Self`, which was introduced in Python 3.11.
Declaring `>=3.10` allowed installs on Python 3.10 that fail at import time
with `ImportError`, while CI and `MODULE.bazel` already target Python 3.11+.

Update `requires-python` in `pyproject.toml` and `python_requires` in
`BUILD.bazel` to `>=3.11` so published wheel metadata matches the runtime
requirement and CI test matrix.

PiperOrigin-RevId: 1023934191
@copybara-service
copybara-service Bot merged commit e50104f into main Nov 17, 2026
2 checks passed
@copybara-service
copybara-service Bot deleted the test_1023021768 branch November 17, 2026 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant