From 2a52bce6d84c30be864e676e538e9613a28f8aab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Cumplido?= Date: Tue, 17 Sep 2024 13:04:01 +0200 Subject: [PATCH 1/2] GH-43846: [Python][Packaging] Remove numpy dependency from pyarrow packaging --- python/pyproject.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/python/pyproject.toml b/python/pyproject.toml index 93221004439..8748fe4052b 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -35,9 +35,6 @@ build-backend = "setuptools.build_meta" name = "pyarrow" dynamic = ["version"] requires-python = ">=3.9" -dependencies = [ - "numpy >= 1.16.6" -] description = "Python library for Apache Arrow" readme = {file = "README.md", content-type = "text/markdown"} license = {text = "Apache Software License"} From 54b99e1f10ff37321655614ab968f2b29ea2c178 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Cumplido?= Date: Thu, 3 Oct 2024 16:24:38 +0200 Subject: [PATCH 2/2] Update docs to move Numpy to optional dependencies instead of Required dependencies --- docs/source/python/install.rst | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docs/source/python/install.rst b/docs/source/python/install.rst index 9727a68f742..33355b64159 100644 --- a/docs/source/python/install.rst +++ b/docs/source/python/install.rst @@ -71,12 +71,9 @@ See :ref:`python-development`. Dependencies ------------ -Required dependency - -* **NumPy 1.16.6** or higher. - Optional dependencies +* **NumPy 1.16.6** or higher. * **pandas 1.0** or higher, * **cffi**.