Marcel Telka
2023-12-06 f145003fbf3d22a35f8b778a74ba5fb7f20d2b4e
python/pyzmq: update to 25.1.2

4 files modified
63 ■■■■ changed files
components/python/pyzmq/Makefile 16 ●●●● patch | view | raw | blame | history
components/python/pyzmq/history 6 ●●●● patch | view | raw | blame | history
components/python/pyzmq/python-integrate-project.conf 10 ●●●●● patch | view | raw | blame | history
components/python/pyzmq/test/results-all.master 31 ●●●●● patch | view | raw | blame | history
components/python/pyzmq/Makefile
@@ -19,13 +19,13 @@
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME =        pyzmq
HUMAN_VERSION =            25.1.1
HUMAN_VERSION =            25.1.2
COMPONENT_SUMMARY =        pyzmq - Python bindings for 0MQ
COMPONENT_PROJECT_URL =        https://pyzmq.readthedocs.org
COMPONENT_ARCHIVE_URL =        \
    https://files.pythonhosted.org/packages/3f/7c/69d31a75a3fe9bbab349de7935badac61396f22baf4ab53179a8d940d58e/pyzmq-25.1.1.tar.gz
    https://files.pythonhosted.org/packages/3a/33/1a3683fc9a4bd64d8ccc0290da75c8f042184a1a49c146d28398414d3341/pyzmq-25.1.2.tar.gz
COMPONENT_ARCHIVE_HASH =    \
    sha256:259c22485b71abacdfa8bf79720cd7bcf4b9d128b30ea554f01ae71fdbfdaa23
    sha256:93f1aa311e8bb912e34f004cf186407a4e90eec4f0ecc0efd26056bf7eda0226
