4 Commits

Author SHA256 Message Date
e775756f8f Accepting request 1291147 from devel:languages:python
- Update to 27.0.0
  * The Cython backend has been rewritten using Cython 3’s pure Python
    mode.
  * The build system has been rewritten to use CMake via scikit-build-core
    instead of setuptools
  * Bundled libzmq is updated to 4.3.5, which changes its license from
    LGPL to MPL.
  * Many smaller changes, see upstream chngelog

OBS-URL: https://build.opensuse.org/request/show/1291147
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyzmq?expand=0&rev=59
2025-07-08 13:29:03 +00:00
1fab49063b - Update to 27.0.0
* The Cython backend has been rewritten using Cython 3’s pure Python
    mode.
  * The build system has been rewritten to use CMake via scikit-build-core
    instead of setuptools
  * Bundled libzmq is updated to 4.3.5, which changes its license from
    LGPL to MPL.
  * Many smaller changes, see upstream chngelog

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=123
2025-07-08 04:54:43 +00:00
d1b0a24ddf Accepting request 1284673 from devel:languages:python
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1284673
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyzmq?expand=0&rev=58
2025-06-11 14:19:27 +00:00
c170584e01 - Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=121
2025-06-11 06:34:37 +00:00
5 changed files with 38 additions and 33 deletions

View File

@@ -1,11 +1,13 @@
[pytest]
addopts = --durations 10
addopts = --durations 10 --import-mode=importlib
markers =
large: these tests use a lot of memory
new_console: these tests create a new console
wheel: these tests are for installs from a wheel, not dev-installs
# import-mode=importlib doesn't put testpaths on sys.path
pythonpath = tests
testpaths =
zmq/tests
tests
# automatically run coroutine tests with asyncio
asyncio_mode = auto
asyncio_default_fixture_loop_scope = function

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Mon Jul 7 10:27:31 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Update to 27.0.0
* The Cython backend has been rewritten using Cython 3s pure Python
mode.
* The build system has been rewritten to use CMake via scikit-build-core
instead of setuptools
* Bundled libzmq is updated to 4.3.5, which changes its license from
LGPL to MPL.
* Many smaller changes, see upstream chngelog
-------------------------------------------------------------------
Wed Jun 11 05:49:39 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Thu Mar 28 12:47:25 UTC 2024 - ecsos <ecsos@opensuse.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pyzmq
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,7 @@
%endif
%{?sle15_python_module_pythons}
Name: python-pyzmq
Version: 25.1.2
Version: 27.0.0
Release: 0
Summary: Python bindings for 0MQ
License: BSD-3-Clause AND LGPL-3.0-or-later
@@ -34,11 +34,13 @@ URL: https://github.com/zeromq/pyzmq
Source: https://files.pythonhosted.org/packages/source/p/pyzmq/pyzmq-%{version}.tar.gz
# For test markers
Source1: https://raw.githubusercontent.com/zeromq/pyzmq/v%{version}/pytest.ini
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel >= 3.6}
BuildRequires: %{python_module packaging}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module Cython >= 3}
BuildRequires: %{python_module devel >= 3.9}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module scikit-build-core}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: python-rpm-macros
BuildRequires: zeromq-devel
Recommends: python-gevent
@@ -95,47 +97,31 @@ cp %{SOURCE1} ./
find examples zmq -name "*.py" -exec sed -i "s|#\!\/usr\/bin\/env python||" {} \;
chmod -x examples/pubsub/topics_pub.py examples/pubsub/topics_sub.py
# 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
%build
export CFLAGS="%{optflags}"
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%if %{with tests}
%check
export LANG=en_US.UTF-8
# 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"
# unreliable socket handling in obs environment
SKIPPED_TESTS+=" or test_log"
%if 0%{?suse_version} < 1550
# tries to open a network connection on older distributions
SKIPPED_TESTS+=" or test_null or test_int_sockopts"
%endif
# temporarily disable to build with OpenSSL 3.0 bsc#1205042
SKIPPED_TESTS+=" or test_on_recv_basic"
mkdir cleantest
pushd cleantest
%pytest_arch --pyargs zmq -k "not (${SKIPPED_TESTS:4})" --timeout 1200
popd
%pytest_arch --pyargs zmq -k "not (${SKIPPED_TESTS:4})" --timeout 1200 tests
%endif
%files %{python_files}
%license LICENSE.BSD LICENSE.LESSER
%license LICENSE.md
%doc AUTHORS.md README.md examples
%{python_sitearch}/zmq
%{python_sitearch}/pyzmq-%{version}-py*.egg-info
%{python_sitearch}/pyzmq-%{version}.dist-info
%exclude %{python_sitearch}/zmq/utils/*.h
%exclude %{python_sitearch}/zmq/backend/cffi/_cdefs.h

BIN
pyzmq-25.1.2.tar.gz (Stored with Git LFS)

Binary file not shown.

3
pyzmq-27.0.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b1f08eeb9ce1510e6939b6e5dcd46a17765e2333daae78ecf4606808442e52cf
size 280478