summaryrefslogtreecommitdiff
path: root/dev-python/kombu
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-07-10 12:25:06 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-07-10 12:25:06 +0100
commite810ac4a0e6af9f763f4433863042b34609075a7 (patch)
tree6fe0b3ff24f3b875be1564e273049c1e301d205b /dev-python/kombu
parentc218398bbbe70a616790cf146c28c1066b9284bf (diff)
gentoo auto-resync : 10:07:2024 - 12:25:06
Diffstat (limited to 'dev-python/kombu')
-rw-r--r--dev-python/kombu/Manifest3
-rw-r--r--dev-python/kombu/files/kombu-5.3.7-py313.patch28
-rw-r--r--dev-python/kombu/kombu-5.3.7.ebuild7
3 files changed, 36 insertions, 2 deletions
diff --git a/dev-python/kombu/Manifest b/dev-python/kombu/Manifest
index 4451232aee7b..1aa458bab23f 100644
--- a/dev-python/kombu/Manifest
+++ b/dev-python/kombu/Manifest
@@ -1,3 +1,4 @@
+AUX kombu-5.3.7-py313.patch 989 BLAKE2B 6bc17e8cd7b13cf922ebb17de3675904742b07b1a906cdbbe744f4ba1464c1a2427508372097f80260e967aa245659d4dcd3ed6426e35b9329bf3e5ef348bc29 SHA512 44b250249a2aee841ad1f24005dcb19fcce1dcb0ca36420c72ee7a8ec3162f862170070e6fd4fa5e31d8516f9381116ed71185c9b847110a02b2d0994658834c
DIST kombu-5.3.7.tar.gz 439344 BLAKE2B 9443cb7d9d03ca7ed49b1e2c5a413e5d5633ccaf8cb2b8545b4bd0a7a7699f7fc773f735e6b26abf582502f1dbf11b088c612d749f09cab99950e145e8ee82e0 SHA512 48104d61a7c38a211ec378f90aade09d682a99d4f8b3d18b4bce49b51c80be794ab4b012d2974893fbc630a37c52dad10fb57f8335238b3002a64e025a148ee2
-EBUILD kombu-5.3.7.ebuild 2224 BLAKE2B 830c82efaa983ef28e5d85b1c1556b697457e8bf1715bf89feb5152c6cc3ffed74391cd4f062841c0a0b1ee0f8bc62701a99e521c8f579a14377c5f7e8402459 SHA512 7ca922fedd230fc1677d7de7d74f7406f6a79b94842d77e7e66098121f11af8ae3e0f553e781ae42942e50b9aea3b5079fb4ac30303cf2fad3cb8d319746631d
+EBUILD kombu-5.3.7.ebuild 2314 BLAKE2B 84d2e81a2f44d503c52f653b55b3826e969d3bb5fb9f9a1b5e677e8fcf0e64e8dd64b3a96f279cf518df12ae48218f35206f95fe6be2fd1cc67084e1cb20b625 SHA512 69af381f0b55f11767d30e80a0a2fc13104d16bfb18fbf5bb844c710b8e6d70172ea2de4132d206b78135b1edd1a145e1c21b7daa89e6b723dcaf6acdd6c1886
MISC metadata.xml 385 BLAKE2B 174062695338558e56601db5b6ced5eff3f6e22c1b840f1fe3d9046d6bc5f810fe1d3c73a3e7f009dae9129050dcb6824aca48ca86c006ecbd53f069884e60ef SHA512 eba10417212f73894b7bf749962c055c44ca10afbbff80f57e36f74edd016097c4854625a94e5a3522b3adf638c2c150e357f163f1617a79dd7fb54c234a1435
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
diff --git a/dev-python/kombu/kombu-5.3.7.ebuild b/dev-python/kombu/kombu-5.3.7.ebuild
index fc9d24aa3243..8d4a9966b9e7 100644
--- a/dev-python/kombu/kombu-5.3.7.ebuild
+++ b/dev-python/kombu/kombu-5.3.7.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1 optfeature pypi
@@ -45,6 +45,11 @@ distutils_enable_tests pytest
distutils_enable_sphinx docs \
dev-python/sphinx-celery
+PATCHES=(
+ # https://github.com/celery/kombu/pull/2052
+ "${FILESDIR}/${P}-py313.patch"
+)
+
python_test() {
local EPYTEST_DESELECT=(
# TODO