Commit Graph

54 Commits

Author SHA256 Message Date
4dd5258c73 Accepting request 985673 from home:bnavigator:branches:devel:languages:python
- Update to 23.2.0
  * Use zmq.Event enums in parse_monitor_message for nicer reprs
  * Fix building bundled libzmq with ZMQ_DRAFT_API=1
  * Fix subclassing zmq.Context with additional arguments in the
    constructor. Subclasses may now have full control over the
    signature, rather than purely adding keyword-only arguments
  * Typos and other small fixes
- Release 23.1.0
  * Fix global name of zmq.EVENT_HANDSHAKE_* constants
  * Fix constants missing when using import zmq.green as zmq
  * {func}zmq.utils.monitor.recv_monitor_msg now supports async
    Sockets.
- Release 23.0.0
  * all zmq constants are now available as Python enums (e.g.
    zmq.SocketType.PULL, zmq.SocketOption.IDENTITY), generated
    statically from zmq.h instead of at compile-time. This means
    that checks for the presence of a constant (hasattr(zmq,
    'RADIO')) is not a valid check for the presence of a feature.
    This practice has never been robust, but it may have worked
    sometimes. Use direct checks via e.g. {func}zmq.has or
    {func}zmq.zmq_version_info.
  * A bit more type coverage of Context.term and Context.socket
  * Remove all use of deprecated stdlib distutils
  * Update to Cython 0.29.30 (required for Python 3.11
    compatibility)
  * Compatibility with Python 3.11.0b1
  * Switch to myst for docs
  * Deprecate zmq.utils.strtypes, now unused
  * Updates to autoformatting, linting
- Drop less-flaky.patch: pytest-rerunfailures without the flaky

OBS-URL: https://build.opensuse.org/request/show/985673
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=102
2022-06-29 07:22:58 +00:00
43553bba95 Fix changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=101
2022-01-08 12:46:01 +00:00
cf75b87f4b Accepting request 944483 from home:bnavigator:branches:devel:languages:python
- skip test_log due to flaky socket handling inside obs
  environments

OBS-URL: https://build.opensuse.org/request/show/944483
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=100
2022-01-08 12:37:17 +00:00
d8af7e98df Accepting request 911422 from home:mcalabkova:branches:devel:languages:python
- Update to 22.2.1
  * Nicer reprs of contexts and sockets
  * Memory allocated by recv(copy=False) is no longer read-only
  * asyncio: Always reference current loop instead of attaching to 
    the current loop at instantiation time. This fixes e.g. contexts 
    and/or sockets instantiated prior to a call to asyncio.run.

OBS-URL: https://build.opensuse.org/request/show/911422
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=99
2021-08-11 11:58:04 +00:00
08d34f1648 Accepting request 904236 from home:alarrosa:branches:devel:languages:python
Update to 22.1.0 and increase the memory constraint since it sometimes
results in an error such as:

[  401s] ../tests/test_socket.py::TestSocket::test_large_send [  374.574996] Out of memory: Killed process 3386 (pytest-3.6) total-vm:6451008kB, anon-rss:2193620kB, file-rss:0kB, shmem-rss:0kB, UID:399 pgtables:8652kB oom_score_adj:0

- Update to 22.1.0
  * New features:
    - asyncio: experimental support for Proactor eventloop if
      tornado 6.1 is available by running a selector in a
      background thread.
  * Fixes:
    - Windows: fix type of socket.FD option in win-amd64
    - asyncio: Cancel timers when using HWM with async Sockets
  * Other changes:
    - Windows: update bundled libzmq dll URLs for Windows. Windows
      wheels no longer include concrt140.dll.
    - adopt pre-commit for formatting, linting

- Increase memory constraint from 8000M to 9000M since build
  sometimes fails with "Out of memory" errors.

OBS-URL: https://build.opensuse.org/request/show/904236
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=98
2021-07-05 17:14:29 +00:00
5c0985d02e No curly braces on python macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=96
2021-03-12 09:29:19 +00:00
c76bc5642a - Clean up of SPEC file, while investigating test suite errors.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=95
2021-03-12 09:13:54 +00:00
6dd4546c28 Accepting request 872200 from home:bnavigator:branches:devel:languages:python
- Update to 22.0.3

- 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

OBS-URL: https://build.opensuse.org/request/show/872200
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=93
2021-02-14 20:39:30 +00:00
fff7603583 Accepting request 850785 from home:adamm:branches:devel:libraries:c_c++
- update to version 20.0.0:
  * fix build with ZeroMQ 4.3.3
  * drops support for Python < 3.5
  * Respect $PKG_CONFIG env for finding libzmq when building from source
  * :meth:`.Socket.bind` and :meth:`.Socket.connect`
    can now be used as context managers.
  * Hold GIL while calling ``zmq_curve_`` functions,
    which may fix apparent threadsafety issues.
