Skip to content

Commit

Permalink
Drop python3.9, require python3.10 minimum (#134)
Browse files Browse the repository at this point in the history
python3.10 is now the minimal required version (used by Kokoro tests).

Related:
- cl/370095649
- b/370095649
  • Loading branch information
sergiitk authored Oct 8, 2024
1 parent a752d2b commit 93e4bec
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/psm-interop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python_version: ["3.9", "3.10", "3.11"]
python_version: ["3.10", "3.11"]
fail-fast: false
permissions:
pull-requests: read # Used by paths-filter to read the diff.
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.9"
python-version: "3.10"
cache: 'pip'

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ changes to this codebase at the moment.
## Installation

#### Requirements
1. Python v3.9+
1. Python v3.10+
2. [Google Cloud SDK](https://cloud.google.com/sdk/docs/install)
3. `kubectl`

Expand Down
2 changes: 1 addition & 1 deletion bin/pylint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ USAGE:
./bin/pylint.sh
ONE-TIME INSTALLATION:
1. python3.9 -m venv --upgrade-deps venv-pylint
1. python3.10 -m venv --upgrade-deps venv-pylint
2. source ./venv-pylint/bin/activate
3. pip install pylint==2.2.2 astroid==2.3.3 toml==0.10.2 "isort>=4.3.0,<5.0.0"
4. deactivate
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[tool.black]
line-length = 80
target-version = [
"py39",
"py310",
"py311",
]
Expand Down

0 comments on commit 93e4bec

Please sign in to comment.