Skip to content

Commit

Permalink
Preparing release 22.08.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Oct 8, 2022
1 parent 65417fe commit 73b8503
Show file tree
Hide file tree
Showing 11 changed files with 54 additions and 32 deletions.
47 changes: 47 additions & 0 deletions CHANGES.rst
Expand Up @@ -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)
====================

Expand Down
4 changes: 0 additions & 4 deletions docs/changes/1798.feature

This file was deleted.

1 change: 0 additions & 1 deletion docs/changes/1847.feature

This file was deleted.

1 change: 0 additions & 1 deletion docs/changes/1851.feature

This file was deleted.

1 change: 0 additions & 1 deletion docs/changes/1864.bugfix

This file was deleted.

18 changes: 0 additions & 18 deletions docs/changes/1867.feature

This file was deleted.

2 changes: 1 addition & 1 deletion src/gevent/__init__.py
Expand Up @@ -27,7 +27,7 @@
#: 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__ = [
Expand Down
4 changes: 2 additions & 2 deletions src/gevent/_config.py
Expand Up @@ -7,7 +7,7 @@
.. 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.
Expand Down Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/gevent/socket.py
Expand Up @@ -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.
"""
Expand Down
4 changes: 2 additions & 2 deletions src/gevent/subprocess.py
Expand Up @@ -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)
Expand Down Expand Up @@ -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.
"""
Expand Down
2 changes: 1 addition & 1 deletion src/gevent/threadpool.py
Expand Up @@ -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)
Expand Down

0 comments on commit 73b8503

Please sign in to comment.