pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-apache-arrow: Update to 15.0.0



Module Name:	pkgsrc-wip
Committed By:	Matthew Danielson <matthewd%fastmail.us@localhost>
Pushed By:	matthewd
Date:		Tue Jan 30 06:40:23 2024 -0800
Changeset:	986859c22ac5e23565eb8790777453d53228b8b3

Modified Files:
	py-apache-arrow/Makefile
	py-apache-arrow/PLIST
	py-apache-arrow/distinfo
	py-apache-arrow/patches/patch-python_setup.py

Log Message:
py-apache-arrow: Update to 15.0.0

Changes same as to apache-arrow: Update to 15.0.0

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=986859c22ac5e23565eb8790777453d53228b8b3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-apache-arrow/Makefile                      | 12 +++++++-----
 py-apache-arrow/PLIST                         | 18 ++++++++++++++----
 py-apache-arrow/distinfo                      |  8 ++++----
 py-apache-arrow/patches/patch-python_setup.py |  6 ++++--
 4 files changed, 29 insertions(+), 15 deletions(-)

diffs:
diff --git a/py-apache-arrow/Makefile b/py-apache-arrow/Makefile
index 77fda94a7b..be37683ca5 100644
--- a/py-apache-arrow/Makefile
+++ b/py-apache-arrow/Makefile
@@ -26,17 +26,19 @@ TEST_DEPENDS+=	${PYPKGPREFIX}-test-lazy-fixture>=0.6.3:../../devel/py-test-lazy-
 TEST_DEPENDS+=	${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
 USE_TOOLS=	cmake gmake pkg-config
 
-MAKE_ENV+=	VERBOSE=1
 MAKE_ENV+=	PYARROW_PARALLEL=${_MAKE_JOBS_N}
 WHEELFILE?=	${WRKSRC}/python/dist/pyarrow-${APACHE_ARROW_VERSION}-cp${_PYTHON_VERSION}-cp${_PYTHON_VERSION}-linux_x86_64.whl
 
 # libarrow_python.so: ORIGIN Doesn't get passed through correclty
-SUBST_CLASSES+=         origin
-SUBST_STAGE.origin=     pre-configure
-SUBST_FILES.origin=     python/CMakeLists.txt
-SUBST_SED.origin=       -e 's|\\$$ORIGIN|${PREFIX}/lib/python${PYVERSSUFFIX}/site-packages/pyarrow|g'
+SUBST_CLASSES+=		origin
+SUBST_STAGE.origin=	pre-configure
+SUBST_FILES.origin=	python/CMakeLists.txt
+SUBST_SED.origin=	-e 's|\\$$ORIGIN|${PREFIX}/lib/python${PYVERSSUFFIX}/site-packages/pyarrow|g'
 
+CONFIGURE_ENV+=	SETUPTOOLS_SCM_PRETEND_VERSION=${APACHE_ARROW_VERSION}
+MAKE_ENV+=	SETUPTOOLS_SCM_PRETEND_VERSION=${APACHE_ARROW_VERSION}
 do-build:
+	${RM} -rf ${WRKSRC}/python/.eggs
 	${RUN} cd ${WRKSRC}/python && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} setup.py build_ext --build-type=relwithdebinfo bdist_wheel
 
 do-test:
diff --git a/py-apache-arrow/PLIST b/py-apache-arrow/PLIST
index e40845ad25..082e680cb0 100644
--- a/py-apache-arrow/PLIST
+++ b/py-apache-arrow/PLIST
@@ -31,6 +31,7 @@ ${PYSITELIB}/pyarrow/_dataset_parquet.pxd
 ${PYSITELIB}/pyarrow/_dataset_parquet.pyx
 ${PYSITELIB}/pyarrow/_dataset_parquet.so
 ${PYSITELIB}/pyarrow/_dataset_parquet_encryption.pyx
+${PYSITELIB}/pyarrow/_dlpack.pxi
 ${PYSITELIB}/pyarrow/_feather.pyx
 ${PYSITELIB}/pyarrow/_feather.so
 ${PYSITELIB}/pyarrow/_flight.pyx
@@ -109,6 +110,7 @@ ${PYSITELIB}/pyarrow/include/arrow/acero/accumulation_queue.h
 ${PYSITELIB}/pyarrow/include/arrow/acero/aggregate_node.h
 ${PYSITELIB}/pyarrow/include/arrow/acero/api.h
 ${PYSITELIB}/pyarrow/include/arrow/acero/asof_join_node.h
+${PYSITELIB}/pyarrow/include/arrow/acero/backpressure_handler.h
 ${PYSITELIB}/pyarrow/include/arrow/acero/benchmark_util.h
 ${PYSITELIB}/pyarrow/include/arrow/acero/bloom_filter.h
 ${PYSITELIB}/pyarrow/include/arrow/acero/exec_plan.h
