diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 3f5dea246..11833807a 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -92,13 +92,13 @@ jobs: include: - python-version: pypy3.10 toxenv: 'py-amqp' - experimental: true + experimental: false - python-version: pypy3.10 toxenv: 'py-redis' - experimental: true + experimental: false - python-version: pypy3.10 toxenv: 'py-mongodb' - experimental: true + experimental: false # - python-version: pypy3.10 # toxenv: 'py-kafka' # experimental: true diff --git a/requirements/extras/gcpubsub.txt b/requirements/extras/gcpubsub.txt index 9d8de22b6..bd31b5d04 100644 --- a/requirements/extras/gcpubsub.txt +++ b/requirements/extras/gcpubsub.txt @@ -1,4 +1,4 @@ google-cloud-pubsub>=2.18.4 google-cloud-monitoring>=2.16.0 -grpcio==1.67.0 +grpcio==1.68.1 protobuf==5.29.5 diff --git a/t/unit/transport/test_gcpubsub.py b/t/unit/transport/test_gcpubsub.py index c617a329e..6ebcce543 100644 --- a/t/unit/transport/test_gcpubsub.py +++ b/t/unit/transport/test_gcpubsub.py @@ -285,12 +285,13 @@ def test_create_subscription(self, channel): channel.subscriber.create_subscription.assert_called_once() def test_create_subscription_protobuf_compat(self): + from datetime import timedelta request = { 'name': 'projects/my_project/subscriptions/kombu-1111-2222', 'topic': 'projects/jether-fox/topics/reply.celery.pidbox', 'ack_deadline_seconds': 240, - 'expiration_policy': {'ttl': '86400s'}, - 'message_retention_duration': '86400s', + 'expiration_policy': {'ttl': timedelta(seconds=86400)}, + 'message_retention_duration': timedelta(seconds=86400), 'filter': 'attributes.routing_key="1111-2222"', } Subscription(request)