diff --git a/ci/requirements-2.7.build b/ci/requirements-2.7.build index d1cc61df0a77c..e24baa98d956e 100644 --- a/ci/requirements-2.7.build +++ b/ci/requirements-2.7.build @@ -3,4 +3,4 @@ python-dateutil=2.5.0 pytz=2013b nomkl numpy -cython=0.23 +cython=0.24 diff --git a/ci/requirements-2.7_COMPAT.build b/ci/requirements-2.7_COMPAT.build index aa767c1001196..0a83a7346e8b5 100644 --- a/ci/requirements-2.7_COMPAT.build +++ b/ci/requirements-2.7_COMPAT.build @@ -1,5 +1,5 @@ python=2.7* numpy=1.9.2 -cython=0.23 +cython=0.24 python-dateutil=2.5.0 pytz=2013b diff --git a/ci/requirements-2.7_LOCALE.build b/ci/requirements-2.7_LOCALE.build index 96cb184ec2665..a6f2e25387910 100644 --- a/ci/requirements-2.7_LOCALE.build +++ b/ci/requirements-2.7_LOCALE.build @@ -2,4 +2,4 @@ python=2.7* python-dateutil pytz=2013b numpy=1.9.2 -cython=0.23 +cython=0.24 diff --git a/doc/source/enhancingperf.rst b/doc/source/enhancingperf.rst index 264bd1de1fc77..cbe945e0cf2cf 100644 --- a/doc/source/enhancingperf.rst +++ b/doc/source/enhancingperf.rst @@ -94,8 +94,7 @@ hence we'll concentrate our efforts cythonizing these two functions. Plain cython ~~~~~~~~~~~~ -First we're going to need to import the cython magic function to ipython (for -cython versions < 0.21 you can use ``%load_ext cythonmagic``): +First we're going to need to import the cython magic function to ipython: .. ipython:: python :okwarning: diff --git a/doc/source/install.rst b/doc/source/install.rst index ae89c64b6e91e..aeb1abbadabb3 100644 --- a/doc/source/install.rst +++ b/doc/source/install.rst @@ -228,7 +228,7 @@ Optional Dependencies ~~~~~~~~~~~~~~~~~~~~~ * `Cython `__: Only necessary to build development - version. Version 0.23 or higher. + version. Version 0.24 or higher. * `SciPy `__: miscellaneous statistical functions, Version 0.14.0 or higher * `xarray `__: pandas like handling for > 2 dims, needed for converting Panels to xarray objects. Version 0.7.0 or higher is recommended. * `PyTables `__: necessary for HDF5-based storage. Version 3.0.0 or higher required, Version 3.2.1 or higher highly recommended. diff --git a/doc/source/whatsnew/v0.22.0.txt b/doc/source/whatsnew/v0.22.0.txt index 5e605ecb7d8d5..fd37f269c2f83 100644 --- a/doc/source/whatsnew/v0.22.0.txt +++ b/doc/source/whatsnew/v0.22.0.txt @@ -83,10 +83,6 @@ Other Enhancements Backwards incompatible API changes ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- :func:`Series.fillna` now raises a ``TypeError`` instead of a ``ValueError`` when passed a list, tuple or DataFrame as a ``value`` (:issue:`18293`) -- :func:`pandas.DataFrame.merge` no longer casts a ``float`` column to ``object`` when merging on ``int`` and ``float`` columns (:issue:`16572`) -- The default NA value for :class:`UInt64Index` has changed from 0 to ``NaN``, which impacts methods that mask with NA, such as ``UInt64Index.where()`` (:issue:`18398`) - .. _whatsnew_0220.api_breaking.deps: Dependencies have increased minimum versions @@ -104,8 +100,6 @@ If installed, we now require: +-----------------+-----------------+----------+ - - .. _whatsnew_0220.api: Other API Changes @@ -129,6 +123,10 @@ Other API Changes - :func:`DataFrame.from_items` provides a more informative error message when passed scalar values (:issue:`17312`) - When created with duplicate labels, ``MultiIndex`` now raises a ``ValueError``. (:issue:`17464`) - Building from source now explicity requires ``setuptools`` in ``setup.py`` (:issue:`18113`) +- :func:`Series.fillna` now raises a ``TypeError`` instead of a ``ValueError`` when passed a list, tuple or DataFrame as a ``value`` (:issue:`18293`) +- :func:`pandas.DataFrame.merge` no longer casts a ``float`` column to ``object`` when merging on ``int`` and ``float`` columns (:issue:`16572`) +- The default NA value for :class:`UInt64Index` has changed from 0 to ``NaN``, which impacts methods that mask with NA, such as ``UInt64Index.where()`` (:issue:`18398`) +- Building pandas for development now requires ``cython >= 0.24`` (:issue:`18613`) .. _whatsnew_0220.deprecations: diff --git a/setup.py b/setup.py index 57131255884de..004f111115079 100755 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ def is_platform_mac(): return sys.platform == 'darwin' -min_cython_ver = '0.23' +min_cython_ver = '0.24' try: import Cython ver = Cython.__version__