From ff1668ae9e87887571addc4961852c0e0e3ac2f0c71f811c3668ebeeabec72ae Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Sat, 24 Feb 2024 09:06:49 +0000 Subject: [PATCH] Accepting request 1150083 from home:bnavigator:branches:science - Update to 15.0.1 ## Bug Fixes * [Python] Fix race condition in _pandas_api#_check_import (#39314) * [Python] Avoid leaking references to Numpy dtypes (#39636) * [Release] Update platform tags for macOS wheels to macosx_10_15 (#39657) * [Python][CI] Fix test failures with latest/nightly pandas (#39760) * [C#] Restore support for .NET 4.6.2 (#40008) * [Python] Make capsule name check more lenient (#39977) * [Python][FlightRPC] Release GIL in GeneratorStream (#40005) ## New Features and Improvements * [Python] Remove the use of pytest-lazy-fixture (#39850) * [Python][CI] Pin moto<5 for dask integration tests (#39881) * [Python] Fix tests for pandas with CoW / nightly integration tests (#40000) - Release 15.0.0 ## Bug Fixes * [C++][Python] Add a no-op kernel for dictionary_encode(dictionary) (#38349) * [Python] Fix S3FileSystem equals None segfault (#39276) * Fix TestArrowReaderAdHoc.ReadFloat16Files to use new uncompressed files (#38825) * [Python] Fix spelling (#38945) * [CI][Python] Update pandas tests failing on pandas nightly CI build (#39498) * [CI][JS] Force node 20 on JS build on arm64 to fix build issues (#39499) ## New Features and Improvements * [C++][Python] Add "Z" to the end of timestamp print string when tz defined (#39272) * [Python] Remove the legacy ParquetDataset custom python-based implementation (#39112) * [Python] add Table.to/from_struct_array (#38520) * [C++][Python] DLPack implementation for Arrow Arrays (producer) (#38472) * [Python] FixedSizeListArray.from_arrays supports mask parameter (#39396) * [C++][Python][R] Allow users to adjust S3 log level by environment variable (#38267) * [Python] Expose Parquet sorting metadata (#37665) * [C++][Python][Parquet] Implement Float16 logical type (#36073) * [Python] Make CacheOptions configurable from Python (#36627) * [Python][Parquet] Parquet Support write and validate Page CRC (#38360) * [Python][Dataset] Expose file size to python dataset (#37868) * [R] Allow code() to return package name prefix. (#38144) * [Python] Remove usage of pandas internals DatetimeTZBlock (#38321) * Add validation logic for offsets and values to arrow.array.ListArray.fromArrays (#38531) * [Python][Compute] Describe strptime format semantics (#38665) * [Python] Remove dead code in _reconstruct_block (#38714) * [Python] Fix append mode for cython 2 (#39027) * [Python] Add append mode for pyarrow.OsFile (#38820) * [Python] Extract libparquet requirements out of libarrow_python.so to new libarrow_python_parquet_encryption.so (#39316) * Create module info compiler plugin (#39135) * [Python] RecordBatchReader.from_stream constructor for objects implementing the Arrow PyCapsule protocol (#39218) * [Python] Pass in type to MapType.from_arrays (#39516) * [Python][CI] Skip failing dask tests: test_describe_empty and test_view (#39534) * [Python] NumPy 2.0 compat: remove usage of np.core (#39535) * [Packaging][Python] Add a numpy<2 pin to the install requirements for the 15.x release branch (#39538) OBS-URL: https://build.opensuse.org/request/show/1150083 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-pyarrow?expand=0&rev=21 --- apache-arrow-14.0.2.tar.gz | 3 -- apache-arrow-15.0.1.tar.gz | 3 ++ python-pyarrow.changes | 72 ++++++++++++++++++++++++++++++++++++++ python-pyarrow.spec | 12 +++---- 4 files changed, 80 insertions(+), 10 deletions(-) delete mode 100644 apache-arrow-14.0.2.tar.gz create mode 100644 apache-arrow-15.0.1.tar.gz diff --git a/apache-arrow-14.0.2.tar.gz b/apache-arrow-14.0.2.tar.gz deleted file mode 100644 index ae1a30e..0000000 --- a/apache-arrow-14.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:07cdb4da6795487c800526b2865c150ab7d80b8512a31793e6a7147c8ccd270f -size 20642865 diff --git a/apache-arrow-15.0.1.tar.gz b/apache-arrow-15.0.1.tar.gz new file mode 100644 index 0000000..0cfb52a --- /dev/null +++ b/apache-arrow-15.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a8b154a2870aa998019baeb22a6514477918a5831d4760a85b516cb4c9a3402a +size 21160142 diff --git a/python-pyarrow.changes b/python-pyarrow.changes index 897a432..7e3c709 100644 --- a/python-pyarrow.changes +++ b/python-pyarrow.changes @@ -1,3 +1,75 @@ +------------------------------------------------------------------- +Fri Feb 23 17:35:37 UTC 2024 - Ben Greiner + +- Update to 15.0.1 + ## Bug Fixes + * [Python] Fix race condition in _pandas_api#_check_import + (#39314) + * [Python] Avoid leaking references to Numpy dtypes (#39636) + * [Release] Update platform tags for macOS wheels to macosx_10_15 + (#39657) + * [Python][CI] Fix test failures with latest/nightly pandas + (#39760) + * [C#] Restore support for .NET 4.6.2 (#40008) + * [Python] Make capsule name check more lenient (#39977) + * [Python][FlightRPC] Release GIL in GeneratorStream (#40005) + ## New Features and Improvements + * [Python] Remove the use of pytest-lazy-fixture (#39850) + * [Python][CI] Pin moto<5 for dask integration tests (#39881) + * [Python] Fix tests for pandas with CoW / nightly integration + tests (#40000) +- Release 15.0.0 + ## Bug Fixes + * [C++][Python] Add a no-op kernel for + dictionary_encode(dictionary) (#38349) + * [Python] Fix S3FileSystem equals None segfault (#39276) + * Fix TestArrowReaderAdHoc.ReadFloat16Files to use new + uncompressed files (#38825) + * [Python] Fix spelling (#38945) + * [CI][Python] Update pandas tests failing on pandas nightly CI + build (#39498) + * [CI][JS] Force node 20 on JS build on arm64 to fix build issues + (#39499) + ## New Features and Improvements + * [C++][Python] Add "Z" to the end of timestamp print string when + tz defined (#39272) + * [Python] Remove the legacy ParquetDataset custom python-based + implementation (#39112) + * [Python] add Table.to/from_struct_array (#38520) + * [C++][Python] DLPack implementation for Arrow Arrays (producer) + (#38472) + * [Python] FixedSizeListArray.from_arrays supports mask parameter + (#39396) + * [C++][Python][R] Allow users to adjust S3 log level by + environment variable (#38267) + * [Python] Expose Parquet sorting metadata (#37665) + * [C++][Python][Parquet] Implement Float16 logical type (#36073) + * [Python] Make CacheOptions configurable from Python (#36627) + * [Python][Parquet] Parquet Support write and validate Page CRC + (#38360) + * [Python][Dataset] Expose file size to python dataset (#37868) + * [R] Allow code() to return package name prefix. (#38144) + * [Python] Remove usage of pandas internals DatetimeTZBlock + (#38321) + * Add validation logic for offsets and values to + arrow.array.ListArray.fromArrays (#38531) + * [Python][Compute] Describe strptime format semantics (#38665) + * [Python] Remove dead code in _reconstruct_block (#38714) + * [Python] Fix append mode for cython 2 (#39027) + * [Python] Add append mode for pyarrow.OsFile (#38820) + * [Python] Extract libparquet requirements out of + libarrow_python.so to new libarrow_python_parquet_encryption.so + (#39316) + * Create module info compiler plugin (#39135) + * [Python] RecordBatchReader.from_stream constructor for objects + implementing the Arrow PyCapsule protocol (#39218) + * [Python] Pass in type to MapType.from_arrays (#39516) + * [Python][CI] Skip failing dask tests: test_describe_empty and + test_view (#39534) + * [Python] NumPy 2.0 compat: remove usage of np.core (#39535) + * [Packaging][Python] Add a numpy<2 pin to the install + requirements for the 15.x release branch (#39538) + ------------------------------------------------------------------- Mon Jan 15 20:42:25 UTC 2024 - Ben Greiner diff --git a/python-pyarrow.spec b/python-pyarrow.spec index 22c7482..7fc3835 100644 --- a/python-pyarrow.spec +++ b/python-pyarrow.spec @@ -19,16 +19,16 @@ %bcond_with xsimd %define plainpython python Name: python-pyarrow -Version: 14.0.2 +Version: 15.0.1 Release: 0 Summary: Python library for Apache Arrow License: Apache-2.0 AND BSD-3-Clause AND BSD-2-Clause AND MIT URL: https://arrow.apache.org/ Source0: https://github.com/apache/arrow/archive/apache-arrow-%{version}.tar.gz Source99: python-pyarrow.rpmlintrc -BuildRequires: %{python_module Cython >= 0.29.31 with %python-Cython < 3} +BuildRequires: %{python_module Cython >= 0.29.31} BuildRequires: %{python_module devel >= 3.8} -BuildRequires: %{python_module numpy-devel >= 1.16.6} +BuildRequires: %{python_module numpy-devel >= 1.16.6 with %python-numpy-devel < 2} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} @@ -50,7 +50,7 @@ BuildRequires: cmake(re2) BuildRequires: pkgconfig(bzip2) >= 1.0.8 BuildRequires: pkgconfig(gmock) >= 1.10 BuildRequires: pkgconfig(gtest) >= 1.10 -Requires: python-numpy >= 1.16.6 +Requires: (python-numpy >= 1.16.6 with python-numpy < 2) # SECTION test requirements BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module pandas} @@ -123,10 +123,8 @@ pushd python popd %check -# Unexpected additional warning -donttest="test_env_var" # flaky -donttest="$donttest or test_total_bytes_allocated" +donttest="test_total_bytes_allocated" %ifarch %{ix86} %{arm32} # tests conversion to 64bit datatypes donttest="$donttest or test_conversion"