Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyzmq for openSUSE:Factory 
checked in at 2021-02-16 22:34:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyzmq (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyzmq.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyzmq"

Tue Feb 16 22:34:10 2021 rev:44 rq:872203 version:22.0.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyzmq/python-pyzmq.changes        
2020-11-30 09:53:05.849735398 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyzmq.new.28504/python-pyzmq.changes     
2021-02-16 22:34:11.601472727 +0100
@@ -1,0 +2,47 @@
+Sun Feb 14 17:15:28 UTC 2021 - Ben Greiner <c...@bnavigator.de>
+
+- Update to 22.0.3
+  * Fix fork-safety bug in garbage collection thread (regression
+    in 20.0) when using subprocesses.
+- Changes in 22.0.1
+  * Fix type of Frame.bytes for non-copying recvs with CFFI
+    backend (regression in 21.0)
+- Changes in 22.0.0
+  * This is a major release due to changes in wheels and building
+    on Windows. Code changes from 21.0 are minimal.
+  * Some typing fixes
+  * Bump bundled libzmq to 4.3.4
+- Relevant Changes in 21.0
+  * pyzmq 21 is a major version bump because of dropped support
+    for old Pythons and some changes in packaging. CPython users
+    should not face major compatibility issues if installation
+    works at all :) PyPy users may see issues with the new
+    implementation of send/recv. If you do, please report them!
+  The big changes are:
+  * drop support for Python 3.5. Python >= 3.6 is required
+  * mypy type stubs, which should improve static analysis of
+    pyzmq, especially for dynamically defined attributes such as
+    zmq constants. These are new! Let us know if you find any
+    issues.
+  * support for zero-copy and sending bufferables with cffi
+    backend. This is experimental! Please report issues.
+  Packaging updates:
+  * Require Python >= 3.6, required for good type annotation
+    support
+  * rework cffi backend in setup.py
+  New features:
+  * zero-copy support in CFFI backend (send(copy=False) now does
+    something).
+  * Support sending any buffer-interface-providing objects in CFFI
+    backend.
+  Bugs fixed:
+  * Errors during teardown of asyncio Sockets
+- Don't test numpy on python36 flavor, because python36-numpy is
+  no longer available in Tumbleweed (NEP 29)
+- Make sure we use the Cython backend, not CFFI, wich is for PyPy.
+  * fixes gh#zeromq/pyzmq#1431 and gh#zeromq/pyzmq#1432
+- Remove skip_test_tracker.patch
+- Got an oom error on the build service: Require at least 8GB of
+  RAM through _constraints file
+
+-------------------------------------------------------------------

Old:
----
  pyzmq-20.0.0.tar.gz
  skip_test_tracker.patch

New:
----
  _constraints
  pyzmq-22.0.3.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pyzmq.spec ++++++
--- /var/tmp/diff_new_pack.MrqWwb/_old  2021-02-16 22:34:12.509473972 +0100
+++ /var/tmp/diff_new_pack.MrqWwb/_new  2021-02-16 22:34:12.513473978 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyzmq
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,41 +26,43 @@
 %bcond_with     tests
 %endif
 Name:           python-pyzmq
-Version:        20.0.0
+Version:        22.0.3
 Release:        0
 Summary:        Python bindings for 0MQ
 License:        LGPL-3.0-or-later AND BSD-3-Clause
 URL:            https://github.com/zeromq/pyzmq
 Source:         
https://files.pythonhosted.org/packages/source/p/pyzmq/pyzmq-%{version}.tar.gz
 Source1:        python-pyzmq-rpmlintrc
-# PATCH-FIX-OPENSUSE skip_test_tracker.patch
-Patch1:         skip_test_tracker.patch
 BuildRequires:  %{python_module Cython}
-BuildRequires:  %{python_module cffi}
-BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module devel >= 3.6}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+BuildRequires:  zeromq-devel
+# SECTION Test requirements
 BuildRequires:  %{python_module gevent}
