diff --git a/.github/workflows/_checks.yml b/.github/workflows/_checks.yml index e75b538..2fb9c16 100644 --- a/.github/workflows/_checks.yml +++ b/.github/workflows/_checks.yml @@ -55,6 +55,7 @@ jobs: - "3.12" - "3.13" - "3.14" + - "3.15" steps: - uses: actions/checkout@v6 - uses: astral-sh/setup-uv@v8.2.0 diff --git a/pyproject.toml b/pyproject.toml index 45e2ee4..7f6bb5f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,8 +18,10 @@ classifiers = [ "Topic :: Software Development :: Libraries", ] dependencies = [ - # The committed test stubs under tests/protos refuse to import below 1.82.1. - "grpcio>=1.82.1,<2", + # The committed test stubs under tests/protos refuse to import below 1.82.1, and grpcio ships + # no cp315 wheel before 1.84. + "grpcio>=1.82.1,<2; python_version < '3.15'", + "grpcio>=1.84,<2; python_version >= '3.15'", "modern-di>=4.2,<5", ] version = "0"