Commit 73b85032 authored by Jason Madden's avatar Jason Madden

Preparing release 22.08.0

parent 65417feb
......@@ -6,6 +6,53 @@
.. towncrier release notes start
22.08.0 (2022-10-08)
====================
Features
--------
- Windows: Test and provide binary wheels for PyPy3.7.
Note that there may be issues with subprocesses, signals, and it may
be slow.
See :issue:`1798`.
- Upgrade embedded c-ares to 1.18.1.
See :issue:`1847`.
- Upgrade bundled libuv to 1.42.0 from 1.40.0.
See :issue:`1851`.
- Added preliminary support for Python 3.11 (rc2 and later).
Some platforms may or may not have binary wheels at this time.
.. important:: Support for legacy versions of Python, including 2.7
and 3.6, will be ending soon. The
maintenance burden has become too great and the
maintainer's time is too limited.
Ideally, there will be a release of gevent compatible
with a final release of greenlet 2.0 that still
supports those legacy versions, but that may not be
possible; this may be the final release to support them.
:class:`gevent.threadpool.ThreadPool` can now optionally expire idle
threads. This is used by default in the implicit thread pool used for
DNS requests and other user-submitted tasks; other uses of a
thread-pool need to opt-in to this.
See :issue:`1867`.
Bugfixes
--------
- Truly disable the effects of compiling with ``-ffast-math``.
See :issue:`1864`.
----
21.12.0 (2021-12-11)
====================
......
Windows: Test and provide binary wheels for PyPy3.7.
Note that there may be issues with subprocesses, signals, and it may
be slow.
Upgrade embedded c-ares to 1.18.1.
Upgrade bundled libuv to 1.42.0 from 1.40.0.
Truly disable the effects of compiling with ``-ffast-math``.
Added preliminary support for Python 3.11 (rc2 and later).
Some platforms may or may not have binary wheels at this time.
.. important:: Support for legacy versions of Python, including 2.7
and 3.6, will be ending soon. The
maintenance burden has become too great and the
maintainer's time is too limited.
Ideally, there will be a release of gevent compatible
with a final release of greenlet 2.0 that still
supports those legacy versions, but that may not be
possible; this may be the final release to support them.
:class:`gevent.threadpool.ThreadPool` can now optionally expire idle
threads. This is used by default in the implicit thread pool used for
DNS requests and other user-submitted tasks; other uses of a
thread-pool need to opt-in to this.
......@@ -27,7 +27,7 @@ version_info = _version_info(20, 0, 0, 'dev', 0) # XXX: Remove me
#: Use ``pkg_resources.parse_version(__version__)`` or
#: ``packaging.version.Version(__version__)`` to get a machine-usable
#: value.
__version__ = '21.12.1.dev0'
__version__ = '22.08.0'
__all__ = [
......
......@@ -7,7 +7,7 @@ is an object of :class:`Config`.
.. versionadded:: 1.3a2
.. versionchanged:: NEXT
.. versionchanged:: 22.08.0
Invoking this module like ``python -m gevent._config`` will
print a help message about available configuration properties.
This is handy to quickly look for environment variables.
......@@ -362,7 +362,7 @@ class ThreadpoolIdleTaskTimeout(FloatSettingMixin, Setting):
Use -1 for no timeout.
.. versionadded:: NEXT
.. versionadded:: 22.08.0
"""
# This value is picked pretty much arbitrarily.
......
......@@ -81,7 +81,7 @@ def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, source_address=N
If the host part of the address includes an IPv6 scope ID,
it will be used instead of ignored, if the platform supplies
:func:`socket.inet_pton`.
.. versionchanged:: NEXT
.. versionchanged:: 22.08.0
Add the *all_errors* argument. This only has meaning on Python 3.11;
it is a programming error to pass it on earlier versions.
"""
......
......@@ -393,7 +393,7 @@ def check_output(*popenargs, **kwargs):
.. versionchanged:: 1.2a1
The ``input`` keyword argument is now accepted on all supported
versions of Python, not just Python 3
.. versionchanged:: NEXT
.. versionchanged:: 22.08.0
Passing the ``check`` keyword argument is forbidden, just as in Python 3.11.
"""
timeout = kwargs.pop('timeout', None)
......@@ -651,7 +651,7 @@ class Popen(object):
Added the ``pipesize`` argument for compatibility with Python 3.10.
This is ignored on all platforms.
.. versionchanged:: NEXT
.. versionchanged:: 22.08.0
Added the ``process_group`` and ``check`` arguments for compatibility with
Python 3.11.
"""
......
......@@ -293,7 +293,7 @@ class ThreadPool(GroupMappingMixin):
.. versionchanged:: 20.12.0
Install the profile and trace functions in the worker thread while
the worker thread is running the supplied task.
.. versionchanged:: NEXT
.. versionchanged:: 22.08.0
Add the option to let idle threads expire and be removed
from the pool after *idle_task_timeout* seconds (-1 for no
timeout)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment