diff --git a/gevent-20.12.0.tar.gz b/gevent-20.12.0.tar.gz new file mode 100644 index 0000000..4641833 --- /dev/null +++ b/gevent-20.12.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bf23e14db991918cc67a9def3f073828b1c50a303364c4384ef9be0aeda0aad5 +size 4276595 diff --git a/gevent-20.9.0.tar.gz b/gevent-20.9.0.tar.gz deleted file mode 100644 index 782e1b6..0000000 --- a/gevent-20.9.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a43d6b8335eae4d1ebb3f9585bcb78c397c6f1f141eb2449838167cbb4a40ee3 -size 4237730 diff --git a/python-gevent.changes b/python-gevent.changes index 32d203f..20e7ea4 100644 --- a/python-gevent.changes +++ b/python-gevent.changes @@ -1,3 +1,43 @@ +------------------------------------------------------------------- +Tue Feb 9 21:32:04 UTC 2021 - Dirk Müller + +- update to 20.12.0: + * Make worker threads created by :class:`gevent.threadpool.ThreadPool` install + the :func:`threading.setprofile` and :func:`threading.settrace` hooks + while tasks are running. This provides visibility to profiling and + tracing tools like yappi. + * Incorrectly passing an exception *instance* instead of an exception + *type* to `gevent.Greenlet.kill` or `gevent.killall` no longer prints + an exception to stderr. + * Make destroying a hub try harder to more forcibly stop loop processing + when there are outstanding callbacks or IO operations scheduled. + * Improve the ability to use monkey-patched locks, and + `gevent.lock.BoundedSemaphore`, across threads, especially when the + various threads might not have a gevent hub or any other active + greenlets. In particular, this handles some cases that previously + raised ``LoopExit`` or would hang. Note that this may not be reliable + on PyPy on Windows; such an environment is not currently recommended. + * Make error reporting when a greenlet suffers a `RecursionError` more + reliable. + * gevent.pywsgi: Avoid printing an extra traceback ("TypeError: not + enough arguments for format string") to standard error on certain + invalid client requests. + * Add support for PyPy2 7.3.3. + * Python 2: Make ``gevent.subprocess.Popen.stdin`` objects have a + ``write`` method that guarantees to write the entire argument in + binary, unbuffered mode. This may require multiple trips around the + event loop, but more closely matches the behaviour of the Python 2 + standard library (and gevent prior to 1.5). The number of bytes + written is still returned (instead of ``None``). + See :issue:`1711`. + * Make `gevent.pywsgi` stop trying to enforce the rules for reading chunked input or + ``Content-Length`` terminated input when the connection is being + upgraded, for example to a websocket connection. Likewise, if the + protocol was switched by returning a ``101`` status, stop trying to + automatically chunk the responses. + * Remove the ``__dict__`` attribute from `gevent.socket.socket` objects. The + standard library socket do not have a ``__dict__``. + ------------------------------------------------------------------- Fri Dec 11 23:52:16 UTC 2020 - Matej Cepl diff --git a/python-gevent.spec b/python-gevent.spec index 4939baf..b8c69af 100644 --- a/python-gevent.spec +++ b/python-gevent.spec @@ -1,7 +1,7 @@ # # spec file for package python-gevent # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,10 +24,10 @@ %endif %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define modversion 20.9.0 +%define modversion 20.12.0 %define modname gevent Name: python-gevent -Version: 20.9.0 +Version: 20.12.0 Release: 0 Summary: Python network library that uses greenlet and libevent License: MIT