jorisvandenbossche opened a new issue, #43532: URL: https://github.com/apache/arrow/issues/43532
See https://setuptools.pypa.io/en/latest/pkg_resources.html We currently use this to get the numpy include directories: https://github.com/apache/arrow/blob/8068554a5d18129121f824978c7ee4a9c430640b/python/setup.py#L109 The general deprecation of `pkg_resources` points to use `importlib` instead (https://docs.python.org/3.11/library/importlib.resources.html#module-importlib.resources), but for this specific usage I think we just should use `numpy.get_include()` (https://numpy.org/devdocs/reference/generated/numpy.get_include.html) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@arrow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org