diff options
Diffstat (limited to 'dev-python/kombu/files/kombu-5.3.7-py313.patch')
-rw-r--r-- | dev-python/kombu/files/kombu-5.3.7-py313.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-python/kombu/files/kombu-5.3.7-py313.patch b/dev-python/kombu/files/kombu-5.3.7-py313.patch new file mode 100644 index 000000000000..7a359db0e022 --- /dev/null +++ b/dev-python/kombu/files/kombu-5.3.7-py313.patch @@ -0,0 +1,28 @@ +From d26e891025f55ecbdc577fcbd4bc1f19c9e020d9 Mon Sep 17 00:00:00 2001 +From: Roman Inflianskas <rominf@pm.me> +Date: Fri, 5 Jul 2024 21:44:58 +0300 +Subject: [PATCH] Add support for Python 3.13 + +Fixes https://github.com/celery/kombu/issues/2051. +--- + .github/workflows/ci.yaml | 16 ++++++++++++++-- + kombu/transport/redis.py | 2 +- + requirements/extras/confluentkafka.txt | 2 +- + requirements/extras/zstd.txt | 2 +- + t/unit/transport/test_redis.py | 15 ++++++++++----- + tox.ini | 18 ++++++++++-------- + 6 files changed, 37 insertions(+), 18 deletions(-) + +diff --git a/kombu/transport/redis.py b/kombu/transport/redis.py +index 515d6f7d7..29909dbe5 100644 +--- a/kombu/transport/redis.py ++++ b/kombu/transport/redis.py +@@ -89,7 +89,7 @@ + + + logger = get_logger('kombu.transport.redis') +-crit, warn = logger.critical, logger.warn ++crit, warn = logger.critical, logger.warning + + DEFAULT_PORT = 6379 + DEFAULT_DB = 0 |