From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C0BD1139694 for ; Fri, 17 Mar 2017 10:25:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1F02721C054; Fri, 17 Mar 2017 10:25:18 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F20B221C054 for ; Fri, 17 Mar 2017 10:25:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8123334112A for ; Fri, 17 Mar 2017 10:25:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 229EC6B39 for ; Fri, 17 Mar 2017 10:25:15 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1489746308.9285605ae83b90ebf1bb0f4b3546d3b68c212b46.zmedico@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/celery/files/, dev-python/celery/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/celery/celery-4.0.2.ebuild dev-python/celery/files/celery-4.0.2-log-endless-loop.patch X-VCS-Directories: dev-python/celery/ dev-python/celery/files/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 9285605ae83b90ebf1bb0f4b3546d3b68c212b46 X-VCS-Branch: master Date: Fri, 17 Mar 2017 10:25:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: abdc0381-6de0-415c-a3d9-81d59f6360e7 X-Archives-Hash: 28ed551a9a00e978761fd7cbb2fdea5a commit: 9285605ae83b90ebf1bb0f4b3546d3b68c212b46 Author: Zac Medico gentoo org> AuthorDate: Fri Mar 17 09:19:38 2017 +0000 Commit: Zac Medico gentoo org> CommitDate: Fri Mar 17 10:25:08 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9285605a dev-python/celery: Add python3_6 to PYTHON_COMPAT Package-Manager: Portage-2.3.5, Repoman-2.3.2 dev-python/celery/celery-4.0.2.ebuild | 8 ++++++-- .../files/celery-4.0.2-log-endless-loop.patch | 22 ++++++++++++++++++++++ 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/dev-python/celery/celery-4.0.2.ebuild b/dev-python/celery/celery-4.0.2.ebuild index ba176e4ff47..83b0e06fec0 100644 --- a/dev-python/celery/celery-4.0.2.ebuild +++ b/dev-python/celery/celery-4.0.2.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{4,5} ) +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) inherit distutils-r1 bash-completion-r1 @@ -49,12 +49,16 @@ DEPEND=" >=dev-python/sphinx_celery-1.3[${PYTHON_USEDEP}] dev-python/jinja[${PYTHON_USEDEP}] dev-python/sqlalchemy[${PYTHON_USEDEP}] - dev-python/typing[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/typing[${PYTHON_USEDEP}]' python2_7 python3_4) )" # testsuite needs it own source DISTUTILS_IN_SOURCE_BUILD=1 +PATCHES=( + "${FILESDIR}"/${P}-log-endless-loop.patch + ) + python_compile_all() { if use doc; then mkdir docs/.build || die diff --git a/dev-python/celery/files/celery-4.0.2-log-endless-loop.patch b/dev-python/celery/files/celery-4.0.2-log-endless-loop.patch new file mode 100644 index 00000000000..bf9396e45a3 --- /dev/null +++ b/dev-python/celery/files/celery-4.0.2-log-endless-loop.patch @@ -0,0 +1,22 @@ +From 9c950b47eca2b4e93fd2fe52cf80f158e6cf97ad Mon Sep 17 00:00:00 2001 +From: George Psarakis +Date: Mon, 23 Jan 2017 11:49:38 +0200 +Subject: [PATCH] AWS DynamoDB result backend (#3736) + +* Fix endless loop in logger_isa (Python 3.6) + +https://github.com/celery/celery/pull/3736#issuecomment-274155454 + +diff --git a/celery/utils/log.py b/celery/utils/log.py +index 2fb15e6..00df476 100644 +--- a/celery/utils/log.py ++++ b/celery/utils/log.py +@@ -82,7 +82,7 @@ def logger_isa(l, p, max=1000): + else: + if this in seen: + raise RuntimeError( +- 'Logger {0!r} parents recursive'.format(l), ++ 'Logger {0!r} parents recursive'.format(l.name), + ) + seen.add(this) + this = this.parent