Skip to content

Commit cc9e249

Browse files
committed
Disable ensure_codegen_up_to_date for Python 3.13 in .travis.yml
1 parent 0639e8b commit cc9e249

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dist: focal
44
matrix:
55
include:
66
# Historically, we've run tests on the latest supported version of Python first.
7-
# For now, we're running Python 3.12 first, because it's the verions currently used for codegen.
7+
# For now, we're running Python 3.12 first, because it's the version currently used for codegen.
88
# This is where additional tests are run so we give it more time.
99
- python: "3.12"
1010
- python: "3.9"
@@ -20,7 +20,8 @@ install:
2020
- travis_retry pip install --upgrade tox==3.* tox-travis
2121

2222
before_script:
23-
- python tools/ensure_codegen_up_to_date.py
23+
# Python 3.13 is only supported by grpcio-tools >= 1.67.0, a later version than what we use in the tox.ini
24+
- if [[ "$TRAVIS_PYTHON_VERSION" != "3.13" ]]; then python tools/ensure_codegen_up_to_date.py; fi
2425

2526
script:
2627
- tox -c tox-travis.ini

0 commit comments

Comments
 (0)