@@ -124,8 +126,10 @@ ${PYSITELIB}/pyarrow/include/arrow/acero/query_context.h
 ${PYSITELIB}/pyarrow/include/arrow/acero/schema_util.h
 ${PYSITELIB}/pyarrow/include/arrow/acero/task_util.h
 ${PYSITELIB}/pyarrow/include/arrow/acero/test_nodes.h
+${PYSITELIB}/pyarrow/include/arrow/acero/time_series_util.h
 ${PYSITELIB}/pyarrow/include/arrow/acero/tpch_node.h
 ${PYSITELIB}/pyarrow/include/arrow/acero/type_fwd.h
+${PYSITELIB}/pyarrow/include/arrow/acero/unmaterialized_table.h
 ${PYSITELIB}/pyarrow/include/arrow/acero/util.h
 ${PYSITELIB}/pyarrow/include/arrow/acero/visibility.h
 ${PYSITELIB}/pyarrow/include/arrow/api.h
@@ -157,6 +161,8 @@ ${PYSITELIB}/pyarrow/include/arrow/buffer_builder.h
 ${PYSITELIB}/pyarrow/include/arrow/builder.h
 ${PYSITELIB}/pyarrow/include/arrow/c/abi.h
 ${PYSITELIB}/pyarrow/include/arrow/c/bridge.h
+${PYSITELIB}/pyarrow/include/arrow/c/dlpack.h
+${PYSITELIB}/pyarrow/include/arrow/c/dlpack_abi.h
 ${PYSITELIB}/pyarrow/include/arrow/c/helpers.h
 ${PYSITELIB}/pyarrow/include/arrow/chunk_resolver.h
 ${PYSITELIB}/pyarrow/include/arrow/chunked_array.h
@@ -169,6 +175,7 @@ ${PYSITELIB}/pyarrow/include/arrow/compute/cast.h
 ${PYSITELIB}/pyarrow/include/arrow/compute/exec.h
 ${PYSITELIB}/pyarrow/include/arrow/compute/expression.h
 ${PYSITELIB}/pyarrow/include/arrow/compute/function.h
+${PYSITELIB}/pyarrow/include/arrow/compute/function_options.h
 ${PYSITELIB}/pyarrow/include/arrow/compute/kernel.h
 ${PYSITELIB}/pyarrow/include/arrow/compute/key_hash.h
 ${PYSITELIB}/pyarrow/include/arrow/compute/key_map.h
@@ -341,6 +348,7 @@ ${PYSITELIB}/pyarrow/include/arrow/util/async_util.h
 ${PYSITELIB}/pyarrow/include/arrow/util/base64.h
 ${PYSITELIB}/pyarrow/include/arrow/util/basic_decimal.h
 ${PYSITELIB}/pyarrow/include/arrow/util/benchmark_util.h
+${PYSITELIB}/pyarrow/include/arrow/util/binary_view_util.h
 ${PYSITELIB}/pyarrow/include/arrow/util/bit_block_counter.h
 ${PYSITELIB}/pyarrow/include/arrow/util/bit_run_reader.h
 ${PYSITELIB}/pyarrow/include/arrow/util/bit_stream_utils.h
@@ -359,11 +367,7 @@ ${PYSITELIB}/pyarrow/include/arrow/util/bpacking_avx2.h
 ${PYSITELIB}/pyarrow/include/arrow/util/bpacking_avx512.h
 ${PYSITELIB}/pyarrow/include/arrow/util/bpacking_default.h
 ${PYSITELIB}/pyarrow/include/arrow/util/bpacking_neon.h
-${PYSITELIB}/pyarrow/include/arrow/util/bpacking_simd128_generated.h
-${PYSITELIB}/pyarrow/include/arrow/util/bpacking_simd256_generated.h
-${PYSITELIB}/pyarrow/include/arrow/util/bpacking_simd512_generated.h
 ${PYSITELIB}/pyarrow/include/arrow/util/byte_size.h
-${PYSITELIB}/pyarrow/include/arrow/util/byte_stream_split.h
 ${PYSITELIB}/pyarrow/include/arrow/util/cancel.h
 ${PYSITELIB}/pyarrow/include/arrow/util/checked_cast.h
 ${PYSITELIB}/pyarrow/include/arrow/util/compare.h
@@ -377,9 +381,11 @@ ${PYSITELIB}/pyarrow/include/arrow/util/crc32.h
 ${PYSITELIB}/pyarrow/include/arrow/util/debug.h
 ${PYSITELIB}/pyarrow/include/arrow/util/decimal.h
 ${PYSITELIB}/pyarrow/include/arrow/util/delimiting.h