- skip_test_tracker.patch: refreshed

OBS-URL: https://build.opensuse.org/request/show/850785
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=91
2020-11-25 19:58:48 +00:00
b4b08599f7 - Skip failing tests (gh#zeromq/pyzmq#1431 or gh#zeromq/pyzmq#1432)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=89
2020-10-14 14:00:08 +00:00
e692e8accd - Use pytest_arch macro instead of the construct we had there.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=88
2020-10-14 10:21:46 +00:00
Tomáš Chvátal
a6cf51f986 Accepting request 837195 from home:frispete:python
- raise test timeout limit to 5m and define an console encoding

OBS-URL: https://build.opensuse.org/request/show/837195
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=86
2020-09-25 10:25:59 +00:00
Tomáš Chvátal
0b86a68440 Accepting request 832769 from home:bmwiedemann:branches:devel:languages:python
Add timeout to tests (boo#1176232)

tests currently finish in 47s so well below the 180s timeout

OBS-URL: https://build.opensuse.org/request/show/832769
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=84
2020-09-08 07:07:40 +00:00
Tomáš Chvátal
81ffc1a2bf Accepting request 826782 from home:jayvdb:py-submit
- Re-activate test suite on x86_64, replacing nose with pytest

OBS-URL: https://build.opensuse.org/request/show/826782
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=82
2020-08-15 09:16:40 +00:00
ce3ebaeb8b - update to version 19.0.2:
- Regenerate Cython sources with 0.29.21 in sdists for compatibility with Python 3.9
  - Handle underlying socket being closed in ZMQStream with warning instead of error
  - Improvements to socket cleanup during process teardown
  - Fix debug-builds on Windows
  - Avoid importing ctypes during startup on Windows
  - Documentation improvements
  - Raise ``AttributeError`` instead of ``ZMQError(EINVAL)`` on attempts to read write-only attributes,
    for compatibility with mocking

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=80
2020-08-04 16:06:35 +00:00
Tomáš Chvátal
6a1f6b44f5 Accepting request 802263 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/802263
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=78
2020-05-09 17:30:03 +00:00
Tomáš Chvátal
265b48e519 Accepting request 782710 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/782710
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=76
2020-03-09 06:51:23 +00:00
Tomáš Chvátal
e585913a58 Accepting request 749065 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/749065
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=74
2019-11-17 07:47:58 +00:00
Tomáš Chvátal
bb1898f616 Accepting request 725965 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/725965
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=72
2019-08-25 23:06:40 +00:00
Tomáš Chvátal
72ba581842 Accepting request 713769 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/713769
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=70
2019-07-07 20:05:24 +00:00
Thomas Bechtold
6308cbf25e Accepting request 683600 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/683600
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=68
2019-03-11 05:17:53 +00:00
Tomáš Chvátal
87e0a6cd5f Accepting request 630321 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/630321
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=66
2018-08-19 08:12:59 +00:00
Tomáš Chvátal
dfed4dd991 Accepting request 622503 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/622503
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=64
2018-07-13 20:12:55 +00:00
Tomáš Chvátal
56ffa01200 Accepting request 583912 from home:aplanas:branches:devel:languages:python
Allows Recommends and Suggest in Fedora

OBS-URL: https://build.opensuse.org/request/show/583912
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=62
2018-03-07 14:43:00 +00:00
b4ee41ab67 Accepting request 580750 from home:aplanas:branches:devel:languages:python
- Recommends only for SUSE

OBS-URL: https://build.opensuse.org/request/show/580750
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=60
2018-02-27 21:32:19 +00:00
Tomáš Chvátal
960865ed7b Accepting request 575260 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/575260
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=58
2018-02-10 19:37:25 +00:00
Tomáš Chvátal
36f2e554fa Accepting request 572354 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/572354
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=56
2018-02-04 11:23:16 +00:00
Jan Matejek
4ab96b265a Accepting request 538222 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/538222
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=54
2017-11-03 14:38:34 +00:00
Todd R
19efda1630 Accepting request 514749 from home:TheBlackCat:branches:devel:languages:python
- Remove docs. They aren't being built so they are not useful, and they break the build.

OBS-URL: https://build.opensuse.org/request/show/514749
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=52
2017-08-06 04:49:42 +00:00
Todd R
a30cf642c7 Accepting request 489467 from home:TheBlackCat:branches:devel:languages:python
- Update to 16.0.2
- Rebase skip_test_tracker.patch.
- Implement single-spec version.

OBS-URL: https://build.opensuse.org/request/show/489467
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=50
2017-04-19 21:45:05 +00:00
Todd R
e9b5013548 Accepting request 356031 from home:TheBlackCat:branches:devel:languages:python
update to version 15.2.0

OBS-URL: https://build.opensuse.org/request/show/356031
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=48
2016-01-26 12:29:54 +00:00
81eaaef7ee Accepting request 329757 from home:aplanas:branches:devel:languages:python
Skip one test that blocks the VM

OBS-URL: https://build.opensuse.org/request/show/329757
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=46
2015-09-08 16:37:48 +00:00
Todd R
26962a3237 Accepting request 319235 from home:TheBlackCat:branches:devel:languages:python
Add additional optional dependencies that support additional features and/or additional backends.

OBS-URL: https://build.opensuse.org/request/show/319235
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=44
2015-07-29 09:20:44 +00:00
Todd R
53cf39bb32 Accepting request 316897 from home:TheBlackCat:branches:devel:languages:python
Include authors and BSD license in source

OBS-URL: https://build.opensuse.org/request/show/316897
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=42
2015-07-15 09:22:52 +00:00
Todd R
f5c1f67a25 Accepting request 316517 from home:aboe76:branches:devel:languages:python
small update

OBS-URL: https://build.opensuse.org/request/show/316517
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=41
2015-07-14 14:13:12 +00:00
Denisart Benjamin
6a6df7b629 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=39 2015-03-16 23:06:43 +00:00
Denisart Benjamin
9adb0232d2 Accepting request 291111 from home:frispete:python
- Update to 14.5.0
  + Changes:
    * use pickle.DEFAULT_PROTOCOL by default in send_pickle
    * with the release of pip-6, OS X wheels are only marked as 10.6-intel, 
      indicating that they should be installable on any newer or single-arch Python.
    * raise SSHException on failed check of host key
  + Bugfixes:
    * fix method name in utils.wi32.allow_interrupt
    * fork-related fixes in garbage collection thread
    * add missing import in zmq.__init__, causing failure to import in some circumstances
- Update to 14.4.1
  + Bugfixes
    * SyntaxError on Python 2.6 in zmq.ssh
    * Handle possible bug in garbage collection after fork
- Update to 14.4.0
  + New features
    * Experimental support for libzmq-4.1.0 rc (new constants, plus zmq.has()).
    * Update bundled libzmq to 4.0.5
    * Update bundled libsodium to 1.0.0
    * Fixes for SSH dialogs when using zmq.ssh to create tunnels
    * More build/link/load fixes on OS X and Solaris
    * Get Frame metadata via dict access (libzmq 4)
    * Contexts and Sockets are context managers (term/close on __exit__)
    * Add zmq.utils.win32.allow_interrupt context manager for catching SIGINT on Windows
  + Bugfixes:
    * Bundled libzmq should not trigger recompilation after install on PyPy

OBS-URL: https://build.opensuse.org/request/show/291111
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=36
2015-03-16 23:00:33 +00:00
Todd R
b5a2c7b5e2 Accepting request 253526 from home:TheBlackCat:branches:devel:languages:python
Update to 14.3.1

OBS-URL: https://build.opensuse.org/request/show/253526
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=34
2014-10-01 15:18:14 +00:00
Denisart Benjamin
e7704fe091 Accepting request 243295 from home:dimstar:rpmlintrc
Rename rpmlintrc as per pkg guideline to %{name}-rpmlintrc

OBS-URL: https://build.opensuse.org/request/show/243295
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=32
2014-08-02 11:01:26 +00:00
Sascha Peilicke
1a7a9c7277 Accepting request 222028 from home:dirkmueller:branches:devel:languages:python
- disable testsuite for qemu-linux-user builds

OBS-URL: https://build.opensuse.org/request/show/222028
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=30
2014-02-12 12:52:05 +00:00
Denisart Benjamin
634746cd4f Accepting request 208192 from home:posophe:branches:devel:languages:python
- Update to version 14.0.0
  + Update bundled libzmq to current (4.0.1).
  + Backends are now implemented in ``zmq.backend`` instead of ``zmq.core``.
    This has no effect on public APIs.
  + Various build improvements for Cython and CFFI backends (PyPy
    compiles at build time).
  + Various GIL-related performance improvements - the GIL is no longer
    touched from a zmq IO thread.
  + Adding a constant should now be a bit easier - only zmq/sugar/constant
   _names should need updating,
    all other constant-related files should be automatically updated by
    ``setup.py constants``.
  + add support for latest libzmq-4.0.1
    (includes ZMQ_CURVE security and socket event monitoring).
- Changes from version 13.1.0
  + The main new feature is improved tornado 3 compatibility.
    PyZMQ ships a 'minitornado' submodule, which contains a small
    subset of tornado 3.0.1,
    in order to get the IOLoop base class.  zmq.eventloop.ioloop.IOLoop
    is now a simple subclass, and if the system tornado is ≥ 3.0, then
    the zmq IOLoop is a proper registered subclass of the tornado one itself,
    and minitornado is entirely unused.
- Changes from version 13.0.2
  + EAGAIN was unconditionally turned into KeyboardInterrupt
  + fix use of totally deprecated ctypes_configure to generate constants in CFFI backend
  + fix memory leak in CFFI backend for PyPy
  + typo prevented IPC_PATH_MAX_LEN from ever being defined
  + various build fixes - linking with librt, Cython compatibility, etc.

OBS-URL: https://build.opensuse.org/request/show/208192
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=28
2013-11-24 19:39:18 +00:00
Todd R
75ddb4fa44 Accepting request 163858 from devel:languages:python3
- Add python3 requires and buildrequires.  It will not work without them
- Changes suggests to recommends since there is no way to install suggets currently

OBS-URL: https://build.opensuse.org/request/show/163858
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=24
2013-04-13 10:01:26 +00:00
Sascha Peilicke
c504694c1f Accepting request 162829 from home:babelworx:ldig:branches:devel:languages:python
license update: LGPL-3.0+ and BSD-3-Clause
the core is LGPL-3.0+ but most of what is outside the code is BSD-3-Clause

OBS-URL: https://build.opensuse.org/request/show/162829
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=22
2013-04-05 13:52:54 +00:00
Sascha Peilicke
d0c3ecf508 - Update to version 13.0.0:
+ PyPy support
  + The Threadsafe ZMQStream experiment in 2.2.0.1 was deemed inappropriate and not useful,
    and has been removed.
  + The zmq.web experiment has been removed, to be developed as a standalone project 
  + Fixes bnc#811890
- Add rpmlintrc
- Drop useless macros
- Run testsuite

- Update to version 13.0.0:
  + PyPy support
  + The Threadsafe ZMQStream experiment in 2.2.0.1 was deemed inappropriate and not useful,
    and has been removed.
  + The zmq.web experiment has been removed, to be developed as a standalone project 
  + Fixes bnc#811890
- Add rpmlintrc
- Drop useless macros
- Run testsuite

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=21
2013-03-27 12:11:27 +00:00
Todd R
22351fbeaa Accepting request 121381 from home:TheBlackCat:branches:devel:languages:python
Fix rpmlint warnings

OBS-URL: https://build.opensuse.org/request/show/121381
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=17
2012-05-18 10:31:47 +00:00
Sascha Peilicke
178ad33cce Resolved spec file conflict
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=12
2012-04-03 11:30:15 +00:00
Sascha Peilicke
8b20095ca8 - Cleaned up spec file formatting
- Added python3 subpackage

- license update: LGPL-3.0+
  LGPL is not a recognized license

- Update to version 2.1.7:
  * Added proper GIL management for non-copying send
  * Implemented support for zmq_errno().
  * Added Socket.create_socket()
  * Fixed setup.py to work with libzmq.dll on Window
  * The flags argument to Socket.send/Socket.recv must be a C int
    to prevent Python-C API calls in the nogil section.
  * Added a protocol argument to pyobj_send that defaults to -1 (the
    highest pickle protocol).
  * Added a try/finally in Socket.recv.

- Re-generated with py2pack
  * now builds for all RPM-based distros

- Initial version (2.0.10).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=9
2012-01-31 16:21:39 +00:00
Pascal Bleser
09b8d59b28 remove %debug_package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=8
2011-12-12 09:06:29 +00:00
Sascha Peilicke
d9f190bba4 Accepting request 95460 from home:TheBlackCat:branches:devel:languages:python
- Cleaned up spec file formatting
- Added python3 subpackage

OBS-URL: https://build.opensuse.org/request/show/95460
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=7
2011-12-06 09:36:05 +00:00
Sascha Peilicke
b45da5d27b Accepting request 84862 from home:babelworx:ldig:branches:devel:languages:python
license update: LGPL-3.0+
LGPL is not a recognized license

OBS-URL: https://build.opensuse.org/request/show/84862
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=5
2011-09-27 07:26:50 +00:00