Commit f9e578fc authored by Jason Madden's avatar Jason Madden

Reorganize the changelog for clarity. [skip ci]

parent bcfc324f
......@@ -9,10 +9,12 @@
- Nothing changed yet.
1.5a1 (2019-05-02)
==================
Platform and Packaging Updates
------------------------------
- Python version updates: gevent is now tested with CPython 2.7.16,
3.5.6, 3.6.8, and 3.7.2. It is also tested with PyPy2 7.1 and PyPy 3.6
7.1 (PyPy 7.0 and 7.1 were not capable of running SSL tests on Travis
......@@ -21,15 +23,39 @@
- Support for Python 3.4 has been removed, as that version is no
longer supported uptstream.
- gevent is now compiled with Cython 0.29.6 and cffi 1.12.2.
- gevent binary wheels are now manylinux2010 and include libuv
support. pip 19 is needed to install them. See :issue:`1346`.
- gevent is now compiled with Cython 0.29.6 and cffi 1.12.2.
- gevent sources include a pyproject.toml file, specifying the build
requirements and enabling build isolation. pip 18 or above is needed
to take advantage of this. See :issue:`1180`.
- libev-cffi: Let the compiler fill in the definition of ``nlink_t`` for
``st_nlink`` in ``struct stat``, instead of trying to guess it
ourself. Reported in :issue:`1372` by Andreas Schwab.
- Remove the ``Makefile``. Its most useful commands, ``make clean``
and ``make distclean``, can now be accomplished in a cross-platform
way using ``python setup.py clean`` and ``python setup.py clean
-a``, respectively. The remainder of the ``Makefile`` contained
Travis CI commands that have been moved to ``.travis.yml``.
- Deprecate the ``EMBED`` and ``LIBEV_EMBED``, etc, build-time environment
variables. Instead, use ``GEVENTSETUP_EMBED`` and
``GEVENTSETUP_EMBED_LIBEV``. See :issue:`1402`.
- The CFFI backends now respect the embed build-time setting. This allows
building the libuv backend without embedding libuv (except on Windows).
- Support test resources. This allows disabling tests that use the
network. See :ref:`limiting-test-resource-usage` for more.
Library and Dependency Updates
------------------------------
- Upgrade libuv from 1.24.0 to 1.27.0.
- Upgrade libev from 4.23 to 4.25 and update its embedded
......@@ -39,20 +65,38 @@
- dnspython >= 1.16.0 is now required for the dnspython resolver.
Bug fixes
---------
- Python 3.7 subprocess: Copy a ``STARTUPINFO`` passed as a parameter.
Contributed by AndCycle in :pr:`1352`.
- subprocess: ``WIFSTOPPED`` and ``SIGCHLD`` are now handled for
determining ``Popen.returncode``. See https://bugs.python.org/issue29335
- The result of ``gevent.ssl.SSLSocket.makefile()`` can be used as a
context manager on Python 2.
determining ``Popen.returncode``. See
https://bugs.python.org/issue29335
- subprocess: No longer close redirected FDs if they are in
``pass_fds``. This is `a bugfix from Python 3.7
<https://bugs.python.org/issue32270>`_ applied to all versions
gevent runs on.
- Fix certain operations on a Greenlet in an invalid state (with an
invalid parent) to raise a `TypeError` sooner rather than an
`AttributeError` later. This is also slightly faster on CPython with
Cython. Inspired by :issue:`1363` as reported by Carson Ip. This
means that some extreme corner cases that might have passed by
replacing a Greenlet's parent with something that's not a gevent hub
now no longer will.
- Fix: The ``spawning_stack`` for Greenlets on CPython should now have
correct line numbers in more cases.
Enhancements
------------
- The result of ``gevent.ssl.SSLSocket.makefile()`` can be used as a
context manager on Python 2.
- Python 2: If the backport of the ``_thread_`` module from
``futures`` has already been imported at monkey-patch time, also
patch this module to be consistent. The ``pkg_resources`` package
......@@ -66,41 +110,11 @@
- Avoid unbounded memory usage when creating very deep spawn trees.
Reported in :issue:`1371` by dmrlawson.
- libev-cffi: Let the compiler fill in the definition of ``nlink_t`` for
``st_nlink`` in ``struct stat``, instead of trying to guess it
ourself. Reported in :issue:`1372` by Andreas Schwab.
- Win: Make ``examples/process.py`` do something useful. See
:pr:`1378` by Robert Iannucci.
- Fix certain operations on a Greenlet in an invalid state (with an
invalid parent) to raise a `TypeError` sooner rather than an
`AttributeError` later. This is also slightly faster on CPython with
Cython. Inspired by :issue:`1363` as reported by Carson Ip. This
means that some extreme corner cases that might have passed by
replacing a Greenlet's parent with something that's not a gevent hub
now no longer will.
- Fix: The ``spawning_stack`` for Greenlets on CPython should now have
correct line numbers in more cases.
- Spawning greenlets can be up to 10% faster.
- Remove the ``Makefile``. Its most useful commands, ``make clean``
and ``make distclean``, can now be accomplished in a cross-platform
way using ``python setup.py clean`` and ``python setup.py clean
-a``, respectively. The remainder of the ``Makefile`` contained
Travis CI commands that have been moved to ``.travis.yml``.
- Deprecate the ``EMBED`` and ``LIBEV_EMBED``, etc, build-time environment
variables. Instead, use ``GEVENTSETUP_EMBED`` and
``GEVENTSETUP_EMBED_LIBEV``. See :issue:`1402`.
- The CFFI backends now respect the embed build-time setting. This allows
building the libuv backend without embedding libuv (except on Windows).
- Support test resources. This allows disabling tests that use the
network. See :ref:`limiting-test-resource-usage` for more.
1.4.0 (2019-01-04)
==================
......
......@@ -38,6 +38,12 @@ CentOS 6 is the baseline for this tag.
Library Updates
===============
The bundled version of libuv has been updated from 1.24 to 1.27, libev
has been updated from 4.23 to 4.25, and c-ares has been updated from
1.24 to 1.15.
Version 1.16 or newer of dnspython is required to use the dnspython resolver.
Test Updates
============
......@@ -48,4 +54,4 @@ intended to support downstream packagers. For example, to disable
tests that require Internet access, one could disable the ``network``
resource using ``python -m gevent.tests -u-network`` or
``GEVENTTEST_USE_RESOURCES=-network python -m gevent.tests``. See
TODO: WRITE ME for more information.
:ref:`limiting-test-resource-usage` for more information.
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