@@ -1,4 +1,4 @@
-From 65db03f03dbb61172c6eea8b34d11ea9eb0c6d77 Mon Sep 17 00:00:00 2001
+From 9e7271e0e26ab3c2d2ac500b8d7f8fbad7fa7ea3 Mon Sep 17 00:00:00 2001
From: Gyorgy Sarvari <skandigraun@gmail.com>
Date: Mon, 10 Mar 2025 13:52:11 +0100
Subject: [PATCH] BLD: add option to specify numpy header location
@@ -21,22 +21,24 @@ Upstream-Status: Submitted [https://github.com/pandas-dev/pandas/pull/61095]
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
- meson.options | 1 +
- pandas/meson.build | 12 +++++++++---
+ meson.options | 1 +
+ pandas/meson.build | 12 +++++++++---
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/meson.options b/meson.options
+index 90fec2b..ecb5456 100644
--- a/meson.options
+++ b/meson.options
-@@ -4,3 +4,4 @@
+@@ -4,3 +4,4 @@ option(
value: false,
description: 'Enable UBSan checks beyond the default `undefined` set on the hand-written C/C++ sources. Cython-generated code is excluded because its codegen would drown the results in noise. Only meaningful together with -Db_sanitize=undefined.',
)
+option('numpy_inc_dir', type : 'string', description : 'The absolute path to the numpy headers')
diff --git a/pandas/meson.build b/pandas/meson.build
+index eb23344..d81c9e0 100644
--- a/pandas/meson.build
+++ b/pandas/meson.build
-@@ -4,17 +4,23 @@
+@@ -4,17 +4,23 @@ incdir_numpy = run_command(
'-c',
'''
import os
similarity index 94%
rename from meta-python/recipes-devtools/python/python3-pandas_3.1.1.bb
rename to meta-python/recipes-devtools/python/python3-pandas_3.1.2.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e98642e1210ade884e5254ab18d55b7d"
SRC_URI:append:class-target = " file://0001-BLD-add-option-to-specify-numpy-header-location.patch "
-SRC_URI[sha256sum] = "05fed3e3b7c99b226f160e29d7d6cb7ef39638c758cbfe42b3f24ba34f04b859"
+SRC_URI[sha256sum] = "66c6613dbc2b5e47c1e716d8b74e78849e19ec8ef61b60d4752e725bf61e758b"
CVE_PRODUCT = "pandas"
Upgrade to release 3.1.2: Fixed regressions: - Fixed a regression in arrays.SparseArray arithmetic with a timedelta64 scalar in a unit pandas does not support, such as np.timedelta64(1, "D"), raising TypeError (GH 71872) - Fixed a regression in read_csv() returning flat columns instead of a MultiIndex for tuple names on files of 5 MB or more (GH 71882) - Fixed a regression in read_csv() with engine="pyarrow" and parse_dates converting a non-date index_col (e.g. integers) to strings (GH 71873) - Fixed a regression in read_csv(), read_json() and read_xml() raising "ValueError: I/O operation on closed file" when reading from a stream that closes itself once exhausted, such as a requests Response.raw object (GH 71983) - Fixed a regression in testing.assert_frame_equal(), testing.assert_series_equal() and the other assertion functions, where the failure message rounded float values to display.precision, so differing values could look identical (GH 71509) - Fixed a regression in CategoricalIndex.__contains__() returning wrong results when the categories are constructed from a range; values present in the index could be reported missing and unused categories reported as present (GH 72247) - Fixed a regression in DataFrame.ewm() and Series.ewm() with adjust=False and ignore_na=False returning incorrect results for data containing NaN when com=1 (equivalently span=3, alpha=0.5, or halflife=1) (GH 31178) - Fixed a regression in DataFrame.plot() and Series.plot() raising ConversionError when plotting timezone-aware datetime data containing missing values (GH 71879) - Fixed a regression in Series.sort_values() converting object dtype holding strings to str dtype when the values were not already sorted, and raising UnicodeEncodeError for strings containing lone surrogates; sorting now preserves object dtype as in pandas 2.x (GH 71978) - Fixed a regression in Timestamp.strftime() raising AttributeError instead of TypeError when format is not a string (GH 71914) - Fixed a regression in fillna() on arrays.DatetimeArray, arrays.TimedeltaArray and arrays.PeriodArray not raising on an invalid fill value when the array has no missing values (GH 36466) Bug fixes: - Fixed SparseArray.from_indices() raising on datetime64 or timedelta64 data in a unit pandas does not support, and silently accepting unsorted, duplicate or negative indices with kind="block" (GH 71872) Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> --- ...add-option-to-specify-numpy-header-location.patch | 12 +++++++----- ...thon3-pandas_3.1.1.bb => python3-pandas_3.1.2.bb} | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) rename meta-python/recipes-devtools/python/{python3-pandas_3.1.1.bb => python3-pandas_3.1.2.bb} (94%)