From 7afdd775ae12479b005aadfee91476eb2e9ca81bc5d0e5af15096280be912439 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 6 Mar 2019 10:17:22 +0000 Subject: [PATCH] - Update to 4.75: * include LICENSE file in distribution * avoid decode error when dealing with memoryview annotations * serpent 1.27 required to avoid regression in previous version * fixed marshal serializer problem that prevented it to even call register() in the name server. * msgpack, json and marshal serializers now understand how to serialize array.array the same way serpent already did * fixed distributed-mandelbrot example to actually run multiple concurrent calculations. * missing API method doc added on NameServer.count() OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pyro4?expand=0&rev=9 --- Pyro4-4.72.tar.gz | 3 --- Pyro4-4.75.tar.gz | 3 +++ python-Pyro4.changes | 12 ++++++++++++ python-Pyro4.spec | 40 +++++++++++++++++++++------------------- 4 files changed, 36 insertions(+), 22 deletions(-) delete mode 100644 Pyro4-4.72.tar.gz create mode 100644 Pyro4-4.75.tar.gz diff --git a/Pyro4-4.72.tar.gz b/Pyro4-4.72.tar.gz deleted file mode 100644 index 7af06dd..0000000 --- a/Pyro4-4.72.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2766b53db49f70b0d047fa6871aeb47484ba7e50cf53cfa37d26f87742c0b6a8 -size 471352 diff --git a/Pyro4-4.75.tar.gz b/Pyro4-4.75.tar.gz new file mode 100644 index 0000000..4235373 --- /dev/null +++ b/Pyro4-4.75.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3897c0254046d4cb412a4d1a8f2f9c2c1c1ae643a24db07d0abdb51acdb8d7b5 +size 470592 diff --git a/python-Pyro4.changes b/python-Pyro4.changes index 29a4a51..ff0c1b3 100644 --- a/python-Pyro4.changes +++ b/python-Pyro4.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Wed Mar 6 09:29:20 UTC 2019 - Tomáš Chvátal + +- Update to 4.75: + * include LICENSE file in distribution + * avoid decode error when dealing with memoryview annotations + * serpent 1.27 required to avoid regression in previous version + * fixed marshal serializer problem that prevented it to even call register() in the name server. + * msgpack, json and marshal serializers now understand how to serialize array.array the same way serpent already did + * fixed distributed-mandelbrot example to actually run multiple concurrent calculations. + * missing API method doc added on NameServer.count() + ------------------------------------------------------------------- Tue Dec 4 12:52:46 UTC 2018 - Matej Cepl diff --git a/python-Pyro4.spec b/python-Pyro4.spec index 835d672..d76ba91 100644 --- a/python-Pyro4.spec +++ b/python-Pyro4.spec @@ -1,7 +1,7 @@ # # spec file for package python-Pyro4 # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,36 +18,36 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Pyro4 -Version: 4.72 +Version: 4.75 Release: 0 Summary: Distributed object middleware for Python (RPC) License: MIT Group: Development/Languages/Python -Url: https://github.com/irmen/Pyro4 +URL: https://github.com/irmen/Pyro4 Source: https://files.pythonhosted.org/packages/source/P/Pyro4/Pyro4-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -# SECTION test requirements -BuildRequires: %{python_module cloudpickle >= 0.4.0} -BuildRequires: %{python_module dill >= 0.2.6} -BuildRequires: %{python_module msgpack-python >= 0.4.6} -BuildRequires: %{python_module serpent >= 1.24} -BuildRequires: ca-certificates -BuildRequires: python-selectors34 -# /SECTION -Requires: python-serpent >= 1.24 +Requires: python-serpent >= 1.27 +Requires(post): update-alternatives +Requires(postun): update-alternatives Recommends: ca-certificates Recommends: python-cloudpickle >= 0.4.0 Recommends: python-dill >= 0.2.6 -Recommends: python-msgpack-python >= 0.4.6 +Recommends: python-msgpack-python >= 0.5.2 +BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module cloudpickle >= 0.4.0} +BuildRequires: %{python_module dill >= 0.2.6} +BuildRequires: %{python_module msgpack-python >= 0.5.2} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module serpent >= 1.27} +BuildRequires: ca-certificates +BuildRequires: python-selectors34 +# /SECTION %ifpython2 Requires: python-selectors34 %endif -BuildArch: noarch -Requires(post): update-alternatives -Requires(postun): update-alternatives - %python_subpackages %description @@ -61,10 +61,8 @@ to execute the method. It also provides a set of features that enable building distributed applications. Pyro is a pure Python library and runs on many different platforms and Python versions. - %prep %setup -q -n Pyro4-%{version} -sed -i 's/\r$//' LICENSE %build %python_build @@ -79,6 +77,10 @@ sed -i 's/\r$//' LICENSE %python_clone -a %{buildroot}%{_bindir}/pyro4-nsc %python_clone -a %{buildroot}%{_bindir}/pyro4-test-echoserver +%check +# testContextAndSock missing cert fixtures https://github.com/irmen/Pyro4/issues/216 +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib}:./tests/PyroTests py.test-%{$python_bin_suffix} -v -k 'not testContextAndSock' + %post %{python_install_alternative pyro4-check-config pyro4-flameserver pyro4-httpgateway pyro4-ns pyro4-nsc pyro4-test-echoserver}