Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit971dc03

Browse files
authored
build: Add presubmits for Python 3.14 pre-release (#786)
* build: Add presubmits for Python 3.14 pre-release* build: use mypy<1.15.0 until#799 is fixed* update required checks
1 parent6b15116 commit971dc03

File tree

5 files changed

+28
-3
lines changed

5 files changed

+28
-3
lines changed

‎.github/sync-repo-settings.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,37 @@ branchProtectionRules:
1717
-'unit_grpc_gcp-3.10'
1818
-'unit_grpc_gcp-3.11'
1919
-'unit_grpc_gcp-3.12'
20+
-'unit_grpc_gcp-3.13'
21+
-'unit_grpc_gcp-3.14'
2022
-'unit-3.7'
2123
-'unit-3.8'
2224
-'unit-3.9'
2325
-'unit-3.10'
2426
-'unit-3.11'
2527
-'unit-3.12'
28+
-'unit-3.13'
29+
-'unit-3.14'
2630
-'unit_wo_grpc-3.10'
2731
-'unit_wo_grpc-3.11'
2832
-'unit_wo_grpc-3.12'
33+
-'unit_wo_grpc-3.13'
34+
-'unit_wo_grpc-3.14'
35+
-'unit_w_prerelease_deps-3.7'
36+
-'unit_w_prerelease_deps-3.8'
37+
-'unit_w_prerelease_deps-3.9'
38+
-'unit_w_prerelease_deps-3.10'
39+
-'unit_w_prerelease_deps-3.11'
40+
-'unit_w_prerelease_deps-3.12'
41+
-'unit_w_prerelease_deps-3.13'
42+
-'unit_w_prerelease_deps-3.14'
43+
-'unit_w_async_rest_extra-3.7'
44+
-'unit_w_async_rest_extra-3.8'
45+
-'unit_w_async_rest_extra-3.9'
46+
-'unit_w_async_rest_extra-3.10'
47+
-'unit_w_async_rest_extra-3.11'
48+
-'unit_w_async_rest_extra-3.12'
49+
-'unit_w_async_rest_extra-3.13'
50+
-'unit_w_async_rest_extra-3.14'
2951
-'cover'
3052
-'docs'
3153
-'docfx'

‎.github/workflows/unittest.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
-"3.11"
2424
-"3.12"
2525
-"3.13"
26+
-"3.14"
2627
exclude:
2728
-option:"_wo_grpc"
2829
python:3.7
@@ -37,6 +38,7 @@ jobs:
3738
uses:actions/setup-python@v5
3839
with:
3940
python-version:${{ matrix.python }}
41+
allow-prereleases:true
4042
-name:Install nox
4143
run:|
4244
python -m pip install --upgrade setuptools pip wheel

‎noxfile.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
# Black and flake8 clash on the syntax for ignoring flake8's F401 in this file.
2929
BLACK_EXCLUDES= ["--exclude","^/google/api_core/operations_v1/__init__.py"]
3030

31-
PYTHON_VERSIONS= ["3.7","3.8","3.9","3.10","3.11","3.12","3.13"]
31+
PYTHON_VERSIONS= ["3.7","3.8","3.9","3.10","3.11","3.12","3.13","3.14"]
3232

3333
DEFAULT_PYTHON_VERSION="3.10"
3434
CURRENT_DIRECTORY=pathlib.Path(__file__).parent.absolute()
@@ -95,8 +95,7 @@ def install_prerelease_dependencies(session, constraints_path):
9595
prerel_deps= [
9696
"google-auth",
9797
"googleapis-common-protos",
98-
# Exclude grpcio!=1.67.0rc1 which does not support python 3.13
99-
"grpcio!=1.67.0rc1",
98+
"grpcio",
10099
"grpcio-status",
101100
"proto-plus",
102101
"protobuf",

‎testing/constraints-3.14.txt

Whitespace-only changes.

‎tests/asyncio/test_operation_async.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ async def test_constructor():
8484
assertawaitfuture.running()
8585

8686

87+
@pytest.mark.asyncio
8788
deftest_metadata():
8889
expected_metadata=struct_pb2.Struct()
8990
future,_,_=make_operation_future(
@@ -176,6 +177,7 @@ async def test_unexpected_result(unused_sleep):
176177
assert"Unexpected state"in"{!r}".format(exception)
177178

178179

180+
@pytest.mark.asyncio
179181
deftest_from_gapic():
180182
operation_proto=make_operation_proto(done=True)
181183
operations_client=mock.create_autospec(

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp