From 8be5f9c6b41ddd840939602016811aa9c739f0a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Cumplido?= Date: Thu, 10 Oct 2024 12:01:08 +0200 Subject: [PATCH] GH-43846: [Python][Packaging] Remove numpy dependency from pyarrow packaging (#44148) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## WIP Creating the PR to validate if / what are the CI failures ### Rationale for this change Once the issue has been merged: - https://github.com/apache/arrow/issues/25118 We do not require numpy as a pyarrow dependency. ### What changes are included in this PR? Remove numpy as a required dependency ### Are these changes tested? Via CI ### Are there any user-facing changes? Yes, pyarrow won't install numpy as a required dependency. * GitHub Issue: #43846 Authored-by: Raúl Cumplido Signed-off-by: Raúl Cumplido --- docs/source/python/install.rst | 5 +---- python/pyproject.toml | 3 --- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/docs/source/python/install.rst b/docs/source/python/install.rst index 9727a68f7424b..33355b64159f8 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**. diff --git a/python/pyproject.toml b/python/pyproject.toml index 932210044399e..8748fe4052be1 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"}