COMPONENT_LICENSE =        BSD-3-Clause AND LGPL-3.0-only
TEST_STYLE = pytest
@@ -61,16 +61,6 @@
COMPONENT_PRE_TEST_ACTION +=    $(SYMLINK) ../zmq-RENAMED/tests $(@D)/zmq/tests ;
COMPONENT_POST_TEST_ACTION +=    $(RM) -r $(@D)/zmq ;
COMPONENT_POST_TEST_ACTION +=    $(MV) $(@D)/zmq-RENAMED $(@D)/zmq ;
# Disable some plugins to get tests passed
PYTEST_ADDOPTS += -p no:black
PYTEST_ADDOPTS += -p no:checkdocs
PYTEST_ADDOPTS += -p no:mypy
PYTEST_ADDOPTS += -p no:randomly
# Testing of pyzmq fails if there is flaky installed.  See
# https://github.com/zeromq/pyzmq/issues/1802 for details.
TEST_CONFLICTING_PACKAGES.python += library/python/flaky
# Auto-generated dependencies
PYTHON_REQUIRED_PACKAGES += library/python/cython
components/python/pyzmq/history
@@ -1,6 +1,6 @@
library/python-2/pyzmq-26@14.0.1,5.11-2016.0.1.2
library/python-2/pyzmq-27@14.0.1,5.11-2016.0.1.3
library/python-2/pyzmq@14.0.1,5.11-2016.0.1.2 library/python/pyzmq
library/python/pyzmq-27@19.0.0,5.11-2020.0.1.2 noincorporate
library/python/pyzmq-35@19.0.0,5.11-2020.0.1.2 noincorporate
library/python/pyzmq-37@25.1.0,5.11-2023.0.0.1 noincorporate
library/python/pyzmq-27@19.0.0,5.11-2020.0.1.3
library/python/pyzmq-35@19.0.0,5.11-2020.0.1.3
library/python/pyzmq-37@25.1.0,5.11-2023.0.0.2
components/python/pyzmq/python-integrate-project.conf
@@ -43,16 +43,6 @@
COMPONENT_PRE_TEST_ACTION +=    $(SYMLINK) ../zmq-RENAMED/tests $(@D)/zmq/tests ;
COMPONENT_POST_TEST_ACTION +=    $(RM) -r $(@D)/zmq ;
COMPONENT_POST_TEST_ACTION +=    $(MV) $(@D)/zmq-RENAMED $(@D)/zmq ;
# Disable some plugins to get tests passed
PYTEST_ADDOPTS += -p no:black
PYTEST_ADDOPTS += -p no:checkdocs
PYTEST_ADDOPTS += -p no:mypy
PYTEST_ADDOPTS += -p no:randomly
# Testing of pyzmq fails if there is flaky installed.  See
# https://github.com/zeromq/pyzmq/issues/1802 for details.
TEST_CONFLICTING_PACKAGES.python += library/python/flaky
%hook-manifest%
(
    printf '--- LICENSE.BSD -----------------------------------------------------------\n\n'
components/python/pyzmq/test/results-all.master
@@ -1,7 +1,6 @@
============================= test session starts ==============================
platform sunos5 -- Python $(PYTHON_VERSION).X -- $(PYTHON)
cachedir: .pytest_cache
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('$(@D)/.hypothesis/examples')
rootdir: $(@D)
configfile: pytest.ini
testpaths: zmq/tests
@@ -454,6 +453,33 @@
zmq/tests/test_zmqstream.py::test_shadow_socket_close PASSED
=============================== warnings summary ===============================
../../../../../../../..$(PYTHON_DIR)/vendor-packages/pytest_asyncio/plugin.py:231
  $(PYTHON_DIR)/vendor-packages/pytest_asyncio/plugin.py:231: PytestDeprecationWarning: io_loop is asynchronous and explicitly requests the "event_loop" fixture. Asynchronous fixtures and test functions should use "asyncio.get_running_loop()" instead.
    warnings.warn(
../../../../../../../..$(PYTHON_DIR)/vendor-packages/pytest_asyncio/plugin.py:231
  $(PYTHON_DIR)/vendor-packages/pytest_asyncio/plugin.py:231: PytestDeprecationWarning: _async_setup is asynchronous and explicitly requests the "event_loop" fixture. Asynchronous fixtures and test functions should use "asyncio.get_running_loop()" instead.
    warnings.warn(
zmq/tests/test_auth.py:405
  zmq/tests/test_auth.py:405: PytestDeprecationWarning: test_ioloop_authenticator is asynchronous and explicitly requests the "event_loop" fixture. Asynchronous fixtures and test functions should use "asyncio.get_running_loop()" instead.
    async def test_ioloop_authenticator(context, event_loop, io_loop):
zmq/tests/test_asyncio.py: 21 warnings
zmq/tests/test_auth.py: 31 warnings
zmq/tests/test_monitor.py: 6 warnings
zmq/tests/test_zmqstream.py: 7 warnings
  $(PYTHON_DIR)/vendor-packages/pytest_asyncio/plugin.py:742: DeprecationWarning: The event_loop fixture provided by pytest-asyncio has been redefined in
  $(@D)/zmq/tests/conftest.py:73
  Replacing the event_loop fixture with a custom implementation is deprecated
  and will lead to errors in the future.
  If you want to request an asyncio event loop with a scope other than function
  scope, use the "scope" argument to the asyncio mark when marking the tests.
  If you want to return different types of event loops, use the event_loop_policy
  fixture.
    warnings.warn(
zmq/tests/test_auth.py::test_ioloop_authenticator
  $(@D)/zmq/tests/test_auth.py:409: DeprecationWarning: zmq.auth.ioloop.IOLoopAuthenticator is deprecated. Use zmq.auth.asyncio.AsyncioAuthenticator
    from zmq.auth.ioloop import IOLoopAuthenticator
@@ -499,6 +525,5 @@
    warnings.warn(
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
============================= slowest 10 durations =============================
======== 416 passed, 28 skipped, 241 warnings ========
======== 416 passed, 28 skipped, 309 warnings ========