Commit 9022c0a4 authored by Jason Madden's avatar Jason Madden Committed by GitHub

Merge pull request #921 from gevent/issue916

Build OS X wheels with -D_DARWIN_FEATURE_CLOCK_GETTIME=0 for compatib…

[skip ci]
parents d4d106ad 82ef389e
...@@ -16,11 +16,15 @@ ...@@ -16,11 +16,15 @@
for 3.6 compatibility. for 3.6 compatibility.
- The ``_DummyThread`` objects created by calling - The ``_DummyThread`` objects created by calling
:func:`threading.current_thread` from inside a raw :func:`threading.current_thread` from inside a raw
:class:`greenlet.greenlet` now clean up after themselves when the :class:`greenlet.greenlet` in a system with monkey-patched
``threading`` now clean up after themselves when the
greenlet dies (:class:`gevent.Greenlet`-based ``_DummyThreads`` have greenlet dies (:class:`gevent.Greenlet`-based ``_DummyThreads`` have
always cleaned up). This requires the use of a :class:`weakref.ref` always cleaned up). This requires the use of a :class:`weakref.ref`
(and may not be timely on PyPy). (and may not be timely on PyPy).
Reported in :issue:`918` by frozenoctobeer. Reported in :issue:`918` by frozenoctobeer.
- Build OS X wheels with ``-D_DARWIN_FEATURE_CLOCK_GETTIME=0`` for
compatibility with OS X releases before 10.12 Sierra. Reported by
Ned Batchelder in :issue:`916`.
1.2.0 (2016-12-23) 1.2.0 (2016-12-23)
================== ==================
......
...@@ -15,6 +15,12 @@ unset CFLAGS ...@@ -15,6 +15,12 @@ unset CFLAGS
unset CXXFLAGS unset CXXFLAGS
unset CPPFLAGS unset CPPFLAGS
# If we're building on 10.12, we have to exclude clock_gettime
# because it's not available on earlier releases and leads to
# segfaults because the symbol clock_gettime is NULL.
# See https://github.com/gevent/gevent/issues/916
export CPPFLAGS="-D_DARWIN_FEATURE_CLOCK_GETTIME=0"
BASE=`pwd`/../../ BASE=`pwd`/../../
BASE=`greadlink -f $BASE` BASE=`greadlink -f $BASE`
......
...@@ -16,10 +16,10 @@ _version_info = namedtuple('version_info', ...@@ -16,10 +16,10 @@ _version_info = namedtuple('version_info',
#: The programatic version identifier. The fields have (roughly) the #: The programatic version identifier. The fields have (roughly) the
#: same meaning as :data:`sys.version_info` #: same meaning as :data:`sys.version_info`
#: Deprecated in 1.2. #: Deprecated in 1.2.
version_info = _version_info(1, 2, 0, 'final', 1) version_info = _version_info(1, 2, 1, 'final', 1)
#: The human-readable PEP 440 version identifier #: The human-readable PEP 440 version identifier
__version__ = '1.2.0' __version__ = '1.2.1dev0'
__all__ = ['get_hub', __all__ = ['get_hub',
......
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