Skip to content

Commit 14e4815

Browse files
yarikopticjreback
authored andcommitted
BF: boost min cython to 0.23
closes pandas-dev#14699 closes pandas-dev#14831 closes pandas-dev#14508
1 parent 96b171a commit 14e4815

10 files changed

+24
-8
lines changed

ci/install_travis.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ if [ "$BUILD_TEST" ]; then
107107

108108
# build testing
109109
pip uninstall --yes cython
110-
pip install cython==0.19.1
110+
pip install cython==0.23
111111
( python setup.py build_ext --inplace && python setup.py develop ) || true
112112

113113
else

ci/requirements-2.7.build

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
python-dateutil=2.4.1
22
pytz=2013b
33
numpy
4-
cython=0.19.1
4+
cython=0.23

ci/requirements-2.7_COMPAT.build

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
numpy=1.7.1
2-
cython=0.19.1
2+
cython=0.23
33
dateutil=1.5
44
pytz=2013b

ci/requirements-2.7_LOCALE.build

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
python-dateutil
22
pytz=2013b
33
numpy=1.7.1
4-
cython=0.19.1
4+
cython=0.23

doc/source/install.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ Optional Dependencies
243243
~~~~~~~~~~~~~~~~~~~~~
244244

245245
* `Cython <http://www.cython.org>`__: Only necessary to build development
246-
version. Version 0.19.1 or higher.
246+
version. Version 0.23 or higher.
247247
* `SciPy <http://www.scipy.org>`__: miscellaneous statistical functions
248248
* `xarray <http://xarray.pydata.org>`__: pandas like handling for > 2 dims, needed for converting Panels to xarray objects. Version 0.7.0 or higher is recommended.
249249
* `PyTables <http://www.pytables.org>`__: necessary for HDF5-based storage. Version 3.0.0 or higher required, Version 3.2.1 or higher highly recommended.

doc/source/whatsnew/v0.16.1.txt

100755100644
File mode changed.

doc/source/whatsnew/v0.17.1.txt

100755100644
File mode changed.

doc/source/whatsnew/v0.20.0.txt

+18-2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ users upgrade to this version.
99

1010
Highlights include:
1111

12+
- Building pandas for development now requires ``cython >= 0.23`` (:issue:`14831`)
1213

1314
Check the :ref:`API Changes <whatsnew_0200.api_breaking>` and :ref:`deprecations <whatsnew_0200.deprecations>` before updating.
1415

@@ -54,7 +55,7 @@ Other enhancements
5455
- New ``UnsortedIndexError`` (subclass of ``KeyError``) raised when indexing/slicing into an
5556
unsorted MultiIndex (:issue:`11897`). This allows differentiation between errors due to lack
5657
of sorting or an incorrect key. See :ref:`here <advanced.unsorted>`
57-
58+
5859
- ``pd.cut`` and ``pd.qcut`` now support datetime64 and timedelta64 dtypes (issue:`14714`)
5960
- ``Series`` provides a ``to_excel`` method to output Excel files (:issue:`8825`)
6061
- The ``usecols`` argument in ``pd.read_csv`` now accepts a callable function as a value (:issue:`14154`)
@@ -119,4 +120,19 @@ Performance Improvements
119120
Bug Fixes
120121
~~~~~~~~~
121122

122-
- Bug in ``astype()`` where ``inf`` values were incorrectly converted to integers. Now raises error now with ``astype()`` for Series and DataFrames (:issue:`14265`)
123+
- Bug in ``astype()`` where ``inf`` values were incorrectly converted to integers. Now raises error now with ``astype()`` for Series and DataFrames (:issue:`14265`)
124+
125+
126+
127+
128+
129+
130+
131+
132+
133+
134+
135+
136+
137+
138+
- Require at least 0.23 version of cython to avoid problems with character encodings (:issue:`14699`)

doc/sphinxext/numpydoc/LICENSE.txt

100755100644
File mode changed.

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def is_platform_mac():
2727
import versioneer
2828
cmdclass = versioneer.get_cmdclass()
2929

30-
min_cython_ver = '0.19.1'
30+
min_cython_ver = '0.23'
3131
try:
3232
import Cython
3333
ver = Cython.__version__

0 commit comments

Comments
 (0)