pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/py-gevent py-gevent: updated to 1.4.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/73372ef61889
branches:  trunk
changeset: 329944:73372ef61889
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Feb 19 12:26:13 2019 +0000

description:
py-gevent: updated to 1.4.0

1.4.0:

- Build with Cython 0.29 in '3str' mode.

- Test with PyPy 6.0 on Windows.

- Add support for application-wide callbacks when Greenlet objects
  are started.

- Fix consuming a single ready object using
  next(gevent.iwait(objs)). Previously such a construction would
  hang because iter was not called.

- Make gevent.iwait return an iterator that can now also be used as
  a context manager. If you'll only be consuming part of the iterator,
  use it in a with block to avoid leaking resources.

- Fix semaphores to immediately notify links if they are ready and
  rawlink() is called. This behaves like Event and
  AsyncEvent. Note that the order in which semaphore links are
  called is not specified.

- Improve safety of handling exceptions during interpreter shutdown.

- Remove the deprecated ability to specify GEVENT_RESOLVER and
  other importable settings as a path/to/a/package.module.item.
  This had race conditions and didn't work with complicated resolver
  implementations. Place the required package or module on sys.path
  first.

- Reduce the chances that using the blocking monitor functionality
  could result in apparently random SystemError:
  Objects/tupleobject.c: bad argument to internal function.

- Refactored the gevent test runner and test suite to make them more
  reusable. In particular, the tests are now run with python -m
  gevent.tests.

- Make a monkey-patched socket.getaddrinfo return socket module
  enums instead of plain integers for the socket type and address
  family on Python 3.

- Make gevent's pywsgi server set the non-standard environment value
  wsgi.input_terminated to True.

- Make gevent.util.assert_switches produce more informative messages
  when the assertion fails.

- Python 2: If a gevent.socket was closed asynchronously (in a
  different greenlet or a hub callback), AttributeError could result
  if the socket was already in use. Now the correct socket.error
  should be raised.

- Fix :meth:gevent.threadpool.ThreadPool.join raising a
  UserWarning when using the libuv backend.

- Fix FileObjectPosix.seek raising OSError when it should have
  been IOError on Python 2.

- Upgrade libuv from 1.23.2 to 1.24.0.

diffstat:

 net/py-gevent/Makefile |    8 +-
 net/py-gevent/PLIST    |  501 ++++++++++++++++++++++++++++++++++++++++++++++++-
 net/py-gevent/distinfo |   10 +-
 3 files changed, 507 insertions(+), 12 deletions(-)

diffs (truncated from 653 to 300 lines):

diff -r 25a6dd127996 -r 73372ef61889 net/py-gevent/Makefile
--- a/net/py-gevent/Makefile    Tue Feb 19 12:14:22 2019 +0000
+++ b/net/py-gevent/Makefile    Tue Feb 19 12:26:13 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.13 2018/10/23 07:01:01 adam Exp $
+# $NetBSD: Makefile,v 1.14 2019/02/19 12:26:13 adam Exp $
 
-DISTNAME=      gevent-1.3.7
+DISTNAME=      gevent-1.4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=g/gevent/}
@@ -37,10 +37,6 @@
 BUILDLINK_TRANSFORM.SunOS+=    opt:-D_XOPEN_SOURCE=500:-D_XOPEN_SOURCE=600
 .endif
 
-do-test:
-       cd ${WRKSRC}/src/greentest && \
-               ${PYTHONBIN} testrunner.py --config known_failures.py
-
 .include "../../devel/py-cython/buildlink3.mk"
 .include "../../devel/libev/buildlink3.mk"
 .include "../../lang/python/egg.mk"
