8000 chore: bump dependencies manually (#1579) · googleapis/python-pubsub@e4b4f52 · GitHub
[go: up one dir, main page]

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

Commit e4b4f52

Browse files
authored
chore: bump dependencies manually (#1579)
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [x] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-pubsub/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [x] Ensure the tests and linter pass - [x] Code coverage does not decrease (if any source code was changed) - [x] Appropriate docs were updated (if necessary) Fi 8000 xes #1578 🦕
1 parent 6fd28b0 commit e4b4f52

File tree

7 files changed

+17
-18
lines changed

7 files changed

+17
-18
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout
11-
uses: actions/checkout@v5
11+
uses: actions/checkout@v6
1212
- name: Setup Python
1313
uses: actions/setup-python@v6
1414
with:

samples/snippets/publisher.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,10 +1046,7 @@ def detach_subscription(project_id: str, subscription_id: str) -> None:
10461046
args.gcp_service_account,
10471047
)
10481048
elif args.command == "create_smt":
1049-
create_topic_with_smt(
1050-
args.project_id,
1051-
args.topic_id,
1052-
)
1049+
create_topic_with_smt(args.project_id, f"{args.topic_id}-smt")
10531050
elif args.command == "update_kinesis_ingestion":
10541051
update_topic_type(
10551052
args.project_id,

samples/snippets/publisher_test.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,15 +316,16 @@ def test_create_topic_with_confluent_cloud_ingestion(
316316
def test_create_with_smt(
317317
publisher_client: pubsub_v1.PublisherClient, capsys: CaptureFixture[str]
318318
) -> None:
319+
smt_topic_name = f"{TOPIC_ID}-smt"
319320
# The scope of `topic_path` is limited to this function.
320-
topic_path = publisher_client.topic_path(PROJECT_ID, TOPIC_ID)
321+
topic_path = publisher_client.topic_path(PROJECT_ID, smt_topic_name)
321322

322323
try:
323324
publisher_client.delete_topic(request={"topic": topic_path})
324325
except NotFound:
325326
pass
326327

327-
publisher.create_topic_with_smt(PROJECT_ID, TOPIC_ID)
328+
publisher.create_topic_with_smt(PROJECT_ID, smt_topic_name)
328329

329330
out, _ = capsys.readouterr()
330331
assert f"Created topic: {topic_path} with SMT" in out
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
backoff==2.2.1
2-
pytest==8.4.2
2+
pytest==8.4.2; python_version <= '3.9'
3+
pytest==9.0.2; python_version > '3.9'
34
mock==5.2.0
45
flaky==3.8.1
5-
google-cloud-bigquery==3.38.0
6-
google-cloud-storage==3.4.0
6+
google-cloud-bigquery==3.40.0
7+
google-cloud-storage==3.9.0

samples/snippets/requirements.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
google-cloud-pubsub==2.31.1
2-
avro==1.12.0
1+
google-cloud-pubsub==2.34.0
2+
avro==1.12.1
33
protobuf==6.33.5
4-
avro==1.12.0
5-
opentelemetry-api==1.37.0
6-
opentelemetry-sdk==1.37.0
7-
opentelemetry-exporter-gcp-trace==1.9.0
4+
avro==1.12.1
5+
opentelemetry-api==1.39.1
6+
opentelemetry-sdk==1.39.1
7+
opentelemetry-exporter-gcp-trace==1.11.0

samples/snippets/subscriber.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1518,7 +1518,7 @@ def callback(message: pubsub_v1.subscriber.message.Message) -> None:
15181518
)
15191519
elif args.command == "create-with-smt":
15201520
create_subscription_with_smt(
1521-
args.project_id, args.topic_id, args.subscription_id
1521+
args.project_id, f"{args.topic_id}-smt", f"{args.subscription_id}-smt"
15221522
)
15231523

15241524
elif args.command == "delete":

samples/snippets/subscriber_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ def test_create_subscription_with_smt(
585585
capsys: CaptureFixture[str],
586586
) -> None:
587587
subscription_for_create_name = (
588-
f"subscription-test-subscription-for-create-with-smt-{PY_VERSION}-{UUID}"
588+
f"subscription-test-subscription-for-create-with-smt-{PY_VERSION}-{UUID}-smt"
589589
)
590590

591591
subscription_path = subscriber_client.subscription_path(

0 commit comments

Comments
 (0)
0