public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/celery/files/, dev-python/celery/
Date: Fri, 17 Mar 2017 10:25:15 +0000 (UTC)	[thread overview]
Message-ID: <1489746308.9285605ae83b90ebf1bb0f4b3546d3b68c212b46.zmedico@gentoo> (raw)

commit:     9285605ae83b90ebf1bb0f4b3546d3b68c212b46
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 17 09:19:38 2017 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> 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 <giwrgos.psarakis@gmail.com>
+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


             reply	other threads:[~2017-03-17 10:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-17 10:25 Zac Medico [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-09-15  2:00 [gentoo-commits] repo/gentoo:master commit in: dev-python/celery/files/, dev-python/celery/ Virgil Dupras
2015-10-27  9:04 Justin Lecher
2015-08-20  9:12 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1489746308.9285605ae83b90ebf1bb0f4b3546d3b68c212b46.zmedico@gentoo \
    --to=zmedico@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox