Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,13 @@ jobs:
include:
- python-version: pypy3.10
toxenv: 'py-amqp'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does this part have to be removed? Can you explain please?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes , I think pypy3.10 is required here for make certain workloads faster. I will undo the change .

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
Expand Down
2 changes: 1 addition & 1 deletion requirements/extras/gcpubsub.txt
Original file line number Diff line number Diff line change
@@ -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
5 changes: 3 additions & 2 deletions t/unit/transport/test_gcpubsub.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down