You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by we...@apache.org on 2019/02/09 21:04:58 UTC

[arrow] branch master updated: ARROW-4024: [Python] Raise minimal Cython version to 0.29

This is an automated email from the ASF dual-hosted git repository.

wesm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 35c3e5e  ARROW-4024: [Python] Raise minimal Cython version to 0.29
35c3e5e is described below

commit 35c3e5e8aa3fb169b69b8199ba944401ff215dc3
Author: Korn, Uwe <Uw...@blue-yonder.com>
AuthorDate: Sat Feb 9 15:04:51 2019 -0600

    ARROW-4024: [Python] Raise minimal Cython version to 0.29
    
    Author: Korn, Uwe <Uw...@blue-yonder.com>
    
    Closes #3590 from xhochy/ARROW-4024 and squashes the following commits:
    
    3fa306ec7 <Korn, Uwe> ARROW-4024:  Raise minimal Cython version to 0.29
---
 ci/conda_env_python.yml | 4 ++--
 python/pyproject.toml   | 2 +-
 python/setup.py         | 6 +++---
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/ci/conda_env_python.yml b/ci/conda_env_python.yml
index b51f5c3..e9ea35d 100644
--- a/ci/conda_env_python.yml
+++ b/ci/conda_env_python.yml
@@ -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
diff --git a/python/pyproject.toml b/python/pyproject.toml
index 35d1694..712647e 100644
--- a/python/pyproject.toml
+++ b/python/pyproject.toml
@@ -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"]
diff --git a/python/setup.py b/python/setup.py
index b10f4e3..e4a7936 100755
--- a/python/setup.py
+++ b/python/setup.py
@@ -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"'],