Skip to content

Commit 35c3e5e

Browse files
xhochywesm
authored andcommitted
ARROW-4024: [Python] Raise minimal Cython version to 0.29
Author: Korn, Uwe <[email protected]> Closes apache#3590 from xhochy/ARROW-4024 and squashes the following commits: 3fa306e <Korn, Uwe> ARROW-4024: Raise minimal Cython version to 0.29
1 parent 3e841d7 commit 35c3e5e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

ci/conda_env_python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
cython
18+
cython>=0.29.0
1919
cloudpickle
2020
hypothesis
21-
numpy
21+
numpy>=1.14
2222
pandas
2323
pytest
2424
setuptools

python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
# under the License.
1717

1818
[build-system]
19-
requires = ["setuptools", "wheel", "setuptools_scm", "cython >= 0.27"]
19+
requires = ["setuptools", "wheel", "setuptools_scm", "cython >= 0.29"]

python/setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
# Check if we're running 64-bit Python
4343
is_64_bit = sys.maxsize > 2**32
4444

45-
if Cython.__version__ < '0.27':
46-
raise Exception('Please upgrade to Cython 0.27 or newer')
45+
if Cython.__version__ < '0.29':
46+
raise Exception('Please upgrade to Cython 0.29 or newer')
4747

4848
setup_dir = os.path.abspath(os.path.dirname(__file__))
4949

@@ -565,7 +565,7 @@ def has_ext_modules(foo):
565565
'write_to': os.path.join(scm_version_write_to_prefix,
566566
'pyarrow/_generated_version.py')
567567
},
568-
setup_requires=['setuptools_scm', 'cython >= 0.27'] + setup_requires,
568+
setup_requires=['setuptools_scm', 'cython >= 0.29'] + setup_requires,
569569
install_requires=install_requires,
570570
tests_require=['pytest', 'pandas', 'hypothesis',
571571
'pathlib2; python_version < "3.4"'],

0 commit comments

Comments
 (0)