ARROW-4024: [Python] Raise minimal Cython version to 0.29

This commit is contained in:
Korn, Uwe authored and Wes McKinney committed 2019-02-09 13:39:25 -06:00
1 parent 84cefdc432
commit 3fa306ec76
3 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -15,10 +15,10 @@
# specific language governing permissions and limitations
# under the License.
cython
cython>=0.29.0
cloudpickle
hypothesis
numpy
numpy>=1.14
pandas
pytest
setuptools
+1 -1
View File
@@ -16,4 +16,4 @@
# under the License.
[build-system]
requires = ["setuptools", "wheel", "setuptools_scm", "cython >= 0.27"]
requires = ["setuptools", "wheel", "setuptools_scm", "cython >= 0.29"]
+3 -3
View File
@@ -42,8 +42,8 @@ from distutils import sysconfig
# Check if we're running 64-bit Python
is_64_bit = sys.maxsize > 2**32
if Cython.__version__ < '0.27':
raise Exception('Please upgrade to Cython 0.27 or newer')
if Cython.__version__ < '0.29':
raise Exception('Please upgrade to Cython 0.29 or newer')
setup_dir = os.path.abspath(os.path.dirname(__file__))
@@ -565,7 +565,7 @@ setup(
'write_to': os.path.join(scm_version_write_to_prefix,
'pyarrow/_generated_version.py')
},
setup_requires=['setuptools_scm', 'cython >= 0.27'] + setup_requires,
setup_requires=['setuptools_scm', 'cython >= 0.29'] + setup_requires,
install_requires=install_requires,
tests_require=['pytest', 'pandas', 'hypothesis',
'pathlib2; python_version < "3.4"'],