Accepting request 736029 from devel:languages:python
- Update to 4.6.5: - Revert _lookup api and correct redis implemetnation. - Major overhaul of redis test cases by adding more full featured fakeredis module. - Add more test cases to boost coverage of kombu redis transport. - Refactor the producer consumer test cases to be based on original mocks and be passing - Fix lingering line length issue in test. - Sanitise url when include_password is false - Pinned pycurl to 7.43.0.2 as it is the latest build with wheels provided - Bump py-amqp to 2.5.2 - Rebase python38.patch OBS-URL: https://build.opensuse.org/request/show/736029 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kombu?expand=0&rev=63
This commit is contained in:
commit
f4fe1c583b
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e5f0312dfb9011bebbf528ccaf118a6c2b5c3b8244451f08381fb23e7715809b
|
|
||||||
size 428946
|
|
3
kombu-4.6.5.tar.gz
Normal file
3
kombu-4.6.5.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c9078124ce2616b29cf6607f0ac3db894c59154252dee6392cdbbe15e5c4b566
|
||||||
|
size 431601
|
@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 8 08:39:47 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update to 4.6.5:
|
||||||
|
- Revert _lookup api and correct redis implemetnation.
|
||||||
|
- Major overhaul of redis test cases by adding more full featured fakeredis module.
|
||||||
|
- Add more test cases to boost coverage of kombu redis transport.
|
||||||
|
- Refactor the producer consumer test cases to be based on original mocks and be passing
|
||||||
|
- Fix lingering line length issue in test.
|
||||||
|
- Sanitise url when include_password is false
|
||||||
|
- Pinned pycurl to 7.43.0.2 as it is the latest build with wheels provided
|
||||||
|
- Bump py-amqp to 2.5.2
|
||||||
|
- Rebase python38.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 11 13:09:23 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
Wed Sep 11 13:09:23 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@ -18,38 +18,38 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-kombu
|
Name: python-kombu
|
||||||
Version: 4.6.4
|
Version: 4.6.5
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: AMQP Messaging Framework for Python
|
Summary: AMQP Messaging Framework for Python
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/celery/kombu
|
URL: https://github.com/celery/kombu
|
||||||
Source: https://files.pythonhosted.org/packages/source/k/kombu/kombu-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/k/kombu/kombu-%{version}.tar.gz
|
||||||
Patch0: python38.patch
|
Patch0: python38.patch
|
||||||
BuildRequires: %{python_module PyYAML}
|
BuildRequires: %{python_module Brotli >= 1.0.0}
|
||||||
|
BuildRequires: %{python_module PyYAML >= 3.10}
|
||||||
BuildRequires: %{python_module Pyro4}
|
BuildRequires: %{python_module Pyro4}
|
||||||
|
BuildRequires: %{python_module SQLAlchemy}
|
||||||
BuildRequires: %{python_module amqp >= 2.5.1}
|
BuildRequires: %{python_module amqp >= 2.5.1}
|
||||||
BuildRequires: %{python_module boto3 >= 1.4.4}
|
BuildRequires: %{python_module boto3 >= 1.4.4}
|
||||||
BuildRequires: %{python_module case >= 1.5.2}
|
BuildRequires: %{python_module case >= 1.5.2}
|
||||||
|
BuildRequires: %{python_module fakeredis}
|
||||||
BuildRequires: %{python_module importlib-metadata >= 0.18}
|
BuildRequires: %{python_module importlib-metadata >= 0.18}
|
||||||
BuildRequires: %{python_module msgpack > 0.5.2}
|
BuildRequires: %{python_module msgpack}
|
||||||
|
BuildRequires: %{python_module pycurl >= 7.43.0.2}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module pytz}
|
BuildRequires: %{python_module pytz}
|
||||||
BuildRequires: %{python_module redis >= 3.2.0}
|
BuildRequires: %{python_module redis >= 3.2.0}
|
||||||
BuildRequires: %{python_module setuptools >= 20.6.7}
|
BuildRequires: %{python_module setuptools >= 20.6.7}
|
||||||
|
BuildRequires: %{python_module zstandard}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-amqp >= 2.5.1
|
Requires: python-amqp >= 2.5.1
|
||||||
Requires: python-importlib-metadata >= 0.18
|
Requires: python-importlib-metadata >= 0.18
|
||||||
Requires: python-setuptools
|
Requires: python-setuptools
|
||||||
|
Recommends: python-PyYAML >= 3.10
|
||||||
|
Recommends: python-Brotli >= 1.0.0
|
||||||
Obsoletes: python-carrot
|
Obsoletes: python-carrot
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if 0%{?suse_version}
|
|
||||||
Suggests: couchdb
|
|
||||||
Suggests: mongodb
|
|
||||||
Suggests: python-Pyro4
|
|
||||||
Suggests: rabbitmq-server
|
|
||||||
%endif
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -67,6 +67,8 @@ provide proven and tested solutions to common messaging problems.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n kombu-%{version}
|
%setup -q -n kombu-%{version}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
# pinned dependencies are bad
|
||||||
|
sed -i -e 's:==:>=:g' requirements/*.txt requirements/extras/*.txt
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
@ -9,11 +9,11 @@ Subject: [PATCH] Use importlib.metadata from the standard library on Python
|
|||||||
requirements/default.txt | 2 +-
|
requirements/default.txt | 2 +-
|
||||||
2 files changed, 6 insertions(+), 2 deletions(-)
|
2 files changed, 6 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
diff --git a/kombu/utils/compat.py b/kombu/utils/compat.py
|
Index: kombu-4.6.5/kombu/utils/compat.py
|
||||||
index c5f0bf118..a741c4350 100644
|
===================================================================
|
||||||
--- a/kombu/utils/compat.py
|
--- kombu-4.6.5.orig/kombu/utils/compat.py
|
||||||
+++ b/kombu/utils/compat.py
|
+++ kombu-4.6.5/kombu/utils/compat.py
|
||||||
@@ -7,7 +7,11 @@
|
@@ -7,7 +7,11 @@ import sys
|
||||||
from functools import wraps
|
from functools import wraps
|
||||||
|
|
||||||
from contextlib import contextmanager
|
from contextlib import contextmanager
|
||||||
@ -26,11 +26,11 @@ index c5f0bf118..a741c4350 100644
|
|||||||
|
|
||||||
from kombu.five import reraise
|
from kombu.five import reraise
|
||||||
|
|
||||||
diff --git a/requirements/default.txt b/requirements/default.txt
|
Index: kombu-4.6.5/requirements/default.txt
|
||||||
index 00e57cc09..e3ec1c894 100644
|
===================================================================
|
||||||
--- a/requirements/default.txt
|
--- kombu-4.6.5.orig/requirements/default.txt
|
||||||
+++ b/requirements/default.txt
|
+++ kombu-4.6.5/requirements/default.txt
|
||||||
@@ -1,2 +1,2 @@
|
@@ -1,2 +1,2 @@
|
||||||
amqp>=2.5.1,<3.0
|
amqp==2.5.1
|
||||||
-importlib-metadata>=0.18
|
-importlib-metadata>=0.18
|
||||||
+importlib-metadata>=0.18; python_version<"3.8"
|
+importlib-metadata>=0.18; python_version<"3.8"
|
||||||
|
Loading…
Reference in New Issue
Block a user