From f9da3ccde5dcc7737d1b3a5e7c2c8776b47f39a30d6f7ad3700935171673882a Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 13 May 2023 10:07:47 +0000 Subject: [PATCH] Accepting request 1086739 from home:mcalabkova:branches:devel:languages:python - Update to version 25.0.2 * Bundled subset of tornado's IOLoop (deprecated since pyzmq 17) is removed, so ZMQStream cannot be used without an actual install of tornado. * Remove support for tornado 4. * Added `socket_class` argument to zmq.Context.socket * Support shadowing sockets with socket objects. * In zmq.auth and zmq.eventloop.zmqstream callbacks may now be async. * License files have been renamed to more standard LICENSE.BSD, LICENSE.LESSER to appease some license auto-detect tools. OBS-URL: https://build.opensuse.org/request/show/1086739 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=113 --- pytest.ini | 3 +++ python-pyzmq.changes | 13 +++++++++++++ python-pyzmq.spec | 5 +++-- pyzmq-24.0.1.tar.gz | 3 --- pyzmq-25.0.2.tar.gz | 3 +++ 5 files changed, 22 insertions(+), 5 deletions(-) delete mode 100644 pyzmq-24.0.1.tar.gz create mode 100644 pyzmq-25.0.2.tar.gz diff --git a/pytest.ini b/pytest.ini index 734facf..8066716 100644 --- a/pytest.ini +++ b/pytest.ini @@ -5,3 +5,6 @@ markers = wheel: these tests are for installs from a wheel, not dev-installs testpaths = zmq/tests + +# automatically run coroutine tests with asyncio +asyncio_mode = auto diff --git a/python-pyzmq.changes b/python-pyzmq.changes index b0ae897..4e268fb 100644 --- a/python-pyzmq.changes +++ b/python-pyzmq.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Fri May 12 11:09:45 UTC 2023 - Markéta Machová + +- Update to version 25.0.2 + * Bundled subset of tornado's IOLoop (deprecated since pyzmq 17) is removed, + so ZMQStream cannot be used without an actual install of tornado. + * Remove support for tornado 4. + * Added `socket_class` argument to zmq.Context.socket + * Support shadowing sockets with socket objects. + * In zmq.auth and zmq.eventloop.zmqstream callbacks may now be async. + * License files have been renamed to more standard LICENSE.BSD, LICENSE.LESSER + to appease some license auto-detect tools. + ------------------------------------------------------------------- Wed Feb 1 13:12:01 UTC 2023 - Dirk Müller diff --git a/python-pyzmq.spec b/python-pyzmq.spec index 2c77a52..d7c7662 100644 --- a/python-pyzmq.spec +++ b/python-pyzmq.spec @@ -25,7 +25,7 @@ %bcond_with tests %endif Name: python-pyzmq -Version: 24.0.1 +Version: 25.0.2 Release: 0 Summary: Python bindings for 0MQ License: BSD-3-Clause AND LGPL-3.0-or-later @@ -51,6 +51,7 @@ Suggests: python-paramiko BuildRequires: %{python_module numpy} %endif BuildRequires: %{python_module paramiko} +BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest-rerunfailures} BuildRequires: %{python_module pytest-timeout} BuildRequires: %{python_module pytest} @@ -130,7 +131,7 @@ popd %endif %files %{python_files} -%license COPYING.BSD COPYING.LESSER +%license LICENSE.BSD LICENSE.LESSER %doc AUTHORS.md README.md examples %{python_sitearch}/zmq %{python_sitearch}/pyzmq-%{version}-py*.egg-info diff --git a/pyzmq-24.0.1.tar.gz b/pyzmq-24.0.1.tar.gz deleted file mode 100644 index 9be7d3a..0000000 --- a/pyzmq-24.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:216f5d7dbb67166759e59b0479bca82b8acf9bed6015b526b8eb10143fb08e77 -size 1219822 diff --git a/pyzmq-25.0.2.tar.gz b/pyzmq-25.0.2.tar.gz new file mode 100644 index 0000000..1dabcd8 --- /dev/null +++ b/pyzmq-25.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6b8c1bbb70e868dc88801aa532cae6bd4e3b5233784692b786f17ad2962e5149 +size 1209578