-# Test requirements
-BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module paramiko}
-BuildRequires:  %{python_module pexpect}
+BuildRequires:  %{python_module pytest-timeout}
 BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module simplejson}
 BuildRequires:  %{python_module tornado}
-BuildRequires:  fdupes
-BuildRequires:  python-rpm-macros
-BuildRequires:  zeromq-devel
-Requires:       python
+BuildRequires:  %{python_module numpy if (%python-base without python36-base)}
+# /SECTION
+# SECTION pypy3 is not in openSUSE at the moment, it would use the cffi backend
+BuildRequires:  %{python_module cffi if (%python with pypy3)}
+BuildRequires:  %{python_module py   if (%python with pypy3)}
+%if "%{python_flavor}" == "pypy3"
+Requires:       python-cffi
+Requires:       python-py
+%endif
+# /SECTION
 %if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24
-Recommends:     python-cffi
 Recommends:     python-gevent
 Recommends:     python-numpy
-Recommends:     python-paramiko
 Recommends:     python-pexpect
-Recommends:     python-py
+Suggests:       python-paramiko
 Recommends:     python-simplejson
 Recommends:     python-tornado
-Recommends:     zeromq
 %endif
 %python_subpackages
 
@@ -84,6 +86,13 @@
 find examples zmq -name "*.py" -exec sed -i "s|#\!\/usr\/bin\/env python||" {} 
\;
 
 %build
+# See https://github.com/zeromq/pyzmq/blob/master/setup.cfg.template
+echo '
+[global]
+skip_check_zmq = False
+zmq_prefix = %{_prefix}
+no_libzmq_extension = True
+'>> setup.cfg
 export CFLAGS="%{optflags}"
 %python_build
 
@@ -94,13 +103,16 @@
 %if %{with tests}
 %check
 export LANG=en_US.UTF-8
-# skipped tests because of gh#zeromq/pyzmq#1431
-SKIPPED_TESTS="test_buffer_numpy or test_bytes or test_curve or 
test_frame_more or "
-SKIPPED_TESTS+="test_large_send or test_lifecycle1 or test_lifecycle2 or "
-SKIPPED_TESTS+="test_memoryview_shape or test_multi_tracker or test_plain or 
test_tracker"
-# gh#zeromq/pyzmq#1432
-SKIPPED_TESTS+=" or TestSocketGreen"
-%pytest_arch -k "not (${SKIPPED_TESTS})"
+# This test wants to build a custom cython extension, but does not have the 
source files installed into the buildroot
+SKIPPED_TESTS+=" or test_cython"
+%if 0%{?suse_version} < 1550
+# tries to open a network connection on older distributions
+SKIPPED_TESTS+=" or test_null"
+%endif
+mkdir cleantest
+pushd cleantest
+%pytest_arch --pyargs zmq -k "not (${SKIPPED_TESTS:4})" --timeout 120 -ra
+popd
 %endif
 
 %files %{python_files}
@@ -109,12 +121,10 @@
 %{python_sitearch}/zmq/
 %{python_sitearch}/pyzmq-%{version}-py*.egg-info
 %exclude %{python_sitearch}/zmq/utils/*.h
-%exclude %{python_sitearch}/zmq/backend/cffi/_verify.c
 %exclude %{python_sitearch}/zmq/backend/cffi/_cdefs.h
 
 %files %{python_files devel}
 %{python_sitearch}/zmq/utils/*.h
-%{python_sitearch}/zmq/backend/cffi/_verify.c
 %{python_sitearch}/zmq/backend/cffi/_cdefs.h
 
 %changelog

++++++ _constraints ++++++
<constraints>
  <hardware>
    <memory>
      <size unit="M">8000</size>
    </memory>
  </hardware>
</constraints> ++++++ pyzmq-20.0.0.tar.gz -> pyzmq-22.0.3.tar.gz ++++++
++++ 30444 lines of diff (skipped)

Reply via email to