forked from pool/python-pyzmq
Compare commits
9 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 23ac3bd1fe | |||
| f72ec4c925 | |||
| d381547b73 | |||
| d77fc0d91f | |||
| 44c18a634c | |||
| e775756f8f | |||
| 1fab49063b | |||
| d1b0a24ddf | |||
| c170584e01 |
11
pytest.ini
11
pytest.ini
@@ -1,11 +0,0 @@
|
|||||||
[pytest]
|
|
||||||
addopts = --durations 10
|
|
||||||
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
|
|
||||||
testpaths =
|
|
||||||
zmq/tests
|
|
||||||
|
|
||||||
# automatically run coroutine tests with asyncio
|
|
||||||
asyncio_mode = auto
|
|
||||||
@@ -1,3 +1,47 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 13 02:59:50 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Copy tests to a temporary directory so they can be imported.
|
||||||
|
- Drop pytest.ini, it is now shipped in the tarball.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 22 13:08:28 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 27.1.0
|
||||||
|
* 27.1.0 restores prior behavior where the constant `zmq.DRAFT_API` represents
|
||||||
|
the actual availability of the draft API. This requires _both_ libzmq and
|
||||||
|
pyzmq to be built with drafts enabled, not just libzmq.
|
||||||
|
Restores behavior prior to pyzmq 23.
|
||||||
|
* In pyzmq 23-27.0, `zmq.DRAFT_API` was a synonym for `zmq.has("draft")`.
|
||||||
|
It is relatively rare that these two definitions differ, but not impossible
|
||||||
|
(e.g. libzmq built with drafts enabled, but pyzmq not).
|
||||||
|
- from version 27.0.2
|
||||||
|
* 27.0.2 fixes a bug where bind/connect could fail with "Invalid Argument" (EINVAL)
|
||||||
|
when Python is run in devmode or with `PYTHONMALLOC=debug`.
|
||||||
|
- from version 27.0.1
|
||||||
|
* 27.0.1 adds wheels for android and free-threaded Python 3.14 (314t) thanks to
|
||||||
|
cibuildwheel 3.1, and adds wheels for free-threaded Python for Windows on ARM.
|
||||||
|
* There are no changes to pyzmq code in this release.
|
||||||
|
- Add new zmq/backend/cffi/*.c files to devel package
|
||||||
|
- Remove .gitignore files from source tree
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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 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
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Thu Mar 28 12:47:25 UTC 2024 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pyzmq
|
# spec file for package python-pyzmq
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -26,19 +26,19 @@
|
|||||||
%endif
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pyzmq
|
Name: python-pyzmq
|
||||||
Version: 25.1.2
|
Version: 27.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python bindings for 0MQ
|
Summary: Python bindings for 0MQ
|
||||||
License: BSD-3-Clause AND LGPL-3.0-or-later
|
License: BSD-3-Clause AND LGPL-3.0-or-later
|
||||||
URL: https://github.com/zeromq/pyzmq
|
URL: https://github.com/zeromq/pyzmq
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pyzmq/pyzmq-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pyzmq/pyzmq-%{version}.tar.gz
|
||||||
# For test markers
|
BuildRequires: %{python_module Cython >= 3}
|
||||||
Source1: https://raw.githubusercontent.com/zeromq/pyzmq/v%{version}/pytest.ini
|
BuildRequires: %{python_module devel >= 3.9}
|
||||||
BuildRequires: %{python_module Cython}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module devel >= 3.6}
|
BuildRequires: %{python_module scikit-build-core}
|
||||||
BuildRequires: %{python_module packaging}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: %{python_module setuptools}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: zeromq-devel
|
BuildRequires: zeromq-devel
|
||||||
Recommends: python-gevent
|
Recommends: python-gevent
|
||||||
@@ -89,58 +89,48 @@ Development libraries and headers needed to build software using %{name}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n pyzmq-%{version} -p1
|
%autosetup -n pyzmq-%{version} -p1
|
||||||
cp %{SOURCE1} ./
|
|
||||||
|
|
||||||
# Fix non-executable script rpmlint warning:
|
# Fix non-executable script rpmlint warning:
|
||||||
find examples zmq -name "*.py" -exec sed -i "s|#\!\/usr\/bin\/env python||" {} \;
|
find examples zmq -name "*.py" -exec sed -i "s|#\!\/usr\/bin\/env python||" {} \;
|
||||||
|
find . -name ".gitignore" -exec rm {} \;
|
||||||
chmod -x examples/pubsub/topics_pub.py examples/pubsub/topics_sub.py
|
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
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
%check
|
%check
|
||||||
|
# make tests importable
|
||||||
|
dir=$(mktemp -d)
|
||||||
|
cp -a tests $dir
|
||||||
|
export PYTHONPATH=$dir
|
||||||
export LANG=en_US.UTF-8
|
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
|
# unreliable socket handling in obs environment
|
||||||
SKIPPED_TESTS+=" or test_log"
|
SKIPPED_TESTS+=" or test_log"
|
||||||
%if 0%{?suse_version} < 1550
|
%if 0%{?suse_version} < 1550
|
||||||
# tries to open a network connection on older distributions
|
# tries to open a network connection on older distributions
|
||||||
SKIPPED_TESTS+=" or test_null or test_int_sockopts"
|
SKIPPED_TESTS+=" or test_null or test_int_sockopts"
|
||||||
%endif
|
%endif
|
||||||
# temporarily disable to build with OpenSSL 3.0 bsc#1205042
|
%pytest_arch -v -k "not (${SKIPPED_TESTS:4})"
|
||||||
SKIPPED_TESTS+=" or test_on_recv_basic"
|
|
||||||
mkdir cleantest
|
|
||||||
pushd cleantest
|
|
||||||
%pytest_arch --pyargs zmq -k "not (${SKIPPED_TESTS:4})" --timeout 1200
|
|
||||||
popd
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE.BSD LICENSE.LESSER
|
%license LICENSE.md
|
||||||
%doc AUTHORS.md README.md examples
|
%doc AUTHORS.md README.md examples
|
||||||
%{python_sitearch}/zmq
|
%{python_sitearch}/zmq
|
||||||
%{python_sitearch}/pyzmq-%{version}-py*.egg-info
|
%{python_sitearch}/pyzmq-%{version}.dist-info
|
||||||
|
%exclude %{python_sitearch}/zmq/backend/cffi/*.c
|
||||||
%exclude %{python_sitearch}/zmq/utils/*.h
|
%exclude %{python_sitearch}/zmq/utils/*.h
|
||||||
%exclude %{python_sitearch}/zmq/backend/cffi/_cdefs.h
|
%exclude %{python_sitearch}/zmq/backend/cffi/_cdefs.h
|
||||||
|
|
||||||
%files %{python_files devel}
|
%files %{python_files devel}
|
||||||
%{python_sitearch}/zmq/utils/*.h
|
%{python_sitearch}/zmq/utils/*.h
|
||||||
|
%{python_sitearch}/zmq/backend/cffi/*.c
|
||||||
%{python_sitearch}/zmq/backend/cffi/_cdefs.h
|
%{python_sitearch}/zmq/backend/cffi/_cdefs.h
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
BIN
pyzmq-25.1.2.tar.gz
(Stored with Git LFS)
BIN
pyzmq-25.1.2.tar.gz
(Stored with Git LFS)
Binary file not shown.
3
pyzmq-27.1.0.tar.gz
Normal file
3
pyzmq-27.1.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ac0765e3d44455adb6ddbf4417dcce460fc40a05978c08efdf2948072f6db540
|
||||||
|
size 281750
|
||||||
Reference in New Issue
Block a user