Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit d15f5fa

Browse files
authored
tests: update repo location for core deps (#2566)
1 parent 9cfa78b commit d15f5fa

File tree

9 files changed

+21
-21
lines changed

9 files changed

+21
-21
lines changed

.github/workflows/tests.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -446,15 +446,15 @@ jobs:
446446
- name: Install nox.
447447
run: |
448448
python -m pip install nox
449-
- name: Run the prerelease_deps nox session
449+
- name: Run the prerelease_deps and core_deps_from_source nox sessions
450450
# Exclude testing for asset which requires dependency google-cloud-org-policy
451451
# in order to run unit tests
452452
# See https://github.com/googleapis/gapic-generator-python/issues/1806
453453
run: |
454-
nox -f tests/integration/goldens/credentials/noxfile.py -s prerelease_deps
455-
nox -f tests/integration/goldens/eventarc/noxfile.py -s prerelease_deps
456-
nox -f tests/integration/goldens/logging/noxfile.py -s prerelease_deps
457-
nox -f tests/integration/goldens/redis/noxfile.py -s prerelease_deps
454+
nox -f tests/integration/goldens/credentials/noxfile.py -s prerelease_deps core_deps_from_source
455+
nox -f tests/integration/goldens/eventarc/noxfile.py -s prerelease_deps core_deps_from_source
456+
nox -f tests/integration/goldens/logging/noxfile.py -s prerelease_deps core_deps_from_source
457+
nox -f tests/integration/goldens/redis/noxfile.py -s prerelease_deps core_deps_from_source
458458
lint:
459459
runs-on: ubuntu-latest
460460
steps:

gapic/templates/noxfile.py.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -610,10 +610,10 @@ def core_deps_from_source(session, protobuf_implementation):
610610
# the `prerel_deps` list in the `prerelease_deps` nox session should also be updated.
611611
core_dependencies_from_source = [
612612
"googleapis-common-protos @ git+https://github.com/googleapis/google-cloud-python#egg=googleapis-common-protos&subdirectory=packages/googleapis-common-protos",
613-
"google-api-core @ git+https://github.com/googleapis/python-api-core.git",
613+
"google-api-core @ git+https://github.com/googleapis/google-cloud-python#egg=google-api-core&subdirectory=packages/google-api-core",
614614
"google-auth @ git+https://github.com/googleapis/google-auth-library-python.git",
615615
"grpc-google-iam-v1 @ git+https://github.com/googleapis/google-cloud-python#egg=grpc-google-iam-v1&subdirectory=packages/grpc-google-iam-v1",
616-
"proto-plus @ git+https://github.com/googleapis/proto-plus-python.git",
616+
"proto-plus @ git+https://github.com/googleapis/google-cloud-python#egg=proto-plus&subdirectory=packages/proto-plus",
617617
]
618618

619619
for dep in core_dependencies_from_source:

tests/integration/goldens/asset/noxfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,10 +603,10 @@ def core_deps_from_source(session, protobuf_implementation):
603603
# the `prerel_deps` list in the `prerelease_deps` nox session should also be updated.
604604
core_dependencies_from_source = [
605605
"googleapis-common-protos @ git+https://github.com/googleapis/google-cloud-python#egg=googleapis-common-protos&subdirectory=packages/googleapis-common-protos",
606-
"google-api-core @ git+https://github.com/googleapis/python-api-core.git",
606+
"google-api-core @ git+https://github.com/googleapis/google-cloud-python#egg=google-api-core&subdirectory=packages/google-api-core",
607607
"google-auth @ git+https://github.com/googleapis/google-auth-library-python.git",
608608
"grpc-google-iam-v1 @ git+https://github.com/googleapis/google-cloud-python#egg=grpc-google-iam-v1&subdirectory=packages/grpc-google-iam-v1",
609-
"proto-plus @ git+https://github.com/googleapis/proto-plus-python.git",
609+
"proto-plus @ git+https://github.com/googleapis/google-cloud-python#egg=proto-plus&subdirectory=packages/proto-plus",
610610
]
611611

612612
for dep in core_dependencies_from_source:

tests/integration/goldens/credentials/noxfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,10 +603,10 @@ def core_deps_from_source(session, protobuf_implementation):
603603
# the `prerel_deps` list in the `prerelease_deps` nox session should also be updated.
604604
core_dependencies_from_source = [
605605
"googleapis-common-protos @ git+https://github.com/googleapis/google-cloud-python#egg=googleapis-common-protos&subdirectory=packages/googleapis-common-protos",
606-
"google-api-core @ git+https://github.com/googleapis/python-api-core.git",
606+
"google-api-core @ git+https://github.com/googleapis/google-cloud-python#egg=google-api-core&subdirectory=packages/google-api-core",
607607
"google-auth @ git+https://github.com/googleapis/google-auth-library-python.git",
608608
"grpc-google-iam-v1 @ git+https://github.com/googleapis/google-cloud-python#egg=grpc-google-iam-v1&subdirectory=packages/grpc-google-iam-v1",
609-
"proto-plus @ git+https://github.com/googleapis/proto-plus-python.git",
609+
"proto-plus @ git+https://github.com/googleapis/google-cloud-python#egg=proto-plus&subdirectory=packages/proto-plus",
610610
]
611611

612612
for dep in core_dependencies_from_source:

tests/integration/goldens/eventarc/noxfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,10 +603,10 @@ def core_deps_from_source(session, protobuf_implementation):
603603
# the `prerel_deps` list in the `prerelease_deps` nox session should also be updated.
604604
core_dependencies_from_source = [
605605
"googleapis-common-protos @ git+https://github.com/googleapis/google-cloud-python#egg=googleapis-common-protos&subdirectory=packages/googleapis-common-protos",
606-
"google-api-core @ git+https://github.com/googleapis/python-api-core.git",
606+
"google-api-core @ git+https://github.com/googleapis/google-cloud-python#egg=google-api-core&subdirectory=packages/google-api-core",
607607
"google-auth @ git+https://github.com/googleapis/google-auth-library-python.git",
608608
"grpc-google-iam-v1 @ git+https://github.com/googleapis/google-cloud-python#egg=grpc-google-iam-v1&subdirectory=packages/grpc-google-iam-v1",
609-
"proto-plus @ git+https://github.com/googleapis/proto-plus-python.git",
609+
"proto-plus @ git+https://github.com/googleapis/google-cloud-python#egg=proto-plus&subdirectory=packages/proto-plus",
610610
]
611611

612612
for dep in core_dependencies_from_source:

tests/integration/goldens/logging/noxfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,10 +603,10 @@ def core_deps_from_source(session, protobuf_implementation):
603603
# the `prerel_deps` list in the `prerelease_deps` nox session should also be updated.
604604
core_dependencies_from_source = [
605605
"googleapis-common-protos @ git+https://github.com/googleapis/google-cloud-python#egg=googleapis-common-protos&subdirectory=packages/googleapis-common-protos",
606-
"google-api-core @ git+https://github.com/googleapis/python-api-core.git",
606+
"google-api-core @ git+https://github.com/googleapis/google-cloud-python#egg=google-api-core&subdirectory=packages/google-api-core",
607607
"google-auth @ git+https://github.com/googleapis/google-auth-library-python.git",
608608
"grpc-google-iam-v1 @ git+https://github.com/googleapis/google-cloud-python#egg=grpc-google-iam-v1&subdirectory=packages/grpc-google-iam-v1",
609-
"proto-plus @ git+https://github.com/googleapis/proto-plus-python.git",
609+
"proto-plus @ git+https://github.com/googleapis/google-cloud-python#egg=proto-plus&subdirectory=packages/proto-plus",
610610
]
611611

612612
for dep in core_dependencies_from_source:

tests/integration/goldens/logging_internal/noxfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,10 +603,10 @@ def core_deps_from_source(session, protobuf_implementation):
603603
# the `prerel_deps` list in the `prerelease_deps` nox session should also be updated.
604604
core_dependencies_from_source = [
605605
"googleapis-common-protos @ git+https://github.com/googleapis/google-cloud-python#egg=googleapis-common-protos&subdirectory=packages/googleapis-common-protos",
606-
"google-api-core @ git+https://github.com/googleapis/python-api-core.git",
606+
"google-api-core @ git+https://github.com/googleapis/google-cloud-python#egg=google-api-core&subdirectory=packages/google-api-core",
607607
"google-auth @ git+https://github.com/googleapis/google-auth-library-python.git",
608608
"grpc-google-iam-v1 @ git+https://github.com/googleapis/google-cloud-python#egg=grpc-google-iam-v1&subdirectory=packages/grpc-google-iam-v1",
609-
"proto-plus @ git+https://github.com/googleapis/proto-plus-python.git",
609+
"proto-plus @ git+https://github.com/googleapis/google-cloud-python#egg=proto-plus&subdirectory=packages/proto-plus",
610610
]
611611

612612
for dep in core_dependencies_from_source:

tests/integration/goldens/redis/noxfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,10 +603,10 @@ def core_deps_from_source(session, protobuf_implementation):
603603
# the `prerel_deps` list in the `prerelease_deps` nox session should also be updated.
604604
core_dependencies_from_source = [
605605
"googleapis-common-protos @ git+https://github.com/googleapis/google-cloud-python#egg=googleapis-common-protos&subdirectory=packages/googleapis-common-protos",
606-
"google-api-core @ git+https://github.com/googleapis/python-api-core.git",
606+
"google-api-core @ git+https://github.com/googleapis/google-cloud-python#egg=google-api-core&subdirectory=packages/google-api-core",
607607
"google-auth @ git+https://github.com/googleapis/google-auth-library-python.git",
608608
"grpc-google-iam-v1 @ git+https://github.com/googleapis/google-cloud-python#egg=grpc-google-iam-v1&subdirectory=packages/grpc-google-iam-v1",
609-
"proto-plus @ git+https://github.com/googleapis/proto-plus-python.git",
609+
"proto-plus @ git+https://github.com/googleapis/google-cloud-python#egg=proto-plus&subdirectory=packages/proto-plus",
610610
]
611611

612612
for dep in core_dependencies_from_source:

tests/integration/goldens/redis_selective/noxfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,10 +603,10 @@ def core_deps_from_source(session, protobuf_implementation):
603603
# the `prerel_deps` list in the `prerelease_deps` nox session should also be updated.
604604
core_dependencies_from_source = [
605605
"googleapis-common-protos @ git+https://github.com/googleapis/google-cloud-python#egg=googleapis-common-protos&subdirectory=packages/googleapis-common-protos",
606-
"google-api-core @ git+https://github.com/googleapis/python-api-core.git",
606+
"google-api-core @ git+https://github.com/googleapis/google-cloud-python#egg=google-api-core&subdirectory=packages/google-api-core",
607607
"google-auth @ git+https://github.com/googleapis/google-auth-library-python.git",
608608
"grpc-google-iam-v1 @ git+https://github.com/googleapis/google-cloud-python#egg=grpc-google-iam-v1&subdirectory=packages/grpc-google-iam-v1",
609-
"proto-plus @ git+https://github.com/googleapis/proto-plus-python.git",
609+
"proto-plus @ git+https://github.com/googleapis/google-cloud-python#egg=proto-plus&subdirectory=packages/proto-plus",
610610
]
611611

612612
for dep in core_dependencies_from_source:

0 commit comments

Comments
 (0)