Skip to content

Commit 90e73a6

Browse files
authored
Add support for Python 3.14 (#1031)
1 parent cdd3442 commit 90e73a6

File tree

6 files changed

+26
-9
lines changed

6 files changed

+26
-9
lines changed

ChangeLog

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
* 28.2.0
2+
- Add support for Python 3.14.
3+
14
* 28.1.1
25
- Upgrade minimum version of nox so it's compatible with the "uv" backend.
36

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM ubuntu:24.04
22

33
ARG DEBIAN_FRONTEND=noninteractive
4-
ARG PYTHON_VERSIONS="3.13 3.12 3.11 3.10 3.9"
4+
ARG PYTHON_VERSIONS="3.14 3.13 3.12 3.11 3.10 3.9"
55

66
ENV TZ=Etc/GMT
77
ENV PATH="$PATH:/root/.local/bin"

google/ads/googleads/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import google.ads.googleads.errors
2020
import google.ads.googleads.util
2121

22-
VERSION = "28.1.1"
22+
VERSION = "28.2.0"
2323

2424
# Checks if the current runtime is Python 3.9.
2525
if sys.version_info.major == 3 and sys.version_info.minor <= 9:

noxfile.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import pathlib
1818

1919

20-
PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.12", "3.13"]
20+
PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
2121
PROTOBUF_IMPLEMENTATIONS = ["python", "upb"]
2222

2323
TEST_COMMAND = [
@@ -67,7 +67,10 @@ def tests(session, protobuf_implementation):
6767
@nox.session(python=PYTHON_VERSIONS)
6868
@nox.parametrize("protobuf_implementation", PROTOBUF_IMPLEMENTATIONS)
6969
def tests_minimum_dependency_versions(session, protobuf_implementation):
70-
if session.python == "3.13":
70+
if session.python == "3.14":
71+
# If running Python 3.14 use the constraints file intended for it.
72+
filename = "constraints-3.14.txt"
73+
elif session.python == "3.13":
7174
# If running Python 3.13 use the constraints file intended for it.
7275
filename = "constraints-3.13.txt"
7376
else:

pyproject.toml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,15 @@ build-backend = "setuptools.build_meta"
1818

1919
[project]
2020
name = "google-ads"
21-
version = "28.1.1"
21+
version = "28.2.0"
2222
description = "Client library for the Google Ads API"
2323
readme = "./README.rst"
24-
requires-python = ">=3.9, <3.14"
25-
license = "Apache-2.0"
24+
requires-python = ">=3.9, <3.15"
25+
license = { file = "LICENSE" }
2626
authors = [
2727
{name = "Google LLC", email = "googleapis-packages@google.com"}
2828
]
2929
classifiers = [
30-
"Intended Audience :: Developers",
31-
"Development Status :: 5 - Production/Stable",
3230
"Intended Audience :: Developers",
3331
"Programming Language :: Python",
3432
"Programming Language :: Python :: 3",
@@ -37,6 +35,7 @@ classifiers = [
3735
"Programming Language :: Python :: 3.11",
3836
"Programming Language :: Python :: 3.12",
3937
"Programming Language :: Python :: 3.13",
38+
"Programming Language :: Python :: 3.14",
4039
]
4140
dependencies = [
4241
"google-auth-oauthlib >= 1.0.0, < 2.0.0",
@@ -49,8 +48,10 @@ dependencies = [
4948
# have the same version range.
5049
"grpcio >= 1.59.0, < 2.0.0",
5150
"grpcio >= 1.66.2, < 2.0.0; python_version >= '3.13'",
51+
"grpcio >= 1.75.1, < 2.0.0; python_version >= '3.14'",
5252
"grpcio-status >= 1.59.0, < 2.0.0",
5353
"grpcio-status >= 1.66.2, < 2.0.0; python_version >= '3.13'",
54+
"grpcio-status >= 1.75.1, < 2.0.0; python_version >= '3.14'",
5455
"proto-plus >= 1.22.3, < 2.0.0",
5556
"proto-plus >= 1.25.0, < 2.0.0; python_version >= '3.13'",
5657
"PyYAML >= 5.1, < 7.0",
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# -*- coding: utf-8 -*-
2+
# This constraints file is required for unit tests.
3+
# List all library dependencies and extras in this file.
4+
google-auth-oauthlib==1.0.0
5+
google-api-core==2.22.0
6+
proto-plus==1.25.0
7+
protobuf==5.26.1
8+
googleapis-common-protos==1.63.2
9+
grpcio==1.75.1
10+
grpcio-status==1.75.1

0 commit comments

Comments
 (0)