<pre style='margin:0'>
Leo Singer (lpsinger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/07eef08bc9595e1734ab4e85a74c647dfda4e9e7">https://github.com/macports/macports-ports/commit/07eef08bc9595e1734ab4e85a74c647dfda4e9e7</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 07eef08 py-celery: update to 4.3.0
</span>07eef08 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 07eef08bc9595e1734ab4e85a74c647dfda4e9e7
</span>Author: Leo Singer <aronnax@macports.org>
AuthorDate: Mon May 20 12:23:54 2019 -0400
<span style='display:block; white-space:pre;color:#404040;'> py-celery: update to 4.3.0
</span>---
python/py-celery/Portfile | 13 ++---
python/py-celery/files/patch-async.diff | 90 ---------------------------------
2 files changed, 4 insertions(+), 99 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-celery/Portfile b/python/py-celery/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ebf3c92..7aa3da8 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-celery/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-celery/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup python 1.0
</span> PortGroup select 1.0
name py-celery
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 4.2.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 4.3.0
</span> revision 0
categories-append devel
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,16 +26,11 @@ master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
</span>
distname ${python.rootname}-${version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 36d9697dbc2c312ed0ae65b43e121db1c4980afd \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 77dab4677e24dc654d42dfbdfed65fa760455b6bb563a0877ecc35f4cfcfc678 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 1364075
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 6606e0b65d1f711802867400c03b28ec6b9f41d8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 4c4532aa683f170f40bd76f928b70bc06ff171a959e06e71bf35f2f9d6031ef9 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1398430
</span>
if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # upstream patch that can be deleted after the next version update
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles-append patch-async.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- post-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- move ${worksrcpath}/celery/backends/async.py ${worksrcpath}/celery/backends/asynchronous.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span> # celery depends on pkg_resources from setuptools
depends_lib-append port:py${python.version}-setuptools \
port:py${python.version}-kombu \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-celery/files/patch-async.diff b/python/py-celery/files/patch-async.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0e1aa08..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-celery/files/patch-async.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,90 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git celery/backends/redis.py celery/backends/redis.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 012db0f36e..6c311d8273 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- celery/backends/redis.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ celery/backends/redis.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -19,7 +19,8 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- from celery.utils.log import get_logger
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- from celery.utils.time import humanize_seconds
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--from . import async, base
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+from .asynchronous import AsyncBackendMixin, BaseResultConsumer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+from .base import BaseKeyValueStoreBackend
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- try:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- from urllib.parse import unquote
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -74,7 +75,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- logger = get_logger(__name__)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--class ResultConsumer(async.BaseResultConsumer):
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+class ResultConsumer(BaseResultConsumer):
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- _pubsub = None
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- def __init__(self, *args, **kwargs):
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -138,7 +139,7 @@ def cancel_for(self, task_id):
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- self._pubsub.unsubscribe(key)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--class RedisBackend(base.BaseKeyValueStoreBackend, async.AsyncBackendMixin):
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+class RedisBackend(BaseKeyValueStoreBackend, AsyncBackendMixin):
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- """Redis task result store."""
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ResultConsumer = ResultConsumer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git celery/backends/rpc.py celery/backends/rpc.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 6e31cef75e..5e6e407ce6 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- celery/backends/rpc.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ celery/backends/rpc.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -17,7 +17,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- from celery.five import items, range
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- from . import base
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--from .async import AsyncBackendMixin, BaseResultConsumer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+from .asynchronous import AsyncBackendMixin, BaseResultConsumer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- __all__ = ('BacklogLimitExceeded', 'RPCBackend')
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git docs/internals/reference/celery.backends.async.rst docs/internals/reference/celery.backends.asynchronous.rst
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-similarity index 52%
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-rename from docs/internals/reference/celery.backends.async.rst
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-rename to docs/internals/reference/celery.backends.asynchronous.rst
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 03d10feb33..fef524294e 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- docs/internals/reference/celery.backends.async.rst
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ docs/internals/reference/celery.backends.asynchronous.rst
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1,12 +1,12 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- =====================================
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- ``celery.backends.async``
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ ``celery.backends.asynchronous``
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- =====================================
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- .. contents::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- :local:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--.. currentmodule:: celery.backends.async
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+.. currentmodule:: celery.backends.asynchronous
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--.. automodule:: celery.backends.async
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+.. automodule:: celery.backends.asynchronous
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- :members:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- :undoc-members:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git t/unit/backends/test_redis.py t/unit/backends/test_redis.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 166aa0dc34..6a7dbbd501 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- t/unit/backends/test_redis.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ t/unit/backends/test_redis.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -146,7 +146,7 @@ class _RedisBackend(RedisBackend):
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- def get_consumer(self):
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return self.get_backend().result_consumer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- @patch('celery.backends.async.BaseResultConsumer.on_after_fork')
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ @patch('celery.backends.asynchronous.BaseResultConsumer.on_after_fork')
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- def test_on_after_fork(self, parent_method):
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- consumer = self.get_consumer()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- consumer.start('none')
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -172,7 +172,7 @@ def test_on_after_fork(self, parent_method):
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- parent_method.assert_called_once()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- @patch('celery.backends.redis.ResultConsumer.cancel_for')
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- @patch('celery.backends.async.BaseResultConsumer.on_state_change')
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ @patch('celery.backends.asynchronous.BaseResultConsumer.on_state_change')
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- def test_on_state_change(self, parent_method, cancel_for):
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- consumer = self.get_consumer()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- meta = {'task_id': 'testing', 'status': states.SUCCESS}
</span></pre><pre style='margin:0'>
</pre>