diff -r 25a6dd127996 -r 73372ef61889 net/py-gevent/PLIST
--- a/net/py-gevent/PLIST       Tue Feb 19 12:14:22 2019 +0000
+++ b/net/py-gevent/PLIST       Tue Feb 19 12:26:13 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2018/09/27 20:52:55 tnn Exp $
+@comment $NetBSD: PLIST,v 1.10 2019/02/19 12:26:13 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -6,6 +6,8 @@
 ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
 ${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/gevent/__abstract_linkable.pxd
+${PYSITELIB}/gevent/__abstract_linkable.so
 ${PYSITELIB}/gevent/__greenlet_primitives.pxd
 ${PYSITELIB}/gevent/__greenlet_primitives.so
 ${PYSITELIB}/gevent/__hub_local.pxd
@@ -25,6 +27,11 @@
 ${PYSITELIB}/gevent/__tracer.so
 ${PYSITELIB}/gevent/__waiter.pxd
 ${PYSITELIB}/gevent/__waiter.so
+${PYSITELIB}/gevent/_abstract_linkable.c
+${PYSITELIB}/gevent/_abstract_linkable.html
+${PYSITELIB}/gevent/_abstract_linkable.py
+${PYSITELIB}/gevent/_abstract_linkable.pyc
+${PYSITELIB}/gevent/_abstract_linkable.pyo
 ${PYSITELIB}/gevent/_compat.py
 ${PYSITELIB}/gevent/_compat.pyc
 ${PYSITELIB}/gevent/_compat.pyo
@@ -54,22 +61,27 @@
 ${PYSITELIB}/gevent/_greenlet.pxd
 ${PYSITELIB}/gevent/_greenlet.so
 ${PYSITELIB}/gevent/_greenlet_primitives.c
+${PYSITELIB}/gevent/_greenlet_primitives.html
 ${PYSITELIB}/gevent/_greenlet_primitives.py
 ${PYSITELIB}/gevent/_greenlet_primitives.pyc
 ${PYSITELIB}/gevent/_greenlet_primitives.pyo
 ${PYSITELIB}/gevent/_hub_local.c
+${PYSITELIB}/gevent/_hub_local.html
 ${PYSITELIB}/gevent/_hub_local.py
 ${PYSITELIB}/gevent/_hub_local.pyc
 ${PYSITELIB}/gevent/_hub_local.pyo
 ${PYSITELIB}/gevent/_hub_primitives.c
+${PYSITELIB}/gevent/_hub_primitives.html
 ${PYSITELIB}/gevent/_hub_primitives.py
 ${PYSITELIB}/gevent/_hub_primitives.pyc
 ${PYSITELIB}/gevent/_hub_primitives.pyo
 ${PYSITELIB}/gevent/_ident.c
+${PYSITELIB}/gevent/_ident.html
 ${PYSITELIB}/gevent/_ident.py
 ${PYSITELIB}/gevent/_ident.pyc
 ${PYSITELIB}/gevent/_ident.pyo
 ${PYSITELIB}/gevent/_imap.c
+${PYSITELIB}/gevent/_imap.html
 ${PYSITELIB}/gevent/_imap.py
 ${PYSITELIB}/gevent/_imap.pyc
 ${PYSITELIB}/gevent/_imap.pyo
@@ -87,6 +99,7 @@
 ${PYSITELIB}/gevent/_queue.pxd
 ${PYSITELIB}/gevent/_queue.so
 ${PYSITELIB}/gevent/_semaphore.c
+${PYSITELIB}/gevent/_semaphore.html
 ${PYSITELIB}/gevent/_semaphore.py
 ${PYSITELIB}/gevent/_semaphore.pyc
 ${PYSITELIB}/gevent/_semaphore.pyo
@@ -115,6 +128,7 @@
 ${PYSITELIB}/gevent/_threading.pyc
 ${PYSITELIB}/gevent/_threading.pyo
 ${PYSITELIB}/gevent/_tracer.c
+${PYSITELIB}/gevent/_tracer.html
 ${PYSITELIB}/gevent/_tracer.py
 ${PYSITELIB}/gevent/_tracer.pyc
 ${PYSITELIB}/gevent/_tracer.pyo
@@ -125,6 +139,7 @@
 ${PYSITELIB}/gevent/_util_py2.pyc
 ${PYSITELIB}/gevent/_util_py2.pyo
 ${PYSITELIB}/gevent/_waiter.c
+${PYSITELIB}/gevent/_waiter.html
 ${PYSITELIB}/gevent/_waiter.py
 ${PYSITELIB}/gevent/_waiter.pyc
 ${PYSITELIB}/gevent/_waiter.pyo
@@ -144,6 +159,7 @@
 ${PYSITELIB}/gevent/core.pyc
 ${PYSITELIB}/gevent/core.pyo
 ${PYSITELIB}/gevent/event.c
+${PYSITELIB}/gevent/event.html
 ${PYSITELIB}/gevent/event.py
 ${PYSITELIB}/gevent/event.pyc
 ${PYSITELIB}/gevent/event.pyo
@@ -157,6 +173,7 @@
 ${PYSITELIB}/gevent/fileobject.pyc
 ${PYSITELIB}/gevent/fileobject.pyo
 ${PYSITELIB}/gevent/greenlet.c
+${PYSITELIB}/gevent/greenlet.html
 ${PYSITELIB}/gevent/greenlet.py
 ${PYSITELIB}/gevent/greenlet.pyc
 ${PYSITELIB}/gevent/greenlet.pyo
@@ -177,6 +194,7 @@
 ${PYSITELIB}/gevent/libev/callbacks.h
 ${PYSITELIB}/gevent/libev/corecext.c
 ${PYSITELIB}/gevent/libev/corecext.h
+${PYSITELIB}/gevent/libev/corecext.html
 ${PYSITELIB}/gevent/libev/corecext.pyx
 ${PYSITELIB}/gevent/libev/corecext.so
 ${PYSITELIB}/gevent/libev/corecffi.py
@@ -206,6 +224,7 @@
 ${PYSITELIB}/gevent/libuv/watcher.pyc
 ${PYSITELIB}/gevent/libuv/watcher.pyo
 ${PYSITELIB}/gevent/local.c
+${PYSITELIB}/gevent/local.html
 ${PYSITELIB}/gevent/local.py
 ${PYSITELIB}/gevent/local.pyc
 ${PYSITELIB}/gevent/local.pyo
@@ -225,6 +244,7 @@
 ${PYSITELIB}/gevent/pywsgi.pyc
 ${PYSITELIB}/gevent/pywsgi.pyo
 ${PYSITELIB}/gevent/queue.c
+${PYSITELIB}/gevent/queue.html
 ${PYSITELIB}/gevent/queue.py
 ${PYSITELIB}/gevent/queue.pyc
 ${PYSITELIB}/gevent/queue.pyo
@@ -238,6 +258,7 @@
 ${PYSITELIB}/gevent/resolver/blocking.pyc
 ${PYSITELIB}/gevent/resolver/blocking.pyo
 ${PYSITELIB}/gevent/resolver/cares.c
+${PYSITELIB}/gevent/resolver/cares.html
 ${PYSITELIB}/gevent/resolver/cares.pyx
 ${PYSITELIB}/gevent/resolver/cares.so
 ${PYSITELIB}/gevent/resolver/cares_ntop.h
@@ -274,6 +295,484 @@
 ${PYSITELIB}/gevent/subprocess.py
 ${PYSITELIB}/gevent/subprocess.pyc
 ${PYSITELIB}/gevent/subprocess.pyo
+${PYSITELIB}/gevent/testing/__init__.py
+${PYSITELIB}/gevent/testing/__init__.pyc
+${PYSITELIB}/gevent/testing/__init__.pyo
+${PYSITELIB}/gevent/testing/coveragesite/sitecustomize.py
+${PYSITELIB}/gevent/testing/coveragesite/sitecustomize.pyc
+${PYSITELIB}/gevent/testing/coveragesite/sitecustomize.pyo
+${PYSITELIB}/gevent/testing/errorhandler.py
+${PYSITELIB}/gevent/testing/errorhandler.pyc
+${PYSITELIB}/gevent/testing/errorhandler.pyo
+${PYSITELIB}/gevent/testing/exception.py
+${PYSITELIB}/gevent/testing/exception.pyc
+${PYSITELIB}/gevent/testing/exception.pyo
+${PYSITELIB}/gevent/testing/flaky.py
+${PYSITELIB}/gevent/testing/flaky.pyc
+${PYSITELIB}/gevent/testing/flaky.pyo
+${PYSITELIB}/gevent/testing/hub.py
+${PYSITELIB}/gevent/testing/hub.pyc
+${PYSITELIB}/gevent/testing/hub.pyo
+${PYSITELIB}/gevent/testing/leakcheck.py
+${PYSITELIB}/gevent/testing/leakcheck.pyc
+${PYSITELIB}/gevent/testing/leakcheck.pyo
+${PYSITELIB}/gevent/testing/modules.py
+${PYSITELIB}/gevent/testing/modules.pyc
+${PYSITELIB}/gevent/testing/modules.pyo
+${PYSITELIB}/gevent/testing/monkey_test.py
+${PYSITELIB}/gevent/testing/monkey_test.pyc
+${PYSITELIB}/gevent/testing/monkey_test.pyo
+${PYSITELIB}/gevent/testing/openfiles.py
+${PYSITELIB}/gevent/testing/openfiles.pyc
+${PYSITELIB}/gevent/testing/openfiles.pyo
+${PYSITELIB}/gevent/testing/params.py
+${PYSITELIB}/gevent/testing/params.pyc
+${PYSITELIB}/gevent/testing/params.pyo
+${PYSITELIB}/gevent/testing/patched_tests_setup.py
+${PYSITELIB}/gevent/testing/patched_tests_setup.pyc
+${PYSITELIB}/gevent/testing/patched_tests_setup.pyo
+${PYSITELIB}/gevent/testing/six.py
+${PYSITELIB}/gevent/testing/six.pyc
+${PYSITELIB}/gevent/testing/six.pyo
+${PYSITELIB}/gevent/testing/skipping.py
+${PYSITELIB}/gevent/testing/skipping.pyc
+${PYSITELIB}/gevent/testing/skipping.pyo
+${PYSITELIB}/gevent/testing/sockets.py
+${PYSITELIB}/gevent/testing/sockets.pyc
+${PYSITELIB}/gevent/testing/sockets.pyo
+${PYSITELIB}/gevent/testing/switching.py
+${PYSITELIB}/gevent/testing/switching.pyc
+${PYSITELIB}/gevent/testing/switching.pyo
+${PYSITELIB}/gevent/testing/sysinfo.py
+${PYSITELIB}/gevent/testing/sysinfo.pyc
+${PYSITELIB}/gevent/testing/sysinfo.pyo
+${PYSITELIB}/gevent/testing/testcase.py
+${PYSITELIB}/gevent/testing/testcase.pyc
+${PYSITELIB}/gevent/testing/testcase.pyo
+${PYSITELIB}/gevent/testing/testrunner.py
+${PYSITELIB}/gevent/testing/testrunner.pyc
+${PYSITELIB}/gevent/testing/testrunner.pyo
+${PYSITELIB}/gevent/testing/timing.py
+${PYSITELIB}/gevent/testing/timing.pyc
+${PYSITELIB}/gevent/testing/timing.pyo
+${PYSITELIB}/gevent/testing/util.py
+${PYSITELIB}/gevent/testing/util.pyc
+${PYSITELIB}/gevent/testing/util.pyo
+${PYSITELIB}/gevent/tests/2_7_keycert.pem
+${PYSITELIB}/gevent/tests/__init__.py
+${PYSITELIB}/gevent/tests/__init__.pyc
+${PYSITELIB}/gevent/tests/__init__.pyo
+${PYSITELIB}/gevent/tests/__main__.py
+${PYSITELIB}/gevent/tests/__main__.pyc
+${PYSITELIB}/gevent/tests/__main__.pyo
+${PYSITELIB}/gevent/tests/_blocks_at_top_level.py
+${PYSITELIB}/gevent/tests/_blocks_at_top_level.pyc
+${PYSITELIB}/gevent/tests/_blocks_at_top_level.pyo
+${PYSITELIB}/gevent/tests/_import_import_patch.py
+${PYSITELIB}/gevent/tests/_import_import_patch.pyc
+${PYSITELIB}/gevent/tests/_import_import_patch.pyo
+${PYSITELIB}/gevent/tests/_import_patch.py
+${PYSITELIB}/gevent/tests/_import_patch.pyc
+${PYSITELIB}/gevent/tests/_import_patch.pyo
+${PYSITELIB}/gevent/tests/_import_wait.py
+${PYSITELIB}/gevent/tests/_import_wait.pyc
+${PYSITELIB}/gevent/tests/_import_wait.pyo
+${PYSITELIB}/gevent/tests/_imports_at_top_level.py
+${PYSITELIB}/gevent/tests/_imports_at_top_level.pyc
+${PYSITELIB}/gevent/tests/_imports_at_top_level.pyo
+${PYSITELIB}/gevent/tests/_imports_imports_at_top_level.py
+${PYSITELIB}/gevent/tests/_imports_imports_at_top_level.pyc
+${PYSITELIB}/gevent/tests/_imports_imports_at_top_level.pyo
+${PYSITELIB}/gevent/tests/badcert.pem
+${PYSITELIB}/gevent/tests/badkey.pem
+${PYSITELIB}/gevent/tests/getaddrinfo_module.py
+${PYSITELIB}/gevent/tests/getaddrinfo_module.pyc
+${PYSITELIB}/gevent/tests/getaddrinfo_module.pyo
+${PYSITELIB}/gevent/tests/hosts_file.txt
+${PYSITELIB}/gevent/tests/https_svn_python_org_root.pem
+${PYSITELIB}/gevent/tests/keycert.pem
+${PYSITELIB}/gevent/tests/known_failures.py
+${PYSITELIB}/gevent/tests/known_failures.pyc
+${PYSITELIB}/gevent/tests/known_failures.pyo
+${PYSITELIB}/gevent/tests/lock_tests.py
+${PYSITELIB}/gevent/tests/lock_tests.pyc
+${PYSITELIB}/gevent/tests/lock_tests.pyo
+${PYSITELIB}/gevent/tests/monkey_package/__main__.py
+${PYSITELIB}/gevent/tests/monkey_package/__main__.pyc
+${PYSITELIB}/gevent/tests/monkey_package/__main__.pyo
+${PYSITELIB}/gevent/tests/monkey_package/issue302monkey.py
+${PYSITELIB}/gevent/tests/monkey_package/issue302monkey.pyc
+${PYSITELIB}/gevent/tests/monkey_package/issue302monkey.pyo
+${PYSITELIB}/gevent/tests/monkey_package/script.py
+${PYSITELIB}/gevent/tests/monkey_package/script.pyc
+${PYSITELIB}/gevent/tests/monkey_package/script.pyo
+${PYSITELIB}/gevent/tests/nullcert.pem
+${PYSITELIB}/gevent/tests/server.crt
+${PYSITELIB}/gevent/tests/server.key
+${PYSITELIB}/gevent/tests/sha256.pem
+${PYSITELIB}/gevent/tests/test__GreenletExit.py
+${PYSITELIB}/gevent/tests/test__GreenletExit.pyc
+${PYSITELIB}/gevent/tests/test__GreenletExit.pyo
+${PYSITELIB}/gevent/tests/test___config.py
+${PYSITELIB}/gevent/tests/test___config.pyc
+${PYSITELIB}/gevent/tests/test___config.pyo
+${PYSITELIB}/gevent/tests/test___example_servers.py
+${PYSITELIB}/gevent/tests/test___example_servers.pyc
+${PYSITELIB}/gevent/tests/test___example_servers.pyo
+${PYSITELIB}/gevent/tests/test___ident.py
+${PYSITELIB}/gevent/tests/test___ident.pyc
+${PYSITELIB}/gevent/tests/test___ident.pyo
+${PYSITELIB}/gevent/tests/test___monitor.py
+${PYSITELIB}/gevent/tests/test___monitor.pyc
+${PYSITELIB}/gevent/tests/test___monitor.pyo
+${PYSITELIB}/gevent/tests/test___monkey_patching.py
+${PYSITELIB}/gevent/tests/test___monkey_patching.pyc
+${PYSITELIB}/gevent/tests/test___monkey_patching.pyo
+${PYSITELIB}/gevent/tests/test__all__.py
+${PYSITELIB}/gevent/tests/test__all__.pyc
+${PYSITELIB}/gevent/tests/test__all__.pyo
+${PYSITELIB}/gevent/tests/test__api.py
+${PYSITELIB}/gevent/tests/test__api.pyc
+${PYSITELIB}/gevent/tests/test__api.pyo
+${PYSITELIB}/gevent/tests/test__api_timeout.py
+${PYSITELIB}/gevent/tests/test__api_timeout.pyc
+${PYSITELIB}/gevent/tests/test__api_timeout.pyo
+${PYSITELIB}/gevent/tests/test__ares_host_result.py



Home | Main Index | Thread Index | Old Index