+${PYSITELIB}/pyarrow/include/arrow/util/dict_util.h
 ${PYSITELIB}/pyarrow/include/arrow/util/dispatch.h
 ${PYSITELIB}/pyarrow/include/arrow/util/double_conversion.h
 ${PYSITELIB}/pyarrow/include/arrow/util/endian.h
+${PYSITELIB}/pyarrow/include/arrow/util/float16.h
 ${PYSITELIB}/pyarrow/include/arrow/util/formatting.h
 ${PYSITELIB}/pyarrow/include/arrow/util/functional.h
 ${PYSITELIB}/pyarrow/include/arrow/util/future.h
@@ -391,6 +397,7 @@ ${PYSITELIB}/pyarrow/include/arrow/util/io_util.h
 ${PYSITELIB}/pyarrow/include/arrow/util/iterator.h
 ${PYSITELIB}/pyarrow/include/arrow/util/key_value_metadata.h
 ${PYSITELIB}/pyarrow/include/arrow/util/launder.h
+${PYSITELIB}/pyarrow/include/arrow/util/list_util.h
 ${PYSITELIB}/pyarrow/include/arrow/util/logging.h
 ${PYSITELIB}/pyarrow/include/arrow/util/macros.h
 ${PYSITELIB}/pyarrow/include/arrow/util/map.h
@@ -734,6 +741,9 @@ ${PYSITELIB}/pyarrow/tests/test_dataset_encryption.pyo
 ${PYSITELIB}/pyarrow/tests/test_deprecations.py
 ${PYSITELIB}/pyarrow/tests/test_deprecations.pyc
 ${PYSITELIB}/pyarrow/tests/test_deprecations.pyo
+${PYSITELIB}/pyarrow/tests/test_dlpack.py
+${PYSITELIB}/pyarrow/tests/test_dlpack.pyc
+${PYSITELIB}/pyarrow/tests/test_dlpack.pyo
 ${PYSITELIB}/pyarrow/tests/test_exec_plan.py
 ${PYSITELIB}/pyarrow/tests/test_exec_plan.pyc
 ${PYSITELIB}/pyarrow/tests/test_exec_plan.pyo
diff --git a/py-apache-arrow/distinfo b/py-apache-arrow/distinfo
index 77928af1da..b151191de7 100644
--- a/py-apache-arrow/distinfo
+++ b/py-apache-arrow/distinfo
@@ -1,6 +1,6 @@
 $NetBSD$
 
-BLAKE2s (apache-arrow-14.0.1.tar.gz) = d841ca7299f8ea118e9b55826c34a353ee995936c6a88da001de149992274381
-SHA512 (apache-arrow-14.0.1.tar.gz) = 31d19f0ca80349f63db74bae813256b47907f85725a9bf01ef6f32406e79828ebb4701faedb52696b6a5b3bb89ad4e136485fd5eb35d396dd42147c11d4d2713
-Size (apache-arrow-14.0.1.tar.gz) = 20968461 bytes
-SHA1 (patch-python_setup.py) = e86d168938701b53607d98060b17320c44a33b5e
+BLAKE2s (apache-arrow-15.0.0.tar.gz) = 04d54ce9da23d76b9cfc650e0c39af3b85340c9092368b08587c99c92b9c7eff
+SHA512 (apache-arrow-15.0.0.tar.gz) = d5dccaa0907b0e6f2a460e32ae75091942dcb70b51db4aefe2767ee8d99882694607b723a9c06898dda3938d8eb498258d7f9aad11054665b6ea9c2fbaeafa74
+Size (apache-arrow-15.0.0.tar.gz) = 21491996 bytes
+SHA1 (patch-python_setup.py) = 31c7a4be20d9e6d7d3e3163f9e416b726518ed48
diff --git a/py-apache-arrow/patches/patch-python_setup.py b/py-apache-arrow/patches/patch-python_setup.py
index 3894c0853e..26332cb046 100644
--- a/py-apache-arrow/patches/patch-python_setup.py
+++ b/py-apache-arrow/patches/patch-python_setup.py
@@ -1,13 +1,15 @@
 $NetBSD$
 
---- python/setup.py.orig	2023-11-19 21:12:52.091720220 +0000
+Setuptools will try and download these versions... tell it not to.
+
+--- python/setup.py.orig	2024-01-30 14:19:14.017798084 +0000
 +++ python/setup.py
 @@ -492,7 +492,7 @@ setup(
                                   'pyarrow/_generated_version.py'),
          'version_scheme': guess_next_dev_version
      },
 -    setup_requires=['setuptools_scm < 8.0.0', 'cython >= 0.29.31'] + setup_requires,
-+    setup_requires=['setuptools_scm < 9.0.0', 'cython >= 0.29.31'] + setup_requires,
++    setup_requires=[],
      install_requires=install_requires,
      tests_require=['pytest', 'pandas', 'hypothesis'],
      python_requires='>=3.8',


Home | Main Index | Thread Index | Old Index