- Notifications
You must be signed in to change notification settings - Fork90
feat: add support for python 3.13#696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
7d554dc
7ce4b60
6648ce5
9c640ae
cb279c9
a110d70
7ba0cba
020379e
32abb99
a73892e
5fb2a14
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -19,6 +19,7 @@ jobs: | ||
- "3.10" | ||
- "3.11" | ||
- "3.12" | ||
- "3.13" | ||
exclude: | ||
- option: "_wo_grpc" | ||
python: 3.7 | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -28,7 +28,7 @@ | ||
# Black and flake8 clash on the syntax for ignoring flake8's F401 in this file. | ||
BLACK_EXCLUDES = ["--exclude", "^/google/api_core/operations_v1/__init__.py"] | ||
PYTHON_VERSIONS = ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] | ||
DEFAULT_PYTHON_VERSION = "3.10" | ||
CURRENT_DIRECTORY = pathlib.Path(__file__).parent.absolute() | ||
@@ -95,7 +95,8 @@ def install_prerelease_dependencies(session, constraints_path): | ||
prerel_deps = [ | ||
"google-auth", | ||
"googleapis-common-protos", | ||
# Exclude grpcio!=1.67.0rc1 which does not support python 3.13 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Do we need to disable the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Without this change, the pre-release test fails (Seehttps://github.com/googleapis/python-api-core/actions/runs/11259852849/job/31309789274)
We don't get the stable version in the | ||
"grpcio!=1.67.0rc1", | ||
"grpcio-status", | ||
"proto-plus", | ||
"protobuf", | ||
@@ -132,6 +133,7 @@ def default(session, install_grpc=True, prerelease=False, install_async_rest=Fal | ||
install_extras = [] | ||
if install_grpc: | ||
# Note: The extra is called `grpc` and not `grpcio`. | ||
install_extras.append("grpc") | ||
constraints_dir = str(CURRENT_DIRECTORY / "testing") | ||