Repository navigation
Conversation
There was a problem hiding this comment.
Code Review
This pull request drops support for Python 3.10, updating the minimum supported version to Python 3.11 across the package's configuration, documentation, and test suites. It also replaces the Python 3.10 constraints file with a Python 3.11 constraints file. The feedback suggests simplifying the noxfile.py configuration by removing "3.10" from ALL_PYTHON directly, which would eliminate the need for manual session skipping logic in unit tests and mypy checks.
| DEFAULT_PYTHON_VERSION = "3.14" | ||
| ALL_PYTHON = ["3.10", "3.11", "3.12", "3.13", "3.14", "3.15"] | ||
| UNIT_TEST_PYTHON_VERSIONS = ALL_PYTHON | ||
| UNIT_TEST_PYTHON_VERSIONS = ["3.11", "3.12", "3.13", "3.14", "3.15"] |
There was a problem hiding this comment.
Since Python 3.10 is no longer supported, we should remove "3.10" from ALL_PYTHON on line 41.
By doing so, we can keep UNIT_TEST_PYTHON_VERSIONS = ALL_PYTHON and avoid changing the @nox.session decorators to use ALL_PYTHON and adding manual session.skip checks in the unit and mypy sessions.
| UNIT_TEST_PYTHON_VERSIONS = ["3.11", "3.12", "3.13", "3.14", "3.15"] | |
| UNIT_TEST_PYTHON_VERSIONS = ALL_PYTHON |
There was a problem hiding this comment.
No. That would break GitHub Actions.
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes b/581946002 🦕