Skip to content

Commit 42264e2

Browse files
authored
generator, service: Add Python 3.14 support, part 1 (#1256)
* service: Add grpcio-tools version for Python 3.14 * generator: Add grpcio-tools version for Python 3.14 * chore(deps): Update poetry.lock * github: Run checks and unit tests with Python 3.14
1 parent 96e07d5 commit 42264e2

File tree

7 files changed

+208
-11
lines changed

7 files changed

+208
-11
lines changed

.github/workflows/check_nimg.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [windows-latest, ubuntu-latest, macos-latest]
15-
python-version: [3.9, 3.13]
15+
python-version: [3.9, 3.14]
1616
runs-on: ${{ matrix.os }}
1717
defaults:
1818
run:

.github/workflows/check_nims.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [windows-latest, ubuntu-latest, macos-latest]
15-
python-version: [3.9, 3.13]
15+
python-version: [3.9, 3.14]
1616
runs-on: ${{ matrix.os }}
1717
defaults:
1818
run:

.github/workflows/run_unit_tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ jobs:
1111
strategy:
1212
matrix:
1313
os: [windows-latest, ubuntu-latest]
14-
python-version: [3.9, '3.10', 3.11, 3.12, 3.13]
14+
# grpcio does not have binary wheels for pypy or free-threading, as of version 1.75.1.
15+
python-version: [3.9, '3.10', 3.11, 3.12, 3.13, 3.14]
1516
# Fail-fast skews the pass/fail ratio and seems to make pytest produce
1617
# incomplete JUnit XML results.
1718
fail-fast: false

packages/generator/poetry.lock

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

packages/generator/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ tox = ">=4.0"
5353
grpcio-tools = [
5454
{version = "1.49.1", python = ">=3.9,<3.12"},
5555
{version = "1.59.0", python = ">=3.12,<3.13"},
56-
{version = "1.67.0", python = "^3.13"},
56+
{version = "1.67.0", python = ">=3.13,<3.14"},
57+
{version = "1.75.1", python = "^3.14"},
5758
]
5859
# NumPy dropped support for Python 3.8 before adding support for Python 3.12, so
5960
# we need to include multiple NumPy versions in poetry.lock.

0 commit comments

Comments
 (0)